@sphereon/ssi-sdk.credential-vcdm1-jwt-provider 0.36.1-feature.vdx24.einvoice.inbox.127 → 0.36.1-feature.vdx24.einvoice.inbox.141
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.credential-vcdm1-jwt-provider",
|
|
3
3
|
"description": "Plugin for working with JWT Verifiable Credentials & Presentations.",
|
|
4
|
-
"version": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
4
|
+
"version": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@sphereon/ssi-sdk.core": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
26
|
-
"@sphereon/ssi-sdk.credential-vcdm": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
27
|
-
"@sphereon/ssi-types": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
25
|
+
"@sphereon/ssi-sdk.core": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
26
|
+
"@sphereon/ssi-sdk.credential-vcdm": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
27
|
+
"@sphereon/ssi-types": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
28
28
|
"@veramo/core": "4.2.0",
|
|
29
29
|
"@veramo/utils": "4.2.0",
|
|
30
30
|
"canonicalize": "^2.0.0",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"did-resolver": "^4.1.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@sphereon/ssi-sdk-ext.did-provider-key": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
37
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
38
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
39
|
-
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
36
|
+
"@sphereon/ssi-sdk-ext.did-provider-key": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
37
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
38
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
39
|
+
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.vdx24.einvoice.inbox.141+59be75ed",
|
|
40
40
|
"@types/debug": "4.1.8",
|
|
41
41
|
"@veramo/did-manager": "4.2.0",
|
|
42
42
|
"@veramo/did-provider-ethr": "4.2.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"node_modules",
|
|
74
74
|
"src"
|
|
75
75
|
],
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "59be75ed177899b72dca9876174a65b8fb7037a0"
|
|
77
77
|
}
|
|
@@ -57,7 +57,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm1-jwt-provider full flow', () => {
|
|
|
57
57
|
|
|
58
58
|
it('issues and verifies JWT credential', async () => {
|
|
59
59
|
const credential: CredentialPayload = {
|
|
60
|
-
issuer: { id:
|
|
60
|
+
issuer: { id: didKeyIdentifier.did },
|
|
61
61
|
'@context': ['https://www.w3.org/2018/credentials/v1', 'https://example.com/1/2/3'],
|
|
62
62
|
type: ['VerifiableCredential', 'Custom'],
|
|
63
63
|
issuanceDate: new Date().toISOString(),
|
|
@@ -82,7 +82,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm1-jwt-provider full flow', () => {
|
|
|
82
82
|
|
|
83
83
|
it('issues credential and verifies presentation', async () => {
|
|
84
84
|
const credential: CredentialPayload = {
|
|
85
|
-
issuer: { id:
|
|
85
|
+
issuer: { id: didKeyIdentifier.did },
|
|
86
86
|
'@context': ['https://www.w3.org/2018/credentials/v1', 'https://veramo.io/contexts/profile/v1'],
|
|
87
87
|
type: ['VerifiableCredential', 'Profile'],
|
|
88
88
|
issuanceDate: new Date().toISOString(),
|
|
@@ -100,7 +100,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm1-jwt-provider full flow', () => {
|
|
|
100
100
|
presentation: {
|
|
101
101
|
// @ts-ignore
|
|
102
102
|
verifiableCredential: [verifiableCredential1],
|
|
103
|
-
holder:
|
|
103
|
+
holder: didKeyIdentifier.did,
|
|
104
104
|
},
|
|
105
105
|
challenge: 'SUCCESS',
|
|
106
106
|
proofFormat: 'jwt',
|