@twin.org/blob-storage-service 0.0.1-next.23 → 0.0.1-next.24

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.
@@ -681,7 +681,7 @@ class BlobStorageService {
681
681
  }
682
682
  }
683
683
  const jsonLd = this.entryToJsonLd(blobEntry, returnBlob);
684
- return dataJsonLd.JsonLdProcessor.compact(jsonLd);
684
+ return dataJsonLd.JsonLdProcessor.compact(jsonLd, jsonLd["@context"]);
685
685
  }
686
686
  catch (error) {
687
687
  throw new core.GeneralError(this.CLASS_NAME, "getFailed", undefined, error);
@@ -835,7 +835,7 @@ class BlobStorageService {
835
835
  entries: result.entities.map(entry => this.entryToJsonLd(entry)),
836
836
  cursor: result.cursor
837
837
  };
838
- return dataJsonLd.JsonLdProcessor.compact(jsonLd);
838
+ return dataJsonLd.JsonLdProcessor.compact(jsonLd, jsonLd["@context"]);
839
839
  }
840
840
  /**
841
841
  * Get the connector from the uri.
@@ -679,7 +679,7 @@ class BlobStorageService {
679
679
  }
680
680
  }
681
681
  const jsonLd = this.entryToJsonLd(blobEntry, returnBlob);
682
- return JsonLdProcessor.compact(jsonLd);
682
+ return JsonLdProcessor.compact(jsonLd, jsonLd["@context"]);
683
683
  }
684
684
  catch (error) {
685
685
  throw new GeneralError(this.CLASS_NAME, "getFailed", undefined, error);
@@ -833,7 +833,7 @@ class BlobStorageService {
833
833
  entries: result.entities.map(entry => this.entryToJsonLd(entry)),
834
834
  cursor: result.cursor
835
835
  };
836
- return JsonLdProcessor.compact(jsonLd);
836
+ return JsonLdProcessor.compact(jsonLd, jsonLd["@context"]);
837
837
  }
838
838
  /**
839
839
  * Get the connector from the uri.
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/blob-storage-service - Changelog
2
2
 
3
- ## v0.0.1-next.23
3
+ ## v0.0.1-next.24
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/blob-storage-service",
3
- "version": "0.0.1-next.23",
3
+ "version": "0.0.1-next.24",
4
4
  "description": "Blob storage contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/api-models": "next",
18
- "@twin.org/blob-storage-models": "0.0.1-next.23",
18
+ "@twin.org/blob-storage-models": "0.0.1-next.24",
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/crypto": "next",
21
21
  "@twin.org/data-json-ld": "next",