forked from Mirrors/doipjs
chore: release 1.2.4
This commit is contained in:
parent
fc0af3dd1d
commit
2dd18395dd
9 changed files with 20 additions and 13 deletions
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.2.4] - 2023-10-04
|
||||||
|
### Changed
|
||||||
|
- Claim display information
|
||||||
|
|
||||||
## [1.2.3] - 2023-10-03
|
## [1.2.3] - 2023-10-03
|
||||||
### Fixed
|
### Fixed
|
||||||
- Claim ambiguity logic
|
- Claim ambiguity logic
|
||||||
|
|
15
dist/doip.core.js
vendored
15
dist/doip.core.js
vendored
|
@ -5598,14 +5598,16 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
||||||
* @returns {object}
|
* @returns {object}
|
||||||
*/
|
*/
|
||||||
toJSON () {
|
toJSON () {
|
||||||
let displayName = this._uri;
|
let displayProfileName = this._uri;
|
||||||
let displayUrl = null;
|
let displayProfileUrl = null;
|
||||||
|
let displayProofUrl = null;
|
||||||
let displayServiceProviderName = null;
|
let displayServiceProviderName = null;
|
||||||
let displayServiceProviderId = null;
|
let displayServiceProviderId = null;
|
||||||
|
|
||||||
if (this._status >= ClaimStatus.MATCHED && this._matches.length > 0 && !this.isAmbiguous()) {
|
if (this._status >= ClaimStatus.MATCHED && this._matches.length > 0 && !this.isAmbiguous()) {
|
||||||
displayName = this._matches[0].profile.display;
|
displayProfileName = this._matches[0].profile.display;
|
||||||
displayUrl = this._matches[0].profile.uri;
|
displayProfileUrl = this._matches[0].profile.uri;
|
||||||
|
displayProofUrl = this._matches[0].proof.request.uri;
|
||||||
displayServiceProviderName = this._matches[0].about.name;
|
displayServiceProviderName = this._matches[0].about.name;
|
||||||
displayServiceProviderId = this._matches[0].about.id;
|
displayServiceProviderId = this._matches[0].about.id;
|
||||||
}
|
}
|
||||||
|
@ -5617,8 +5619,9 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
||||||
matches: this._matches.map(x => x.toJSON()),
|
matches: this._matches.map(x => x.toJSON()),
|
||||||
status: this._status,
|
status: this._status,
|
||||||
display: {
|
display: {
|
||||||
name: displayName,
|
profileName: displayProfileName,
|
||||||
url: displayUrl,
|
profileUrl: displayProfileUrl,
|
||||||
|
proofUrl: displayProofUrl,
|
||||||
serviceProviderName: displayServiceProviderName,
|
serviceProviderName: displayServiceProviderName,
|
||||||
serviceProviderId: displayServiceProviderId
|
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
|
* doip.js library version
|
||||||
* @constant {string}
|
* @constant {string}
|
||||||
*/
|
*/
|
||||||
const version = '1.2.3';
|
const version = '1.2.4';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 Yarmo Mackenbach
|
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
|
* doip.js library version
|
||||||
* @constant {string}
|
* @constant {string}
|
||||||
*/
|
*/
|
||||||
const version = '1.2.3';
|
const version = '1.2.4';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 Yarmo Mackenbach
|
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",
|
"name": "doipjs",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"description": "Decentralized Online Identity Proofs library in Node.js",
|
"description": "Decentralized Online Identity Proofs library in Node.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
|
|
|
@ -22,4 +22,4 @@ limitations under the License.
|
||||||
* doip.js library version
|
* doip.js library version
|
||||||
* @constant {string}
|
* @constant {string}
|
||||||
*/
|
*/
|
||||||
export const version = '1.2.3'
|
export const version = '1.2.4'
|
||||||
|
|
Loading…
Reference in a new issue