@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.34.1-next.299 → 0.34.1-next.322
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.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
- package/src/agent/CredentialProviderJsonld.ts +9 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.credential-vcdm-jsonld-provider",
|
|
3
|
-
"version": "0.34.1-next.
|
|
3
|
+
"version": "0.34.1-next.322+78f8dd31",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@digitalcredentials/vc": "^9.0.1",
|
|
41
41
|
"@digitalcredentials/x25519-key-agreement-2020-context": "^1.0.0",
|
|
42
42
|
"@noble/hashes": "1.6.1",
|
|
43
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.
|
|
44
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.
|
|
45
|
-
"@sphereon/ssi-sdk.agent-config": "0.34.1-next.
|
|
46
|
-
"@sphereon/ssi-sdk.core": "0.34.1-next.
|
|
47
|
-
"@sphereon/ssi-sdk.credential-vcdm": "0.34.1-next.
|
|
48
|
-
"@sphereon/ssi-sdk.data-store": "0.34.1-next.
|
|
49
|
-
"@sphereon/ssi-sdk.data-store-types": "0.34.1-next.
|
|
50
|
-
"@sphereon/ssi-sdk.vc-status-list": "0.34.1-next.
|
|
51
|
-
"@sphereon/ssi-types": "0.34.1-next.
|
|
43
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.322+78f8dd31",
|
|
44
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.322+78f8dd31",
|
|
45
|
+
"@sphereon/ssi-sdk.agent-config": "0.34.1-next.322+78f8dd31",
|
|
46
|
+
"@sphereon/ssi-sdk.core": "0.34.1-next.322+78f8dd31",
|
|
47
|
+
"@sphereon/ssi-sdk.credential-vcdm": "0.34.1-next.322+78f8dd31",
|
|
48
|
+
"@sphereon/ssi-sdk.data-store": "0.34.1-next.322+78f8dd31",
|
|
49
|
+
"@sphereon/ssi-sdk.data-store-types": "0.34.1-next.322+78f8dd31",
|
|
50
|
+
"@sphereon/ssi-sdk.vc-status-list": "0.34.1-next.322+78f8dd31",
|
|
51
|
+
"@sphereon/ssi-types": "0.34.1-next.322+78f8dd31",
|
|
52
52
|
"@veramo-community/lds-ecdsa-secp256k1-recovery2020": "github:uport-project/EcdsaSecp256k1RecoverySignature2020",
|
|
53
53
|
"@veramo/core": "4.2.0",
|
|
54
54
|
"@veramo/utils": "4.2.0",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@sphereon/did-uni-client": "^0.6.3",
|
|
64
|
-
"@sphereon/ssi-sdk-ext.did-provider-key": "0.34.1-next.
|
|
64
|
+
"@sphereon/ssi-sdk-ext.did-provider-key": "0.34.1-next.322+78f8dd31",
|
|
65
65
|
"@sphereon/ssi-sdk-ext.did-provider-lto": "0.23.0",
|
|
66
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.
|
|
67
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.34.1-next.
|
|
68
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.34.1-next.
|
|
66
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.322+78f8dd31",
|
|
67
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.34.1-next.322+78f8dd31",
|
|
68
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.34.1-next.322+78f8dd31",
|
|
69
69
|
"@sphereon/ssi-sdk.agent-config": "workspace:*",
|
|
70
70
|
"@transmute/lds-ecdsa-secp256k1-recovery2020": "^0.0.7",
|
|
71
71
|
"@types/nock": "^11.1.0",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"peerDependencies": {
|
|
120
120
|
"react-native-securerandom": "^1.0.1"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "78f8dd3157066ae8cf11d2ae50c8c3d8f43b8ed0"
|
|
123
123
|
}
|
|
@@ -12,19 +12,11 @@ import {
|
|
|
12
12
|
IVerifyCredentialVcdmArgs,
|
|
13
13
|
IVerifyPresentationLDArgs,
|
|
14
14
|
preProcessCredentialPayload,
|
|
15
|
-
preProcessPresentation
|
|
15
|
+
preProcessPresentation,
|
|
16
16
|
} from '@sphereon/ssi-sdk.credential-vcdm'
|
|
17
17
|
import { vcLibCheckStatusFunction } from '@sphereon/ssi-sdk.vc-status-list'
|
|
18
18
|
import { IVerifyResult } from '@sphereon/ssi-types'
|
|
19
|
-
import type {
|
|
20
|
-
DIDDocument,
|
|
21
|
-
IAgentContext,
|
|
22
|
-
IDIDManager,
|
|
23
|
-
IIdentifier,
|
|
24
|
-
IKey,
|
|
25
|
-
IResolver,
|
|
26
|
-
VerifiableCredential
|
|
27
|
-
} from '@veramo/core'
|
|
19
|
+
import type { DIDDocument, IAgentContext, IDIDManager, IIdentifier, IKey, IResolver, VerifiableCredential } from '@veramo/core'
|
|
28
20
|
import { AbstractPrivateKeyStore } from '@veramo/key-manager'
|
|
29
21
|
import { type _ExtendedIKey, type OrPromise, type RecordLike } from '@veramo/utils'
|
|
30
22
|
import Debug from 'debug'
|
|
@@ -203,7 +195,13 @@ export class CredentialProviderJsonld implements IVcdmCredentialProvider {
|
|
|
203
195
|
verifyStatusListCredential: false /*todo: enable. Needs calling this method first and not rely on @digiticalcredentials*/,
|
|
204
196
|
}) // todo: Probably should be moved to the module to have access to the loaders
|
|
205
197
|
}
|
|
206
|
-
return this.ldCredentialModule.verifyCredential(
|
|
198
|
+
return this.ldCredentialModule.verifyCredential(
|
|
199
|
+
credential as VerifiableCredentialSP,
|
|
200
|
+
context,
|
|
201
|
+
args.fetchRemoteContexts,
|
|
202
|
+
args.purpose,
|
|
203
|
+
checkStatus,
|
|
204
|
+
)
|
|
207
205
|
}
|
|
208
206
|
|
|
209
207
|
/** {@inheritdoc ICredentialHandlerLDLocal.verifyPresentation} */
|