@cloudcommerce/api 2.6.5 → 2.7.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.
@@ -1,5 +1,5 @@
1
1
 
2
2
 
3
- > @cloudcommerce/api@2.6.4 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.0 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > bash ../../scripts/build-lib.sh
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- > @cloudcommerce/api@2.6.4 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -14,7 +14,7 @@
14
14
  · 401 trying to list API events
15
15
  · 401 to create category and body typecheck
16
16
  · 204 to update products views
17
- [?25l[?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
17
+ [?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
18
18
  ⠙ Read product and typecheck SKU
19
19
  · Find and read product by SKU
20
20
  · 404 with different Store ID from env
@@ -82,14 +82,6 @@
82
82
  GFJ4714
83
83
 
84
84
  [?25l ❯ tests/index.test.ts (7)
85
- ⠏ Read product and typecheck SKU
86
- · Find and read product by SKU
87
- · 404 with different Store ID from env
88
- · List categories and typecheck result
89
- · 401 trying to list API events
90
- · 401 to create category and body typecheck
91
- · 204 to update products views
92
- [?25l ❯ tests/index.test.ts (7)
93
85
  ✓ Read product and typecheck SKU
94
86
  ⠙ Find and read product by SKU
95
87
  · 404 with different Store ID from env
@@ -197,16 +189,8 @@ GFJ4714
197
189
  ✓ Read product and typecheck SKU
198
190
  ✓ Find and read product by SKU
199
191
  ✓ 404 with different Store ID from env
200
- ⠋ List categories and typecheck result
201
- · 401 trying to list API events
202
- · 401 to create category and body typecheck
203
- · 204 to update products views
204
- [?25l ❯ tests/index.test.ts (7)
205
- ✓ Read product and typecheck SKU
206
- ✓ Find and read product by SKU
207
- ✓ 404 with different Store ID from env
208
- ⠙ List categories and typecheck result
209
- · 401 trying to list API events
192
+ ✓ List categories and typecheck result
193
+ ⠙ 401 trying to list API events
210
194
  · 401 to create category and body typecheck
211
195
  · 204 to update products views
212
196
  [?25l ❯ tests/index.test.ts (7)
@@ -214,8 +198,8 @@ GFJ4714
214
198
  ✓ Find and read product by SKU
215
199
  ✓ 404 with different Store ID from env
216
200
  ✓ List categories and typecheck result
217
- ⠙ 401 trying to list API events
218
- · 401 to create category and body typecheck
201
+ ✓ 401 trying to list API events
202
+ ⠙ 401 to create category and body typecheck
219
203
  · 204 to update products views
220
204
  [?25l ❯ tests/index.test.ts (7)
221
205
  ✓ Read product and typecheck SKU
@@ -223,7 +207,7 @@ GFJ4714
223
207
  ✓ 404 with different Store ID from env
224
208
  ✓ List categories and typecheck result
225
209
  ✓ 401 trying to list API events
226
- ⠙ 401 to create category and body typecheck
210
+ ⠹ 401 to create category and body typecheck
227
211
  · 204 to update products views
228
212
  [?25l ❯ tests/index.test.ts (7)
229
213
  ✓ Read product and typecheck SKU
@@ -265,39 +249,7 @@ GFJ4714
265
249
  ✓ 401 trying to list API events
266
250
  ✓ 401 to create category and body typecheck
267
251
  ⠴ 204 to update products views
268
- [?25l ❯ tests/index.test.ts (7)
269
- ✓ Read product and typecheck SKU
270
- ✓ Find and read product by SKU
271
- ✓ 404 with different Store ID from env
272
- ✓ List categories and typecheck result
273
- ✓ 401 trying to list API events
274
- ✓ 401 to create category and body typecheck
275
- ⠦ 204 to update products views
276
- [?25l ❯ tests/index.test.ts (7)
277
- ✓ Read product and typecheck SKU
278
- ✓ Find and read product by SKU
279
- ✓ 404 with different Store ID from env
280
- ✓ List categories and typecheck result
281
- ✓ 401 trying to list API events
282
- ✓ 401 to create category and body typecheck
283
- ⠧ 204 to update products views
284
- [?25l ❯ tests/index.test.ts (7)
285
- ✓ Read product and typecheck SKU
286
- ✓ Find and read product by SKU
287
- ✓ 404 with different Store ID from env
288
- ✓ List categories and typecheck result
289
- ✓ 401 trying to list API events
290
- ✓ 401 to create category and body typecheck
291
- ⠇ 204 to update products views
292
- [?25l ❯ tests/index.test.ts (7)
293
- ✓ Read product and typecheck SKU
294
- ✓ Find and read product by SKU
295
- ✓ 404 with different Store ID from env
296
- ✓ List categories and typecheck result
297
- ✓ 401 trying to list API events
298
- ✓ 401 to create category and body typecheck
299
- ⠏ 204 to update products views
300
- [?25l ✓ tests/index.test.ts (7) 664ms
252
+ [?25l ✓ tests/index.test.ts (7) 561ms
301
253
  ✓ Read product and typecheck SKU
302
254
  ✓ Find and read product by SKU
303
255
  ✓ 404 with different Store ID from env
@@ -305,7 +257,7 @@ GFJ4714
305
257
  ✓ 401 trying to list API events
306
258
  ✓ 401 to create category and body typecheck
307
259
  ✓ 204 to update products views
308
- [?25l ✓ tests/index.test.ts (7) 664ms
260
+  ✓ tests/index.test.ts (7) 561ms
309
261
  ✓ Read product and typecheck SKU
310
262
  ✓ Find and read product by SKU
311
263
  ✓ 404 with different Store ID from env
@@ -316,7 +268,7 @@ GFJ4714
316
268
 
317
269
   Test Files  1 passed (1)
318
270
   Tests  7 passed (7)
319
-  Start at  19:26:48
320
-  Duration  1.34s (transform 118ms, setup 1ms, collect 113ms, tests 664ms, environment 0ms, prepare 140ms)
271
+  Start at  20:04:43
272
+  Duration  1.10s (transform 125ms, setup 0ms, collect 122ms, tests 561ms, environment 0ms, prepare 116ms)
321
273
 
322
274
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.6.5",
4
+ "version": "2.7.1",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",