@cloudcommerce/api 2.8.5 → 2.8.7

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.4 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.6 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.4 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.6 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -62,12 +62,36 @@
62
62
  · 401 trying to list API events
63
63
  · 401 to create category and body typecheck
64
64
  · 204 to update products views
65
+ [?25l ❯ tests/index.test.ts (7)
66
+ ⠧ Read product and typecheck SKU
67
+ · Find and read product by SKU
68
+ · 404 with different Store ID from env
69
+ · List categories and typecheck result
70
+ · 401 trying to list API events
71
+ · 401 to create category and body typecheck
72
+ · 204 to update products views
73
+ [?25l ❯ tests/index.test.ts (7)
74
+ ⠇ Read product and typecheck SKU
75
+ · Find and read product by SKU
76
+ · 404 with different Store ID from env
77
+ · List categories and typecheck result
78
+ · 401 trying to list API events
79
+ · 401 to create category and body typecheck
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
65
89
  stdout | tests/index.test.ts > Read product and typecheck SKU
66
90
  GFJ4714
67
91
 
68
92
  [?25l ❯ tests/index.test.ts (7)
69
- ⠧ Read product and typecheck SKU
70
- · Find and read product by SKU
93
+ ✓ Read product and typecheck SKU
94
+ ⠙ Find and read product by SKU
71
95
  · 404 with different Store ID from env
72
96
  · List categories and typecheck result
73
97
  · 401 trying to list API events
@@ -75,7 +99,7 @@ GFJ4714
75
99
  · 204 to update products views
76
100
  [?25l ❯ tests/index.test.ts (7)
77
101
  ✓ Read product and typecheck SKU
78
- ⠙ Find and read product by SKU
102
+ ⠹ Find and read product by SKU
79
103
  · 404 with different Store ID from env
80
104
  · List categories and typecheck result
81
105
  · 401 trying to list API events
@@ -185,14 +209,6 @@ GFJ4714
185
209
  ⠙ 401 trying to list API events
186
210
  · 401 to create category and body typecheck
187
211
  · 204 to update products views
188
- [?25l ❯ tests/index.test.ts (7)
189
- ✓ Read product and typecheck SKU
190
- ✓ Find and read product by SKU
191
- ✓ 404 with different Store ID from env
192
- ✓ List categories and typecheck result
193
- ⠹ 401 trying to list API events
194
- · 401 to create category and body typecheck
195
- · 204 to update products views
196
212
  [?25l ❯ tests/index.test.ts (7)
197
213
  ✓ Read product and typecheck SKU
198
214
  ✓ Find and read product by SKU
@@ -249,7 +265,15 @@ GFJ4714
249
265
  ✓ 401 trying to list API events
250
266
  ✓ 401 to create category and body typecheck
251
267
  ⠴ 204 to update products views
252
- [?25l ✓ tests/index.test.ts (7) 546ms
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) 585ms
253
277
  ✓ Read product and typecheck SKU
254
278
  ✓ Find and read product by SKU
255
279
  ✓ 404 with different Store ID from env
@@ -257,7 +281,7 @@ GFJ4714
257
281
  ✓ 401 trying to list API events
258
282
  ✓ 401 to create category and body typecheck
259
283
  ✓ 204 to update products views
260
- [?25l ✓ tests/index.test.ts (7) 546ms
284
+  ✓ tests/index.test.ts (7) 585ms
261
285
  ✓ Read product and typecheck SKU
262
286
  ✓ Find and read product by SKU
263
287
  ✓ 404 with different Store ID from env
@@ -268,7 +292,7 @@ GFJ4714
268
292
 
269
293
   Test Files  1 passed (1)
270
294
   Tests  7 passed (7)
271
-  Start at  23:18:17
272
-  Duration  1.08s (transform 124ms, setup 0ms, collect 115ms, tests 546ms, environment 0ms, prepare 134ms)
295
+  Start at  00:11:54
296
+  Duration  1.10s (transform 124ms, setup 1ms, collect 124ms, tests 585ms, environment 0ms, prepare 105ms)
273
297
 
274
298
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.8.5",
4
+ "version": "2.8.7",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",