@eik/node-client 2.0.0-next.5 → 2.0.0
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/CHANGELOG.md +239 -29
- package/README.md +192 -133
- package/dist/index.cjs +377 -0
- package/package.json +36 -22
- package/src/asset.js +49 -7
- package/src/index.js +317 -111
- package/types/asset.d.ts +47 -0
- package/types/index.d.ts +218 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,70 +1,280 @@
|
|
|
1
|
-
# [2.0.0
|
|
1
|
+
# [2.0.0](https://github.com/eik-lib/node-client/compare/v1.2.1...v2.0.0) (2024-11-15)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update dependencies ([c371b68](https://github.com/eik-lib/node-client/commit/c371b681354063601b2ce8e7525e57ac52fd3c9d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
5
10
|
|
|
6
|
-
*
|
|
11
|
+
* Requires Node >=20.5.0
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
## [1.2.1](https://github.com/eik-lib/node-client/compare/v1.2.0...v1.2.1) (2024-10-16)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* slugify image type ([#207](https://github.com/eik-lib/node-client/issues/207)) ([c0ed5e7](https://github.com/eik-lib/node-client/commit/c0ed5e787119657fa83647256a5f6179ccd24389))
|
|
19
|
+
|
|
20
|
+
# [1.2.0](https://github.com/eik-lib/node-client/compare/v1.1.64...v1.2.0) (2024-10-15)
|
|
9
21
|
|
|
10
22
|
|
|
11
23
|
### Features
|
|
12
24
|
|
|
13
|
-
*
|
|
25
|
+
* add toHTML function ([4576ddd](https://github.com/eik-lib/node-client/commit/4576dddc88afb5722b80574438b03dc41956af72))
|
|
14
26
|
|
|
27
|
+
## [1.1.64](https://github.com/eik-lib/node-client/compare/v1.1.63...v1.1.64) (2024-08-30)
|
|
15
28
|
|
|
16
|
-
### BREAKING CHANGES
|
|
17
29
|
|
|
18
|
-
|
|
30
|
+
### Bug Fixes
|
|
19
31
|
|
|
20
|
-
*
|
|
21
|
-
* Support for CJS is now removed in this module. It is ESM only.
|
|
32
|
+
* **deps:** update dependency @eik/common to v4 ([6cf5860](https://github.com/eik-lib/node-client/commit/6cf586087b9222676fa05131664d0034b16f0c9d))
|
|
22
33
|
|
|
23
|
-
|
|
34
|
+
## [1.1.63](https://github.com/eik-lib/node-client/compare/v1.1.62...v1.1.63) (2024-08-15)
|
|
24
35
|
|
|
25
|
-
* fix: remove console.log() statement
|
|
26
36
|
|
|
27
|
-
|
|
37
|
+
### Bug Fixes
|
|
28
38
|
|
|
29
|
-
|
|
39
|
+
* generate valid URL pathname on windows hosts ([#197](https://github.com/eik-lib/node-client/issues/197)) ([08312a0](https://github.com/eik-lib/node-client/commit/08312a092fb3ad760abbf4b64e769161dd17acf0))
|
|
40
|
+
|
|
41
|
+
## [1.1.62](https://github.com/eik-lib/node-client/compare/v1.1.61...v1.1.62) (2024-08-07)
|
|
30
42
|
|
|
31
43
|
|
|
32
44
|
### Bug Fixes
|
|
33
45
|
|
|
34
|
-
*
|
|
46
|
+
* include type definitions ([bea3117](https://github.com/eik-lib/node-client/commit/bea3117093098fe25bb1c56df253ebd5349a7a40))
|
|
35
47
|
|
|
36
|
-
|
|
48
|
+
## [1.1.61](https://github.com/eik-lib/node-client/compare/v1.1.60...v1.1.61) (2024-05-06)
|
|
37
49
|
|
|
38
50
|
|
|
39
|
-
###
|
|
51
|
+
### Bug Fixes
|
|
40
52
|
|
|
41
|
-
*
|
|
53
|
+
* **deps:** update dependency abslog to v2.4.4 ([9f69e9b](https://github.com/eik-lib/node-client/commit/9f69e9b19c364f683f6dedfea81a12d08d4ccfe6))
|
|
42
54
|
|
|
43
|
-
|
|
55
|
+
## [1.1.60](https://github.com/eik-lib/node-client/compare/v1.1.59...v1.1.60) (2024-04-15)
|
|
44
56
|
|
|
45
57
|
|
|
46
58
|
### Bug Fixes
|
|
47
59
|
|
|
48
|
-
*
|
|
49
|
-
* Do not use getters and setters on public data object ([0505dcb](https://github.com/eik-lib/node-client/commit/0505dcb25b2563b826d5806fc30a7d148c111c00))
|
|
50
|
-
* Make default value of integrity to be undefined ([a679f73](https://github.com/eik-lib/node-client/commit/a679f733351413e5e59cbd0f71c86fef8a08042c))
|
|
60
|
+
* **deps:** update dependency abslog to v2.4.2 ([d3a80a4](https://github.com/eik-lib/node-client/commit/d3a80a468075f6d73860817708f380bf171fc6d2))
|
|
51
61
|
|
|
62
|
+
## [1.1.59](https://github.com/eik-lib/node-client/compare/v1.1.58...v1.1.59) (2024-04-04)
|
|
52
63
|
|
|
53
|
-
### chore
|
|
54
64
|
|
|
55
|
-
|
|
65
|
+
### Bug Fixes
|
|
56
66
|
|
|
67
|
+
* **deps:** update dependency undici to v5.28.4 [security] ([1d6b398](https://github.com/eik-lib/node-client/commit/1d6b39828d2de298e55b4d4dbc8b3236639c789f))
|
|
57
68
|
|
|
58
|
-
|
|
69
|
+
## [1.1.58](https://github.com/eik-lib/node-client/compare/v1.1.57...v1.1.58) (2024-02-12)
|
|
59
70
|
|
|
60
|
-
* Make .file() return an object ([f53f15d](https://github.com/eik-lib/node-client/commit/f53f15dae288fda4b4527a3b4c69bab2e56f5169))
|
|
61
|
-
* Rework module to suite current functionality of Eik ([559294c](https://github.com/eik-lib/node-client/commit/559294cc8d1bd793873ba02000da6376312e0160))
|
|
62
71
|
|
|
72
|
+
### Bug Fixes
|
|
63
73
|
|
|
64
|
-
|
|
74
|
+
* **deps:** update dependency undici to v5.28.3 ([2ce7284](https://github.com/eik-lib/node-client/commit/2ce7284d5b4ced9041e5f389e688ee2a52c2e9a0))
|
|
65
75
|
|
|
66
|
-
|
|
67
|
-
|
|
76
|
+
## [1.1.57](https://github.com/eik-lib/node-client/compare/v1.1.56...v1.1.57) (2023-12-04)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
* **deps:** update dependency undici to v5.28.2 ([25b9614](https://github.com/eik-lib/node-client/commit/25b9614c3d3b9ff09515720b4c645e371cdc16c2))
|
|
82
|
+
|
|
83
|
+
## [1.1.56](https://github.com/eik-lib/node-client/compare/v1.1.55...v1.1.56) (2023-11-27)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* **deps:** update dependency undici to v5.28.0 ([fc05ea5](https://github.com/eik-lib/node-client/commit/fc05ea522bcfc3ad8ba76029eeeccf37a9d6cdb5))
|
|
89
|
+
|
|
90
|
+
## [1.1.55](https://github.com/eik-lib/node-client/compare/v1.1.54...v1.1.55) (2023-11-06)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Bug Fixes
|
|
94
|
+
|
|
95
|
+
* **deps:** update dependency undici to v5.27.2 ([d441672](https://github.com/eik-lib/node-client/commit/d44167292aba3c96d90cb49e1e27644b98ef5bb4))
|
|
96
|
+
|
|
97
|
+
## [1.1.54](https://github.com/eik-lib/node-client/compare/v1.1.53...v1.1.54) (2023-10-30)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Bug Fixes
|
|
101
|
+
|
|
102
|
+
* **deps:** update dependency undici to v5.27.0 ([fb15464](https://github.com/eik-lib/node-client/commit/fb15464bbb23bca710509a4d1fa4a3db5fb0096c))
|
|
103
|
+
|
|
104
|
+
## [1.1.53](https://github.com/eik-lib/node-client/compare/v1.1.52...v1.1.53) (2023-10-23)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Bug Fixes
|
|
108
|
+
|
|
109
|
+
* **deps:** update dependency undici to v5.26.4 ([0739a55](https://github.com/eik-lib/node-client/commit/0739a55f935ca55fc4680c93b9763d80ee136e5d))
|
|
110
|
+
|
|
111
|
+
## [1.1.52](https://github.com/eik-lib/node-client/compare/v1.1.51...v1.1.52) (2023-10-16)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Bug Fixes
|
|
115
|
+
|
|
116
|
+
* **deps:** update dependency undici to v5.26.3 ([64e63c4](https://github.com/eik-lib/node-client/commit/64e63c419464ae00005f2fe39c84d839bc2150b7))
|
|
117
|
+
|
|
118
|
+
## [1.1.51](https://github.com/eik-lib/node-client/compare/v1.1.50...v1.1.51) (2023-10-09)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Bug Fixes
|
|
122
|
+
|
|
123
|
+
* **deps:** update dependency undici to v5.25.4 ([7d039b2](https://github.com/eik-lib/node-client/commit/7d039b200332a2f9f93d5cfaf35e7c626fe646e6))
|
|
124
|
+
|
|
125
|
+
## [1.1.50](https://github.com/eik-lib/node-client/compare/v1.1.49...v1.1.50) (2023-10-02)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Bug Fixes
|
|
129
|
+
|
|
130
|
+
* **deps:** update dependency undici to v5.25.3 ([39075f5](https://github.com/eik-lib/node-client/commit/39075f5827590267783a7dca833999cc9c9141fe))
|
|
131
|
+
|
|
132
|
+
## [1.1.49](https://github.com/eik-lib/node-client/compare/v1.1.48...v1.1.49) (2023-09-25)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
* **deps:** update dependency undici to v5.25.2 ([8fe7f2c](https://github.com/eik-lib/node-client/commit/8fe7f2cd65b4b4ee79763e5a90e67d03661c1074))
|
|
138
|
+
|
|
139
|
+
## [1.1.48](https://github.com/eik-lib/node-client/compare/v1.1.47...v1.1.48) (2023-09-11)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Bug Fixes
|
|
143
|
+
|
|
144
|
+
* **deps:** update dependency undici to v5.24.0 ([fc6f9b2](https://github.com/eik-lib/node-client/commit/fc6f9b27852b6bdf6f6bd7ef28354996d39325a3))
|
|
145
|
+
|
|
146
|
+
## [1.1.47](https://github.com/eik-lib/node-client/compare/v1.1.46...v1.1.47) (2023-08-07)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Bug Fixes
|
|
150
|
+
|
|
151
|
+
* **deps:** update dependency undici to v5.23.0 ([631f80b](https://github.com/eik-lib/node-client/commit/631f80b772b44e10e4d64ba6fb1902c181fa1813))
|
|
152
|
+
|
|
153
|
+
## [1.1.46](https://github.com/eik-lib/node-client/compare/v1.1.45...v1.1.46) (2023-05-15)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Bug Fixes
|
|
157
|
+
|
|
158
|
+
* **deps:** update dependency undici to v5.22.1 ([09d68ec](https://github.com/eik-lib/node-client/commit/09d68ecce931aa93845f4fe5b2251aa178f8a52c))
|
|
159
|
+
|
|
160
|
+
## [1.1.45](https://github.com/eik-lib/node-client/compare/v1.1.44...v1.1.45) (2023-04-24)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### Bug Fixes
|
|
164
|
+
|
|
165
|
+
* **deps:** update dependency undici to v5.22.0 ([0ae37d7](https://github.com/eik-lib/node-client/commit/0ae37d777dcb17befcbb9e57cd75783bab98b22e))
|
|
166
|
+
|
|
167
|
+
## [1.1.44](https://github.com/eik-lib/node-client/compare/v1.1.43...v1.1.44) (2023-04-10)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Bug Fixes
|
|
171
|
+
|
|
172
|
+
* **deps:** update dependency undici to v5.21.2 ([7edbcac](https://github.com/eik-lib/node-client/commit/7edbcacb7b042aaf229f1b143582a3637af6443f))
|
|
173
|
+
|
|
174
|
+
## [1.1.43](https://github.com/eik-lib/node-client/compare/v1.1.42...v1.1.43) (2023-03-20)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Bug Fixes
|
|
178
|
+
|
|
179
|
+
* **deps:** update dependency undici to v5.21.0 ([4b627ea](https://github.com/eik-lib/node-client/commit/4b627ea6a5829e0e0e22bc0a01926b894f85a683))
|
|
180
|
+
|
|
181
|
+
## [1.1.42](https://github.com/eik-lib/node-client/compare/v1.1.41...v1.1.42) (2023-02-27)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### Bug Fixes
|
|
185
|
+
|
|
186
|
+
* **deps:** update dependency undici to v5.20.0 ([5ad8621](https://github.com/eik-lib/node-client/commit/5ad862197386042536ad99bafd1c3d4789eff831))
|
|
187
|
+
|
|
188
|
+
## [1.1.41](https://github.com/eik-lib/node-client/compare/v1.1.40...v1.1.41) (2023-02-17)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### Bug Fixes
|
|
192
|
+
|
|
193
|
+
* **deps:** update dependency undici to v5.19.1 [security] ([3f481ce](https://github.com/eik-lib/node-client/commit/3f481ce16bf2c040de043c83370e029bd3a6c789))
|
|
194
|
+
|
|
195
|
+
## [1.1.40](https://github.com/eik-lib/node-client/compare/v1.1.39...v1.1.40) (2023-02-13)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Bug Fixes
|
|
199
|
+
|
|
200
|
+
* **deps:** update dependency undici to v5.18.0 ([7a00e87](https://github.com/eik-lib/node-client/commit/7a00e870f2d89dcbc6868f7cae279965c71d44c3))
|
|
201
|
+
|
|
202
|
+
## [1.1.39](https://github.com/eik-lib/node-client/compare/v1.1.38...v1.1.39) (2023-02-06)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### Bug Fixes
|
|
206
|
+
|
|
207
|
+
* **deps:** update dependency undici to v5.17.1 ([f4031ae](https://github.com/eik-lib/node-client/commit/f4031ae7fc14df1b6f06a759a2719ca6b23fe529))
|
|
208
|
+
|
|
209
|
+
## [1.1.38](https://github.com/eik-lib/node-client/compare/v1.1.37...v1.1.38) (2023-01-30)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
* **deps:** update dependency undici to v5.16.0 ([fa83c33](https://github.com/eik-lib/node-client/commit/fa83c33020697a8d41295adeda85ed82f4e0ebeb))
|
|
215
|
+
|
|
216
|
+
## [1.1.37](https://github.com/eik-lib/node-client/compare/v1.1.36...v1.1.37) (2023-01-23)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Bug Fixes
|
|
220
|
+
|
|
221
|
+
* **deps:** update dependency undici to v5.15.2 ([e7105c3](https://github.com/eik-lib/node-client/commit/e7105c3da52633f224e31706dd1cd8eef36ce044))
|
|
222
|
+
|
|
223
|
+
## [1.1.36](https://github.com/eik-lib/node-client/compare/v1.1.35...v1.1.36) (2023-01-16)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Bug Fixes
|
|
227
|
+
|
|
228
|
+
* **deps:** update dependency undici to v5.15.0 ([07e8778](https://github.com/eik-lib/node-client/commit/07e8778407e05bdf01ba302157f43f6c7576edd9))
|
|
229
|
+
|
|
230
|
+
## [1.1.35](https://github.com/eik-lib/node-client/compare/v1.1.34...v1.1.35) (2022-12-12)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Bug Fixes
|
|
234
|
+
|
|
235
|
+
* **deps:** update dependency undici to v5.14.0 ([9508c56](https://github.com/eik-lib/node-client/commit/9508c56febac371379a8cecfeb2ebb3aab79f5fa))
|
|
236
|
+
|
|
237
|
+
## [1.1.34](https://github.com/eik-lib/node-client/compare/v1.1.33...v1.1.34) (2022-11-28)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Bug Fixes
|
|
241
|
+
|
|
242
|
+
* **deps:** update dependency undici to v5.13.0 ([e719d85](https://github.com/eik-lib/node-client/commit/e719d857e5bf23caa715400f17293cd23322172d))
|
|
243
|
+
|
|
244
|
+
## [1.1.33](https://github.com/eik-lib/node-client/compare/v1.1.32...v1.1.33) (2022-10-31)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Bug Fixes
|
|
248
|
+
|
|
249
|
+
* **deps:** update dependency undici to v5.12.0 ([f509b97](https://github.com/eik-lib/node-client/commit/f509b970dc5df2702fd80db8e3d6def92e9fdf37))
|
|
250
|
+
|
|
251
|
+
## [1.1.32](https://github.com/eik-lib/node-client/compare/v1.1.31...v1.1.32) (2022-10-10)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Bug Fixes
|
|
255
|
+
|
|
256
|
+
* **deps:** update dependency undici to v5.11.0 ([2bc8982](https://github.com/eik-lib/node-client/commit/2bc8982ff31a9aa4b15ff135fadc8952c4cc3b10))
|
|
257
|
+
|
|
258
|
+
## [1.1.31](https://github.com/eik-lib/node-client/compare/v1.1.30...v1.1.31) (2022-08-29)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Bug Fixes
|
|
262
|
+
|
|
263
|
+
* **deps:** update dependency undici to v5.10.0 ([c515b80](https://github.com/eik-lib/node-client/commit/c515b80874deec521f21063b73bae486ebb2af7d))
|
|
264
|
+
|
|
265
|
+
## [1.1.30](https://github.com/eik-lib/node-client/compare/v1.1.29...v1.1.30) (2022-08-22)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### Bug Fixes
|
|
269
|
+
|
|
270
|
+
* **deps:** update dependency undici to v5.9.1 ([1165192](https://github.com/eik-lib/node-client/commit/1165192d2a45b7013518f072a34f2dca8fdf8d9b))
|
|
271
|
+
|
|
272
|
+
## [1.1.29](https://github.com/eik-lib/node-client/compare/v1.1.28...v1.1.29) (2022-08-15)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Bug Fixes
|
|
276
|
+
|
|
277
|
+
* **deps:** update dependency undici to v5.8.2 ([652c0af](https://github.com/eik-lib/node-client/commit/652c0af76d4eff970ba8954d8f287703c30acd73))
|
|
68
278
|
|
|
69
279
|
## [1.1.28](https://github.com/eik-lib/node-client/compare/v1.1.27...v1.1.28) (2022-08-08)
|
|
70
280
|
|