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]
|
||||
|
||||
## [1.2.4] - 2023-10-04
|
||||
### Changed
|
||||
- Claim display information
|
||||
|
||||
## [1.2.3] - 2023-10-03
|
||||
### Fixed
|
||||
- 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}
|
||||
*/
|
||||
toJSON () {
|
||||
let displayName = this._uri;
|
||||
let displayUrl = null;
|
||||
let displayProfileName = this._uri;
|
||||
let displayProfileUrl = null;
|
||||
let displayProofUrl = null;
|
||||
let displayServiceProviderName = null;
|
||||
let displayServiceProviderId = null;
|
||||
|
||||
if (this._status >= ClaimStatus.MATCHED && this._matches.length > 0 && !this.isAmbiguous()) {
|
||||
displayName = this._matches[0].profile.display;
|
||||
displayUrl = this._matches[0].profile.uri;
|
||||
displayProfileName = this._matches[0].profile.display;
|
||||
displayProfileUrl = this._matches[0].profile.uri;
|
||||
displayProofUrl = this._matches[0].proof.request.uri;
|
||||
displayServiceProviderName = this._matches[0].about.name;
|
||||
displayServiceProviderId = this._matches[0].about.id;
|
||||
}
|
||||
|
@ -5617,8 +5619,9 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
matches: this._matches.map(x => x.toJSON()),
|
||||
status: this._status,
|
||||
display: {
|
||||
name: displayName,
|
||||
url: displayUrl,
|
||||
profileName: displayProfileName,
|
||||
profileUrl: displayProfileUrl,
|
||||
proofUrl: displayProofUrl,
|
||||
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.3';
|
||||
const version = '1.2.4';
|
||||
|
||||
/*
|
||||
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.3';
|
||||
const version = '1.2.4';
|
||||
|
||||
/*
|
||||
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.3",
|
||||
"version": "1.2.4",
|
||||
"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.3'
|
||||
export const version = '1.2.4'
|
||||
|
|
Loading…
Reference in a new issue