@twin.org/blob-storage-connector-memory 0.0.1-next.9 → 0.0.2-next.1
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/docs/changelog.md
CHANGED
|
@@ -1,5 +1,160 @@
|
|
|
1
1
|
# @twin.org/blob-storage-connector-memory - Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.2-next.0...blob-storage-connector-memory-v0.0.2-next.1) (2025-07-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update dependencies ([56f0094](https://github.com/twinfoundation/blob-storage/commit/56f0094b68d8bd22864cd899ac1b61d95540f719))
|
|
9
|
+
* use shared store mechanism ([#12](https://github.com/twinfoundation/blob-storage/issues/12)) ([cae8110](https://github.com/twinfoundation/blob-storage/commit/cae8110681847a1ac4fcac968b8196694e49c320))
|
|
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.0 to 0.0.2-next.1
|
|
17
|
+
|
|
18
|
+
## 0.0.1 (2025-07-04)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* release to production ([eacfe75](https://github.com/twinfoundation/blob-storage/commit/eacfe754a0dcd9243d9e13d86422327d0a605164))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/blob-storage-models bumped from ^0.0.0 to ^0.0.1
|
|
31
|
+
|
|
32
|
+
## [0.0.1-next.37](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.36...blob-storage-connector-memory-v0.0.1-next.37) (2025-06-20)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Miscellaneous Chores
|
|
36
|
+
|
|
37
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Dependencies
|
|
41
|
+
|
|
42
|
+
* The following workspace dependencies were updated
|
|
43
|
+
* dependencies
|
|
44
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.36 to 0.0.1-next.37
|
|
45
|
+
|
|
46
|
+
## [0.0.1-next.36](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.35...blob-storage-connector-memory-v0.0.1-next.36) (2025-06-19)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Miscellaneous Chores
|
|
50
|
+
|
|
51
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Dependencies
|
|
55
|
+
|
|
56
|
+
* The following workspace dependencies were updated
|
|
57
|
+
* dependencies
|
|
58
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.35 to 0.0.1-next.36
|
|
59
|
+
|
|
60
|
+
## [0.0.1-next.35](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.34...blob-storage-connector-memory-v0.0.1-next.35) (2025-06-17)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Miscellaneous Chores
|
|
64
|
+
|
|
65
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Dependencies
|
|
69
|
+
|
|
70
|
+
* The following workspace dependencies were updated
|
|
71
|
+
* dependencies
|
|
72
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.34 to 0.0.1-next.35
|
|
73
|
+
|
|
74
|
+
## [0.0.1-next.34](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.33...blob-storage-connector-memory-v0.0.1-next.34) (2025-06-12)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Features
|
|
78
|
+
|
|
79
|
+
* update dependencies ([56f0094](https://github.com/twinfoundation/blob-storage/commit/56f0094b68d8bd22864cd899ac1b61d95540f719))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Dependencies
|
|
83
|
+
|
|
84
|
+
* The following workspace dependencies were updated
|
|
85
|
+
* dependencies
|
|
86
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.33 to 0.0.1-next.34
|
|
87
|
+
|
|
88
|
+
## [0.0.1-next.33](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.32...blob-storage-connector-memory-v0.0.1-next.33) (2025-06-03)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Miscellaneous Chores
|
|
92
|
+
|
|
93
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Dependencies
|
|
97
|
+
|
|
98
|
+
* The following workspace dependencies were updated
|
|
99
|
+
* dependencies
|
|
100
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
101
|
+
|
|
102
|
+
## [0.0.1-next.32](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.31...blob-storage-connector-memory-v0.0.1-next.32) (2025-05-28)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Miscellaneous Chores
|
|
106
|
+
|
|
107
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Dependencies
|
|
111
|
+
|
|
112
|
+
* The following workspace dependencies were updated
|
|
113
|
+
* dependencies
|
|
114
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.31 to 0.0.1-next.32
|
|
115
|
+
|
|
116
|
+
## [0.0.1-next.31](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.30...blob-storage-connector-memory-v0.0.1-next.31) (2025-05-08)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Miscellaneous Chores
|
|
120
|
+
|
|
121
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Dependencies
|
|
125
|
+
|
|
126
|
+
* The following workspace dependencies were updated
|
|
127
|
+
* dependencies
|
|
128
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.30 to 0.0.1-next.31
|
|
129
|
+
|
|
130
|
+
## [0.0.1-next.30](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.29...blob-storage-connector-memory-v0.0.1-next.30) (2025-04-17)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### Features
|
|
134
|
+
|
|
135
|
+
* use shared store mechanism ([#12](https://github.com/twinfoundation/blob-storage/issues/12)) ([cae8110](https://github.com/twinfoundation/blob-storage/commit/cae8110681847a1ac4fcac968b8196694e49c320))
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Dependencies
|
|
139
|
+
|
|
140
|
+
* The following workspace dependencies were updated
|
|
141
|
+
* dependencies
|
|
142
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.29 to 0.0.1-next.30
|
|
143
|
+
|
|
144
|
+
## [0.0.1-next.29](https://github.com/twinfoundation/blob-storage/compare/blob-storage-connector-memory-v0.0.1-next.28...blob-storage-connector-memory-v0.0.1-next.29) (2025-03-28)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Miscellaneous Chores
|
|
148
|
+
|
|
149
|
+
* **blob-storage-connector-memory:** Synchronize repo versions
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Dependencies
|
|
153
|
+
|
|
154
|
+
* The following workspace dependencies were updated
|
|
155
|
+
* dependencies
|
|
156
|
+
* @twin.org/blob-storage-models bumped from 0.0.1-next.28 to 0.0.1-next.29
|
|
157
|
+
|
|
158
|
+
## v0.0.1-next.28
|
|
4
159
|
|
|
5
160
|
- Initial Release
|
|
@@ -8,15 +8,15 @@ Class for performing blob storage operations in-memory.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new MemoryBlobStorageConnector**():
|
|
13
|
+
> **new MemoryBlobStorageConnector**(): `MemoryBlobStorageConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of MemoryBlobStorageConnector.
|
|
16
16
|
|
|
17
17
|
#### Returns
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
`MemoryBlobStorageConnector`
|
|
20
20
|
|
|
21
21
|
## Properties
|
|
22
22
|
|
|
@@ -48,7 +48,9 @@ Set the blob.
|
|
|
48
48
|
|
|
49
49
|
#### Parameters
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
##### blob
|
|
52
|
+
|
|
53
|
+
`Uint8Array`
|
|
52
54
|
|
|
53
55
|
The data for the blob.
|
|
54
56
|
|
|
@@ -66,19 +68,21 @@ The id of the stored blob in urn format.
|
|
|
66
68
|
|
|
67
69
|
### get()
|
|
68
70
|
|
|
69
|
-
> **get**(`id`): `Promise`\<`undefined` \| `Uint8Array
|
|
71
|
+
> **get**(`id`): `Promise`\<`undefined` \| `Uint8Array`\<`ArrayBufferLike`\>\>
|
|
70
72
|
|
|
71
73
|
Get the blob.
|
|
72
74
|
|
|
73
75
|
#### Parameters
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
##### id
|
|
78
|
+
|
|
79
|
+
`string`
|
|
76
80
|
|
|
77
81
|
The id of the blob to get in urn format.
|
|
78
82
|
|
|
79
83
|
#### Returns
|
|
80
84
|
|
|
81
|
-
`Promise`\<`undefined` \| `Uint8Array
|
|
85
|
+
`Promise`\<`undefined` \| `Uint8Array`\<`ArrayBufferLike`\>\>
|
|
82
86
|
|
|
83
87
|
The data for the blob if it can be found or undefined.
|
|
84
88
|
|
|
@@ -96,7 +100,9 @@ Remove the blob.
|
|
|
96
100
|
|
|
97
101
|
#### Parameters
|
|
98
102
|
|
|
99
|
-
|
|
103
|
+
##### id
|
|
104
|
+
|
|
105
|
+
`string`
|
|
100
106
|
|
|
101
107
|
The id of the blob to remove in urn format.
|
|
102
108
|
|
|
@@ -114,12 +120,12 @@ True if the blob was found.
|
|
|
114
120
|
|
|
115
121
|
### getStore()
|
|
116
122
|
|
|
117
|
-
> **getStore**(): `
|
|
123
|
+
> **getStore**(): `object`
|
|
118
124
|
|
|
119
125
|
Get the memory store.
|
|
120
126
|
|
|
121
127
|
#### Returns
|
|
122
128
|
|
|
123
|
-
`
|
|
129
|
+
`object`
|
|
124
130
|
|
|
125
131
|
The store.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/blob-storage-connector-memory",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.1",
|
|
4
4
|
"description": "Blob Storage connector implementation using in-memory storage",
|
|
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.
|
|
17
|
+
"@twin.org/blob-storage-models": "0.0.2-next.1",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/crypto": "next",
|
|
20
20
|
"@twin.org/nameof": "next"
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"types": "./dist/types/index.d.ts",
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
+
"types": "./dist/types/index.d.ts",
|
|
27
28
|
"require": "./dist/cjs/index.cjs",
|
|
28
|
-
"import": "./dist/esm/index.mjs"
|
|
29
|
-
"types": "./dist/types/index.d.ts"
|
|
29
|
+
"import": "./dist/esm/index.mjs"
|
|
30
30
|
},
|
|
31
|
-
"./locales": "./locales"
|
|
31
|
+
"./locales/*.json": "./locales/*.json"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist/cjs",
|