@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.
@@ -502,8 +502,7 @@ class ImmutableProofService {
502
502
  }
503
503
  try {
504
504
  const { immutableProof } = await this.internalGet(id, false);
505
- const compacted = await dataJsonLd.JsonLdProcessor.compact(immutableProof, immutableProof["@context"]);
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);
@@ -500,8 +500,7 @@ class ImmutableProofService {
500
500
  }
501
501
  try {
502
502
  const { immutableProof } = await this.internalGet(id, false);
503
- const compacted = await JsonLdProcessor.compact(immutableProof, immutableProof["@context"]);
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
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-service - Changelog
2
2
 
3
- ## v0.0.1-next.21
3
+ ## v0.0.1-next.23
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-service",
3
- "version": "0.0.1-next.21",
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.21",
27
- "@twin.org/immutable-proof-task": "0.0.1-next.21",
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",