@cloudcommerce/api 2.8.6 → 2.8.8

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.5 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.7 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.5 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.7 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,20 @@
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
65
73
  stdout | tests/index.test.ts > Read product and typecheck SKU
66
74
  GFJ4714
67
75
 
68
76
  [?25l ❯ tests/index.test.ts (7)
69
- ✓ Read product and typecheck SKU
70
- ⠙ Find and read product by SKU
77
+ ⠇ Read product and typecheck SKU
78
+ · Find and read product by SKU
71
79
  · 404 with different Store ID from env
72
80
  · List categories and typecheck result
73
81
  · 401 trying to list API events
@@ -75,7 +83,7 @@ GFJ4714
75
83
  · 204 to update products views
76
84
  [?25l ❯ tests/index.test.ts (7)
77
85
  ✓ Read product and typecheck SKU
78
- ⠹ Find and read product by SKU
86
+ ⠙ Find and read product by SKU
79
87
  · 404 with different Store ID from env
80
88
  · List categories and typecheck result
81
89
  · 401 trying to list API events
@@ -83,8 +91,8 @@ GFJ4714
83
91
  · 204 to update products views
84
92
  [?25l ❯ tests/index.test.ts (7)
85
93
  ✓ Read product and typecheck SKU
86
- ✓ Find and read product by SKU
87
- ⠙ 404 with different Store ID from env
94
+ ⠹ Find and read product by SKU
95
+ · 404 with different Store ID from env
88
96
  · List categories and typecheck result
89
97
  · 401 trying to list API events
90
98
  · 401 to create category and body typecheck
@@ -92,7 +100,7 @@ GFJ4714
92
100
  [?25l ❯ tests/index.test.ts (7)
93
101
  ✓ Read product and typecheck SKU
94
102
  ✓ Find and read product by SKU
95
- ⠹ 404 with different Store ID from env
103
+ ⠙ 404 with different Store ID from env
96
104
  · List categories and typecheck result
97
105
  · 401 trying to list API events
98
106
  · 401 to create category and body typecheck
@@ -181,8 +189,8 @@ GFJ4714
181
189
  ✓ Read product and typecheck SKU
182
190
  ✓ Find and read product by SKU
183
191
  ✓ 404 with different Store ID from env
184
- ✓ List categories and typecheck result
185
- ⠙ 401 trying to list API events
192
+ ⠙ List categories and typecheck result
193
+ · 401 trying to list API events
186
194
  · 401 to create category and body typecheck
187
195
  · 204 to update products views
188
196
  [?25l ❯ tests/index.test.ts (7)
@@ -190,8 +198,8 @@ GFJ4714
190
198
  ✓ Find and read product by SKU
191
199
  ✓ 404 with different Store ID from env
192
200
  ✓ List categories and typecheck result
193
- ✓ 401 trying to list API events
194
- ⠙ 401 to create category and body typecheck
201
+ ⠙ 401 trying to list API events
202
+ · 401 to create category and body typecheck
195
203
  · 204 to update products views
196
204
  [?25l ❯ tests/index.test.ts (7)
197
205
  ✓ Read product and typecheck SKU
@@ -199,7 +207,7 @@ GFJ4714
199
207
  ✓ 404 with different Store ID from env
200
208
  ✓ List categories and typecheck result
201
209
  ✓ 401 trying to list API events
202
- ⠹ 401 to create category and body typecheck
210
+ ⠙ 401 to create category and body typecheck
203
211
  · 204 to update products views
204
212
  [?25l ❯ tests/index.test.ts (7)
205
213
  ✓ Read product and typecheck SKU
@@ -207,7 +215,7 @@ GFJ4714
207
215
  ✓ 404 with different Store ID from env
208
216
  ✓ List categories and typecheck result
209
217
  ✓ 401 trying to list API events
210
- ⠸ 401 to create category and body typecheck
218
+ ⠹ 401 to create category and body typecheck
211
219
  · 204 to update products views
212
220
  [?25l ❯ tests/index.test.ts (7)
213
221
  ✓ Read product and typecheck SKU
@@ -249,7 +257,31 @@ GFJ4714
249
257
  ✓ 401 trying to list API events
250
258
  ✓ 401 to create category and body typecheck
251
259
  ⠴ 204 to update products views
252
- [?25l ✓ tests/index.test.ts (7) 555ms
260
+ [?25l ❯ tests/index.test.ts (7)
261
+ ✓ Read product and typecheck SKU
262
+ ✓ Find and read product by SKU
263
+ ✓ 404 with different Store ID from env
264
+ ✓ List categories and typecheck result
265
+ ✓ 401 trying to list API events
266
+ ✓ 401 to create category and body typecheck
267
+ ⠦ 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) 618ms
253
285
  ✓ Read product and typecheck SKU
254
286
  ✓ Find and read product by SKU
255
287
  ✓ 404 with different Store ID from env
@@ -257,7 +289,7 @@ GFJ4714
257
289
  ✓ 401 trying to list API events
258
290
  ✓ 401 to create category and body typecheck
259
291
  ✓ 204 to update products views
260
- [?25l ✓ tests/index.test.ts (7) 555ms
292
+  ✓ tests/index.test.ts (7) 618ms
261
293
  ✓ Read product and typecheck SKU
262
294
  ✓ Find and read product by SKU
263
295
  ✓ 404 with different Store ID from env
@@ -268,7 +300,7 @@ GFJ4714
268
300
 
269
301
   Test Files  1 passed (1)
270
302
   Tests  7 passed (7)
271
-  Start at  23:58:58
272
-  Duration  1.08s (transform 122ms, setup 0ms, collect 104ms, tests 555ms, environment 0ms, prepare 132ms)
303
+  Start at  16:07:39
304
+  Duration  1.16s (transform 130ms, setup 0ms, collect 125ms, tests 618ms, environment 0ms, prepare 129ms)
273
305
 
274
306
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.8.6",
4
+ "version": "2.8.8",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",