@sphereon/ssi-sdk.credential-validation 0.34.1-next.7 → 0.34.1-next.85
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 +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/plugin.schema.json +2 -2
- package/src/agent/CredentialValidation.ts +5 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.credential-validation",
|
|
3
|
-
"version": "0.34.1-next.
|
|
3
|
+
"version": "0.34.1-next.85+019802c5",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -24,27 +24,27 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json",
|
|
27
|
-
"generate-plugin-schema": "
|
|
27
|
+
"generate-plugin-schema": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
|
|
31
|
-
"@sphereon/ssi-sdk.agent-config": "0.34.1-next.
|
|
32
|
-
"@sphereon/ssi-sdk.core": "0.34.1-next.
|
|
33
|
-
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.
|
|
34
|
-
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.
|
|
35
|
-
"@sphereon/ssi-types": "0.34.1-next.
|
|
31
|
+
"@sphereon/ssi-sdk.agent-config": "0.34.1-next.85+019802c5",
|
|
32
|
+
"@sphereon/ssi-sdk.core": "0.34.1-next.85+019802c5",
|
|
33
|
+
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.85+019802c5",
|
|
34
|
+
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.85+019802c5",
|
|
35
|
+
"@sphereon/ssi-types": "0.34.1-next.85+019802c5",
|
|
36
36
|
"@veramo/core": "4.2.0",
|
|
37
37
|
"@veramo/data-store": "4.2.0",
|
|
38
38
|
"@veramo/utils": "4.2.0",
|
|
39
39
|
"ajv": "^8.17.1",
|
|
40
40
|
"ajv-formats": "^3.0.1",
|
|
41
|
-
"cross-fetch": "^
|
|
41
|
+
"cross-fetch": "^4.1.0",
|
|
42
42
|
"debug": "^4.3.5",
|
|
43
43
|
"typeorm": "0.3.20"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.
|
|
47
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.
|
|
46
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.34.1-next.85+019802c5",
|
|
47
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.34.1-next.85+019802c5",
|
|
48
48
|
"@veramo/credential-w3c": "4.2.0",
|
|
49
49
|
"@veramo/data-store": "4.2.0",
|
|
50
50
|
"@veramo/did-manager": "4.2.0",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"Credential",
|
|
73
73
|
"VerifiableCredential"
|
|
74
74
|
],
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "019802c57e9c1f9e3df4ecbb1d6a17f49e8fdbeb"
|
|
76
76
|
}
|
package/plugin.schema.json
CHANGED
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
},
|
|
889
889
|
"format": {
|
|
890
890
|
"type": "string",
|
|
891
|
-
"const": "
|
|
891
|
+
"const": "dc+sd-jwt",
|
|
892
892
|
"description": "The claim format, typically used during exchange transport protocols"
|
|
893
893
|
},
|
|
894
894
|
"credential": {
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
},
|
|
1276
1276
|
"format": {
|
|
1277
1277
|
"type": "string",
|
|
1278
|
-
"const": "
|
|
1278
|
+
"const": "dc+sd-jwt",
|
|
1279
1279
|
"description": "The claim format, typically used during exchange transport protocols"
|
|
1280
1280
|
},
|
|
1281
1281
|
"presentation": {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import mdocPkg from '@sphereon/kmp-mdoc-core'
|
|
2
|
+
const { com } = mdocPkg
|
|
2
3
|
import { IVerifySdJwtVcResult } from '@sphereon/ssi-sdk.sd-jwt'
|
|
3
4
|
import {
|
|
4
5
|
CredentialMapper,
|
|
@@ -25,9 +26,9 @@ import {
|
|
|
25
26
|
VerifyMdocCredentialArgs,
|
|
26
27
|
VerifySDJWTCredentialArgs,
|
|
27
28
|
} from '../index'
|
|
28
|
-
import IVerifySignatureResult = com.sphereon.crypto.generic.IVerifySignatureResult
|
|
29
|
-
import decodeFrom = com.sphereon.kmp.decodeFrom
|
|
30
|
-
import IssuerSignedCbor = com.sphereon.mdoc.data.device.IssuerSignedCbor
|
|
29
|
+
import IVerifySignatureResult = mdocPkg.com.sphereon.crypto.generic.IVerifySignatureResult
|
|
30
|
+
import decodeFrom = mdocPkg.com.sphereon.kmp.decodeFrom
|
|
31
|
+
import IssuerSignedCbor = mdocPkg.com.sphereon.mdoc.data.device.IssuerSignedCbor
|
|
31
32
|
import { defaultHasher } from '@sphereon/ssi-sdk.core'
|
|
32
33
|
|
|
33
34
|
// Exposing the methods here for any REST implementation
|