@cloudcommerce/api 2.8.7 → 2.9.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.
@@ -1,5 +1,5 @@
1
1
 
2
2
 
3
- > @cloudcommerce/api@2.8.6 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.8 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.8.6 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.8 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 ❯ 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
@@ -78,14 +78,6 @@
78
78
  · 401 trying to list API events
79
79
  · 401 to create category and body typecheck
80
80
  · 204 to update products views
81
- [?25l ❯ tests/index.test.ts (7)
82
- ⠏ Read product and typecheck SKU
83
- · Find and read product by SKU
84
- · 404 with different Store ID from env
85
- · List categories and typecheck result
86
- · 401 trying to list API events
87
- · 401 to create category and body typecheck
88
- · 204 to update products views
89
81
  stdout | tests/index.test.ts > Read product and typecheck SKU
90
82
  GFJ4714
91
83
 
@@ -121,6 +113,14 @@ GFJ4714
121
113
  · 401 trying to list API events
122
114
  · 401 to create category and body typecheck
123
115
  · 204 to update products views
116
+ [?25l ❯ tests/index.test.ts (7)
117
+ ✓ Read product and typecheck SKU
118
+ ✓ Find and read product by SKU
119
+ ⠸ 404 with different Store ID from env
120
+ · List categories and typecheck result
121
+ · 401 trying to list API events
122
+ · 401 to create category and body typecheck
123
+ · 204 to update products views
124
124
  [?25l ❯ tests/index.test.ts (7)
125
125
  ✓ Read product and typecheck SKU
126
126
  ✓ Find and read product by SKU
@@ -225,6 +225,14 @@ GFJ4714
225
225
  ✓ 401 trying to list API events
226
226
  ⠹ 401 to create category and body typecheck
227
227
  · 204 to update products views
228
+ [?25l ❯ tests/index.test.ts (7)
229
+ ✓ Read product and typecheck SKU
230
+ ✓ Find and read product by SKU
231
+ ✓ 404 with different Store ID from env
232
+ ✓ List categories and typecheck result
233
+ ✓ 401 trying to list API events
234
+ ⠸ 401 to create category and body typecheck
235
+ · 204 to update products views
228
236
  [?25l ❯ tests/index.test.ts (7)
229
237
  ✓ Read product and typecheck SKU
230
238
  ✓ Find and read product by SKU
@@ -273,7 +281,23 @@ GFJ4714
273
281
  ✓ 401 trying to list API events
274
282
  ✓ 401 to create category and body typecheck
275
283
  ⠦ 204 to update products views
276
- [?25l ✓ tests/index.test.ts (7) 585ms
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) 648ms
277
301
  ✓ Read product and typecheck SKU
278
302
  ✓ Find and read product by SKU
279
303
  ✓ 404 with different Store ID from env
@@ -281,7 +305,7 @@ GFJ4714
281
305
  ✓ 401 trying to list API events
282
306
  ✓ 401 to create category and body typecheck
283
307
  ✓ 204 to update products views
284
-  ✓ tests/index.test.ts (7) 585ms
308
+ [?25l ✓ tests/index.test.ts (7) 648ms
285
309
  ✓ Read product and typecheck SKU
286
310
  ✓ Find and read product by SKU
287
311
  ✓ 404 with different Store ID from env
@@ -292,7 +316,7 @@ GFJ4714
292
316
 
293
317
   Test Files  1 passed (1)
294
318
   Tests  7 passed (7)
295
-  Start at  00:11:54
296
-  Duration  1.10s (transform 124ms, setup 1ms, collect 124ms, tests 585ms, environment 0ms, prepare 105ms)
319
+  Start at  21:58:28
320
+  Duration  1.22s (transform 127ms, setup 0ms, collect 116ms, tests 648ms, environment 0ms, prepare 141ms)
297
321
 
298
322
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.8.7",
4
+ "version": "2.9.0",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",