@twin.org/immutable-proof-service 0.0.1-next.21 → 0.0.1-next.23
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 +1 -2
- package/dist/esm/index.mjs +1 -2
- package/docs/changelog.md +1 -1
- package/package.json +3 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -502,8 +502,7 @@ class ImmutableProofService {
|
|
|
502
502
|
}
|
|
503
503
|
try {
|
|
504
504
|
const { immutableProof } = await this.internalGet(id, false);
|
|
505
|
-
|
|
506
|
-
return compacted;
|
|
505
|
+
return dataJsonLd.JsonLdProcessor.compact(immutableProof, immutableProof["@context"]);
|
|
507
506
|
}
|
|
508
507
|
catch (error) {
|
|
509
508
|
throw new core.GeneralError(this.CLASS_NAME, "getFailed", undefined, error);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -500,8 +500,7 @@ class ImmutableProofService {
|
|
|
500
500
|
}
|
|
501
501
|
try {
|
|
502
502
|
const { immutableProof } = await this.internalGet(id, false);
|
|
503
|
-
|
|
504
|
-
return compacted;
|
|
503
|
+
return JsonLdProcessor.compact(immutableProof, immutableProof["@context"]);
|
|
505
504
|
}
|
|
506
505
|
catch (error) {
|
|
507
506
|
throw new GeneralError(this.CLASS_NAME, "getFailed", undefined, error);
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/immutable-proof-service",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.23",
|
|
4
4
|
"description": "Immutable proof contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@twin.org/entity-storage-models": "next",
|
|
24
24
|
"@twin.org/event-bus-models": "next",
|
|
25
25
|
"@twin.org/identity-models": "next",
|
|
26
|
-
"@twin.org/immutable-proof-models": "0.0.1-next.
|
|
27
|
-
"@twin.org/immutable-proof-task": "0.0.1-next.
|
|
26
|
+
"@twin.org/immutable-proof-models": "0.0.1-next.23",
|
|
27
|
+
"@twin.org/immutable-proof-task": "0.0.1-next.23",
|
|
28
28
|
"@twin.org/immutable-storage-models": "next",
|
|
29
29
|
"@twin.org/nameof": "next",
|
|
30
30
|
"@twin.org/standards-w3c-did": "next",
|