mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
chore: release 1.2.2
This commit is contained in:
parent
7e5d15ac0f
commit
0d1e400d02
9 changed files with 23 additions and 17 deletions
|
@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.2.2] - 2023-10-03
|
||||
### Fixed
|
||||
- Service provider information for Lichess and Keybase
|
||||
- Display data logic in claim toJSON
|
||||
|
||||
## [1.2.1] - 2023-09-23
|
||||
Bump necessary due to tag-related glitch in git forge
|
||||
|
||||
|
|
21
dist/doip.core.js
vendored
21
dist/doip.core.js
vendored
|
@ -3742,8 +3742,9 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
|
||||
return new ServiceProvider({
|
||||
about: {
|
||||
id: 'web',
|
||||
name: 'lichess'
|
||||
id: 'lichess',
|
||||
name: 'Lichess',
|
||||
homepage: 'https://lichess.org'
|
||||
},
|
||||
profile: {
|
||||
display: match[1],
|
||||
|
@ -5006,8 +5007,9 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
|
||||
return new ServiceProvider({
|
||||
about: {
|
||||
id: 'web',
|
||||
name: 'keybase'
|
||||
id: 'keybase',
|
||||
name: 'keybase',
|
||||
homepage: 'https://keybase.io'
|
||||
},
|
||||
profile: {
|
||||
display: match[1],
|
||||
|
@ -5598,15 +5600,13 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
let displayName = this._uri;
|
||||
let displayUrl = null;
|
||||
let displayServiceProviderName = null;
|
||||
let displayServiceProviderId = null;
|
||||
|
||||
if (this._status >= 200 && this._status < 300) {
|
||||
displayName = this._matches[0].profile.display;
|
||||
displayUrl = this._matches[0].profile.uri;
|
||||
displayServiceProviderName = this._matches[0].about.name;
|
||||
} else if (this._status === ClaimStatus.MATCHED && !this.isAmbiguous()) {
|
||||
if (!this.isAmbiguous() || (this._status >= 200 && this._status < 300)) {
|
||||
displayName = this._matches[0].profile.display;
|
||||
displayUrl = this._matches[0].profile.uri;
|
||||
displayServiceProviderName = this._matches[0].about.name;
|
||||
displayServiceProviderId = this._matches[0].about.id;
|
||||
}
|
||||
|
||||
return {
|
||||
|
@ -5618,7 +5618,8 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
display: {
|
||||
name: displayName,
|
||||
url: displayUrl,
|
||||
serviceProviderName: displayServiceProviderName
|
||||
serviceProviderName: displayServiceProviderName,
|
||||
serviceProviderId: displayServiceProviderId
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
dist/doip.core.min.js
vendored
2
dist/doip.core.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/doip.fetchers.js
vendored
2
dist/doip.fetchers.js
vendored
|
@ -2728,7 +2728,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.2.1';
|
||||
const version = '1.2.2';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
|
2
dist/doip.fetchers.min.js
vendored
2
dist/doip.fetchers.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/doip.fetchers.minimal.js
vendored
2
dist/doip.fetchers.minimal.js
vendored
|
@ -2698,7 +2698,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.2.1';
|
||||
const version = '1.2.2';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
|
2
dist/doip.fetchers.minimal.min.js
vendored
2
dist/doip.fetchers.minimal.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "doipjs",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "Decentralized Online Identity Proofs library in Node.js",
|
||||
"type": "module",
|
||||
"main": "./src/index.js",
|
||||
|
|
|
@ -22,4 +22,4 @@ limitations under the License.
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
export const version = '1.2.1'
|
||||
export const version = '1.2.2'
|
||||
|
|
Loading…
Reference in a new issue