@twin.org/identity-connector-entity-storage 0.0.1-next.12 → 0.0.1-next.13
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/cjs/index.cjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/docs/changelog.md +1 -1
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -421,7 +421,7 @@ class EntityStorageIdentityConnector {
|
|
|
421
421
|
finalTypes.push(credType);
|
|
422
422
|
}
|
|
423
423
|
const verifiableCredential = {
|
|
424
|
-
"@context": dataJsonLd.JsonLdProcessor.combineContexts(standardsW3cDid.DidContexts.
|
|
424
|
+
"@context": dataJsonLd.JsonLdProcessor.combineContexts(standardsW3cDid.DidContexts.ContextVCv1, credContext) ?? null,
|
|
425
425
|
id,
|
|
426
426
|
type: finalTypes,
|
|
427
427
|
credentialSubject: credentialClone,
|
|
@@ -689,7 +689,7 @@ class EntityStorageIdentityConnector {
|
|
|
689
689
|
finalTypes.push(types);
|
|
690
690
|
}
|
|
691
691
|
const verifiablePresentation = {
|
|
692
|
-
"@context": dataJsonLd.JsonLdProcessor.combineContexts(standardsW3cDid.DidContexts.
|
|
692
|
+
"@context": dataJsonLd.JsonLdProcessor.combineContexts(standardsW3cDid.DidContexts.ContextVCv1, contexts) ?? null,
|
|
693
693
|
id: presentationId,
|
|
694
694
|
type: finalTypes,
|
|
695
695
|
verifiableCredential: verifiableCredentials,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -419,7 +419,7 @@ class EntityStorageIdentityConnector {
|
|
|
419
419
|
finalTypes.push(credType);
|
|
420
420
|
}
|
|
421
421
|
const verifiableCredential = {
|
|
422
|
-
"@context": JsonLdProcessor.combineContexts(DidContexts.
|
|
422
|
+
"@context": JsonLdProcessor.combineContexts(DidContexts.ContextVCv1, credContext) ?? null,
|
|
423
423
|
id,
|
|
424
424
|
type: finalTypes,
|
|
425
425
|
credentialSubject: credentialClone,
|
|
@@ -687,7 +687,7 @@ class EntityStorageIdentityConnector {
|
|
|
687
687
|
finalTypes.push(types);
|
|
688
688
|
}
|
|
689
689
|
const verifiablePresentation = {
|
|
690
|
-
"@context": JsonLdProcessor.combineContexts(DidContexts.
|
|
690
|
+
"@context": JsonLdProcessor.combineContexts(DidContexts.ContextVCv1, contexts) ?? null,
|
|
691
691
|
id: presentationId,
|
|
692
692
|
type: finalTypes,
|
|
693
693
|
verifiableCredential: verifiableCredentials,
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/identity-connector-entity-storage",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.13",
|
|
4
4
|
"description": "Identity connector implementation using entity storage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@twin.org/data-core": "next",
|
|
20
20
|
"@twin.org/data-json-ld": "next",
|
|
21
21
|
"@twin.org/entity": "next",
|
|
22
|
-
"@twin.org/identity-models": "0.0.1-next.
|
|
22
|
+
"@twin.org/identity-models": "0.0.1-next.13",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
24
|
"@twin.org/standards-w3c-did": "next",
|
|
25
25
|
"@twin.org/vault-models": "next",
|