@sphereon/ssi-sdk-ext.did-utils
Advanced tools
Comparing version 0.12.2-next.2 to 0.12.2-next.3
@@ -282,7 +282,7 @@ "use strict"; | ||
try { | ||
return this.context.agent.resolveDid({ didUrl, options }); | ||
return yield this.context.agent.resolveDid({ didUrl, options }); | ||
} | ||
catch (error) { | ||
if (this.uniresolverFallback) { | ||
return new did_uni_client_1.UniResolver().resolve(didUrl, options); | ||
return yield (new did_uni_client_1.UniResolver()).resolve(didUrl, options); | ||
} | ||
@@ -289,0 +289,0 @@ throw error; |
{ | ||
"name": "@sphereon/ssi-sdk-ext.did-utils", | ||
"description": "DID Utils", | ||
"version": "0.12.2-next.2+3c7b21e", | ||
"version": "0.12.2-next.3+462b5e3", | ||
"source": "src/index.ts", | ||
@@ -14,3 +14,3 @@ "main": "dist/index.js", | ||
"@sphereon/did-uni-client": "^0.6.0", | ||
"@sphereon/ssi-sdk-ext.key-utils": "0.12.2-next.2+3c7b21e", | ||
"@sphereon/ssi-sdk-ext.key-utils": "0.12.2-next.3+462b5e3", | ||
"@veramo/core": "4.2.0", | ||
@@ -38,3 +38,3 @@ "@veramo/utils": "4.2.0", | ||
"keywords": [], | ||
"gitHead": "3c7b21e13538fac64581c0c73d0450ef6e9b56f0" | ||
"gitHead": "462b5e33d31bfdc55bc4d8cf05868a4c945ea386" | ||
} |
@@ -262,6 +262,6 @@ import { UniResolver } from '@sphereon/did-uni-client' | ||
try { | ||
return this.context.agent.resolveDid({ didUrl, options }) | ||
return await this.context.agent.resolveDid({ didUrl, options }) | ||
} catch (error: unknown) { | ||
if (this.uniresolverFallback) { | ||
return new UniResolver().resolve(didUrl, options) | ||
return await (new UniResolver()).resolve(didUrl, options) | ||
} | ||
@@ -268,0 +268,0 @@ throw error |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
55345