@sphereon/ssi-sdk.oid4vci-holder 0.34.1-fix.117 → 0.34.1-fix.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +20 -20
- package/src/agent/OID4VCIHolder.ts +2 -2
- package/src/services/OID4VCIHolderService.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.oid4vci-holder",
|
|
3
|
-
"version": "0.34.1-fix.
|
|
3
|
+
"version": "0.34.1-fix.143+663555b2",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
"@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
|
|
31
31
|
"@sphereon/oid4vci-client": "0.19.1-feature.DIIPv4.106",
|
|
32
32
|
"@sphereon/oid4vci-common": "0.19.1-feature.DIIPv4.106",
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-fix.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-fix.
|
|
35
|
-
"@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-fix.
|
|
36
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-fix.
|
|
37
|
-
"@sphereon/ssi-sdk.contact-manager": "0.34.1-fix.
|
|
38
|
-
"@sphereon/ssi-sdk.core": "0.34.1-fix.
|
|
39
|
-
"@sphereon/ssi-sdk.credential-store": "0.34.1-fix.
|
|
40
|
-
"@sphereon/ssi-sdk.credential-validation": "0.34.1-fix.
|
|
41
|
-
"@sphereon/ssi-sdk.data-store": "0.34.1-fix.
|
|
42
|
-
"@sphereon/ssi-sdk.issuance-branding": "0.34.1-fix.
|
|
43
|
-
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-fix.
|
|
44
|
-
"@sphereon/ssi-sdk.oidf-client": "0.34.1-fix.
|
|
45
|
-
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-fix.
|
|
46
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-fix.
|
|
47
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-fix.
|
|
48
|
-
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-fix.
|
|
49
|
-
"@sphereon/ssi-types": "0.34.1-fix.
|
|
33
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-fix.143+663555b2",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-fix.143+663555b2",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-fix.143+663555b2",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-fix.143+663555b2",
|
|
37
|
+
"@sphereon/ssi-sdk.contact-manager": "0.34.1-fix.143+663555b2",
|
|
38
|
+
"@sphereon/ssi-sdk.core": "0.34.1-fix.143+663555b2",
|
|
39
|
+
"@sphereon/ssi-sdk.credential-store": "0.34.1-fix.143+663555b2",
|
|
40
|
+
"@sphereon/ssi-sdk.credential-validation": "0.34.1-fix.143+663555b2",
|
|
41
|
+
"@sphereon/ssi-sdk.data-store": "0.34.1-fix.143+663555b2",
|
|
42
|
+
"@sphereon/ssi-sdk.issuance-branding": "0.34.1-fix.143+663555b2",
|
|
43
|
+
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-fix.143+663555b2",
|
|
44
|
+
"@sphereon/ssi-sdk.oidf-client": "0.34.1-fix.143+663555b2",
|
|
45
|
+
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-fix.143+663555b2",
|
|
46
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-fix.143+663555b2",
|
|
47
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-fix.143+663555b2",
|
|
48
|
+
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-fix.143+663555b2",
|
|
49
|
+
"@sphereon/ssi-types": "0.34.1-fix.143+663555b2",
|
|
50
50
|
"@veramo/core": "4.2.0",
|
|
51
51
|
"@veramo/data-store": "4.2.0",
|
|
52
52
|
"@veramo/utils": "4.2.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@sphereon/oid4vc-common": "0.19.1-feature.DIIPv4.106",
|
|
63
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-fix.
|
|
63
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-fix.143+663555b2",
|
|
64
64
|
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "workspace:*",
|
|
65
65
|
"@types/i18n-js": "^3.8.9",
|
|
66
66
|
"@types/lodash.memoize": "^4.1.9",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"OID4VCI",
|
|
91
91
|
"State Machine"
|
|
92
92
|
],
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "663555b236defd6dd41c316274baee44683c6935"
|
|
94
94
|
}
|
|
@@ -36,7 +36,6 @@ import {
|
|
|
36
36
|
ConnectionType,
|
|
37
37
|
CorrelationIdentifierType,
|
|
38
38
|
CredentialCorrelationType,
|
|
39
|
-
CredentialRole,
|
|
40
39
|
ensureRawDocument,
|
|
41
40
|
FindPartyArgs,
|
|
42
41
|
IBasicCredentialLocaleBranding,
|
|
@@ -59,6 +58,7 @@ import {
|
|
|
59
58
|
parseDid,
|
|
60
59
|
SdJwtDecodedVerifiableCredentialPayload,
|
|
61
60
|
WrappedW3CVerifiableCredential,
|
|
61
|
+
CredentialRole,
|
|
62
62
|
} from '@sphereon/ssi-types'
|
|
63
63
|
import {
|
|
64
64
|
CredentialPayload,
|
|
@@ -230,7 +230,7 @@ export class OID4VCIHolder implements IAgentPlugin {
|
|
|
230
230
|
oid4vciHolderStoreIssuerBranding: this.oid4vciHolderStoreIssuerBranding.bind(this),
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
private readonly vcFormatPreferences: Array<string> = ['dc+sd-jwt', 'vc+sd-jwt', 'mso_mdoc', 'jwt_vc_json', 'jwt_vc', 'ldp_vc']
|
|
233
|
+
private readonly vcFormatPreferences: Array<string> = ['dc+sd-jwt', 'vc+sd-jwt', 'mso_mdoc', 'jwt_vc_json', 'jwt_vc', 'ldp_vc'] // TODO see SSISDK-52 concerning vc+sd-jwt
|
|
234
234
|
private readonly jsonldCryptographicSuitePreferences: Array<string> = [
|
|
235
235
|
'Ed25519Signature2018',
|
|
236
236
|
'EcdsaSecp256k1Signature2019',
|
|
@@ -384,6 +384,9 @@ export const getCredentialConfigsSupportedBySingleTypeOrId = async (
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
if (configurationId) {
|
|
387
|
+
if (!format) {
|
|
388
|
+
return Promise.reject(Error('format parameter missing from input'))
|
|
389
|
+
}
|
|
387
390
|
const allSupported = client.getCredentialsSupported(format)
|
|
388
391
|
return Object.fromEntries(
|
|
389
392
|
Object.entries(allSupported).filter(
|
|
@@ -580,7 +583,7 @@ export const getIssuanceCryptoSuite = async (opts: GetIssuanceCryptoSuiteArgs):
|
|
|
580
583
|
case 'jwt':
|
|
581
584
|
case 'jwt_vc_json':
|
|
582
585
|
case 'jwt_vc':
|
|
583
|
-
//case 'vc+sd-jwt':
|
|
586
|
+
//case 'vc+sd-jwt': // TODO see SSISDK-52 concerning vc+sd-jwt
|
|
584
587
|
case 'dc+sd-jwt':
|
|
585
588
|
case 'mso_mdoc': {
|
|
586
589
|
const supportedPreferences: Array<JoseSignatureAlgorithm | JoseSignatureAlgorithmString> = jwtCryptographicSuitePreferences.filter(
|