@sphereon/ssi-sdk.credential-vcdm 0.36.1-feature.vdx24.einvoice.inbox.138 → 0.36.1-feature.vdx24.einvoice.inbox.142
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-vcdm",
|
|
3
3
|
"description": "Plugin for working with W3C Verifiable Credentials DataModel 1 and 2 Credentials & Presentations.",
|
|
4
|
-
"version": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
4
|
+
"version": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"generate-plugin-schema.bak": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
32
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
33
|
-
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
34
|
-
"@sphereon/ssi-sdk.core": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
35
|
-
"@sphereon/ssi-types": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
31
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
32
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
33
|
+
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
34
|
+
"@sphereon/ssi-sdk.core": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
35
|
+
"@sphereon/ssi-types": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
36
36
|
"@veramo/core": "4.2.0",
|
|
37
37
|
"@veramo/message-handler": "4.2.0",
|
|
38
38
|
"@veramo/utils": "4.2.0",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@sphereon/oid4vci-common": "0.20.1-next.13",
|
|
48
|
-
"@sphereon/ssi-sdk-ext.did-provider-key": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
49
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
50
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.vdx24.einvoice.inbox.
|
|
48
|
+
"@sphereon/ssi-sdk-ext.did-provider-key": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
49
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
50
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.vdx24.einvoice.inbox.142+ff40ab64",
|
|
51
51
|
"@types/debug": "4.1.8",
|
|
52
52
|
"@types/uuid": "9.0.2",
|
|
53
53
|
"@veramo/did-manager": "4.2.0",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"node_modules",
|
|
93
93
|
"src"
|
|
94
94
|
],
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "ff40ab64b07e77c8565ed97a027c74bb4d754f28"
|
|
96
96
|
}
|
|
@@ -59,7 +59,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm', () => {
|
|
|
59
59
|
test('handles createVerifiableCredential', async () => {
|
|
60
60
|
expect.assertions(1)
|
|
61
61
|
|
|
62
|
-
const issuerId =
|
|
62
|
+
const issuerId = didKeyIdentifier.did
|
|
63
63
|
|
|
64
64
|
const credential: CredentialPayload = {
|
|
65
65
|
'@context': ['https://www.w3.org/2018/credentials/v1', 'https://www.w3.org/2020/demo/4342323'],
|
|
@@ -88,7 +88,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm', () => {
|
|
|
88
88
|
test('handles createVerifiablePresentation', async () => {
|
|
89
89
|
expect.assertions(1)
|
|
90
90
|
|
|
91
|
-
const issuerId =
|
|
91
|
+
const issuerId = didKeyIdentifier.did
|
|
92
92
|
|
|
93
93
|
const credential = await agent.createVerifiableCredential({
|
|
94
94
|
credential: {
|
|
@@ -113,7 +113,7 @@ describe('@sphereon/ssi-sdk.credential-vcdm', () => {
|
|
|
113
113
|
const presentation: PresentationPayload = {
|
|
114
114
|
'@context': ['https://www.w3.org/2018/credentials/v1'],
|
|
115
115
|
type: ['VerifiablePresentation'],
|
|
116
|
-
holder:
|
|
116
|
+
holder: didKeyIdentifier.did + '?versionTime=2023-01-01T00:00:00Z',
|
|
117
117
|
issuanceDate: new Date().toISOString(),
|
|
118
118
|
verifiableCredential: [credential],
|
|
119
119
|
}
|