@twin.org/blob-storage-connector-ipfs 0.0.2-next.2 → 0.0.2-next.4
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 +2 -2
- package/docs/changelog.md +29 -0
- package/package.json +17 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -140,7 +140,7 @@ class IpfsBlobStorageConnector {
|
|
|
140
140
|
if (core.Is.stringValue(this._config.bearerToken)) {
|
|
141
141
|
requestInit.headers = {
|
|
142
142
|
...requestInit.headers,
|
|
143
|
-
Authorization:
|
|
143
|
+
[web.HeaderTypes.Authorization]: web.HeaderHelper.createBearer(this._config.bearerToken)
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Guards, StringHelper, Urn, GeneralError, Is } from '@twin.org/core';
|
|
2
|
-
import { MimeTypes, HeaderTypes } from '@twin.org/web';
|
|
2
|
+
import { MimeTypes, HeaderTypes, HeaderHelper } from '@twin.org/web';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Class for performing blob storage operations on IPFS.
|
|
@@ -138,7 +138,7 @@ class IpfsBlobStorageConnector {
|
|
|
138
138
|
if (Is.stringValue(this._config.bearerToken)) {
|
|
139
139
|
requestInit.headers = {
|
|
140
140
|
...requestInit.headers,
|
|
141
|
-
Authorization:
|
|
141
|
+
[HeaderTypes.Authorization]: HeaderHelper.createBearer(this._config.bearerToken)
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @twin.org/blob-storage-connector-ipfs - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-ipfs-v0.0.2-next.3...blob-storage-connector-ipfs-v0.0.2-next.4) (2025-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use new createBearer method ([f87c550](https://github.com/twinfoundation/blob-storage/commit/f87c5502fe3b5fee81257d7500f5d4500ea5ed28))
|
|
9
|
+
* use new createBearer method ([a965801](https://github.com/twinfoundation/blob-storage/commit/a96580160315c363fc0f06a1615cc92d4339a5e4))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* The following workspace dependencies were updated
|
|
15
|
+
* dependencies
|
|
16
|
+
* @twin.org/blob-storage-models bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
17
|
+
|
|
18
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-ipfs-v0.0.2-next.2...blob-storage-connector-ipfs-v0.0.2-next.3) (2025-08-29)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* eslint migration to flat config ([e4239dd](https://github.com/twinfoundation/blob-storage/commit/e4239dd1c721955cff7f0357255d2bba15319972))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/blob-storage-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
31
|
+
|
|
3
32
|
## [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
33
|
|
|
5
34
|
|
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.4",
|
|
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.4",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/crypto": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|
|
@@ -37,5 +37,20 @@
|
|
|
37
37
|
"dist/types",
|
|
38
38
|
"locales",
|
|
39
39
|
"docs"
|
|
40
|
+
],
|
|
41
|
+
"keywords": [
|
|
42
|
+
"twin",
|
|
43
|
+
"trade",
|
|
44
|
+
"iota",
|
|
45
|
+
"framework",
|
|
46
|
+
"blockchain",
|
|
47
|
+
"blob-storage",
|
|
48
|
+
"blob",
|
|
49
|
+
"storage",
|
|
50
|
+
"files",
|
|
51
|
+
"binary",
|
|
52
|
+
"connector",
|
|
53
|
+
"adapter",
|
|
54
|
+
"integration"
|
|
40
55
|
]
|
|
41
56
|
}
|