@twin.org/blob-storage-connector-ipfs 0.0.2-next.1 → 0.0.2-next.2
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 -1
- package/dist/esm/index.mjs +1 -1
- package/docs/changelog.md +14 -0
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -40,7 +40,7 @@ class IpfsBlobStorageConnector {
|
|
|
40
40
|
async set(blob) {
|
|
41
41
|
core.Guards.uint8Array(this.CLASS_NAME, "blob", blob);
|
|
42
42
|
try {
|
|
43
|
-
const formBlob = new Blob([blob], { type: web.MimeTypes.OctetStream });
|
|
43
|
+
const formBlob = new Blob([new Uint8Array(blob)], { type: web.MimeTypes.OctetStream });
|
|
44
44
|
const formData = new FormData();
|
|
45
45
|
formData.append("file", formBlob);
|
|
46
46
|
const fetchOptions = {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ class IpfsBlobStorageConnector {
|
|
|
38
38
|
async set(blob) {
|
|
39
39
|
Guards.uint8Array(this.CLASS_NAME, "blob", blob);
|
|
40
40
|
try {
|
|
41
|
-
const formBlob = new Blob([blob], { type: MimeTypes.OctetStream });
|
|
41
|
+
const formBlob = new Blob([new Uint8Array(blob)], { type: MimeTypes.OctetStream });
|
|
42
42
|
const formData = new FormData();
|
|
43
43
|
formData.append("file", formBlob);
|
|
44
44
|
const fetchOptions = {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/blob-storage-connector-ipfs - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-ipfs-v0.0.2-next.1...blob-storage-connector-ipfs-v0.0.2-next.2) (2025-08-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update framework core ([ff339fe](https://github.com/twinfoundation/blob-storage/commit/ff339fe7e3f09ddff429907834bdf43617e9c05e))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/blob-storage-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
16
|
+
|
|
3
17
|
## [0.0.2-next.1](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-ipfs-v0.0.2-next.0...blob-storage-connector-ipfs-v0.0.2-next.1) (2025-07-24)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/blob-storage-connector-ipfs",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.2",
|
|
4
4
|
"description": "Blob Storage connector implementation using IPFS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/blob-storage-models": "0.0.2-next.
|
|
17
|
+
"@twin.org/blob-storage-models": "0.0.2-next.2",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/crypto": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|