@cloudcommerce/api 2.7.3 → 2.7.4

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.7.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.3 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.7.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.3 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,44 @@
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
89
+ [?25l ❯ tests/index.test.ts (7)
90
+ ⠋ Read product and typecheck SKU
91
+ · Find and read product by SKU
92
+ · 404 with different Store ID from env
93
+ · List categories and typecheck result
94
+ · 401 trying to list API events
95
+ · 401 to create category and body typecheck
96
+ · 204 to update products views
65
97
  stdout | tests/index.test.ts > Read product and typecheck SKU
66
98
  GFJ4714
67
99
 
68
100
  [?25l ❯ tests/index.test.ts (7)
69
- ⠧ Read product and typecheck SKU
70
- · Find and read product by SKU
101
+ ✓ Read product and typecheck SKU
102
+ ⠙ Find and read product by SKU
71
103
  · 404 with different Store ID from env
72
104
  · List categories and typecheck result
73
105
  · 401 trying to list API events
@@ -75,7 +107,23 @@ GFJ4714
75
107
  · 204 to update products views
76
108
  [?25l ❯ tests/index.test.ts (7)
77
109
  ✓ Read product and typecheck SKU
78
- ⠙ Find and read product by SKU
110
+ ⠹ Find and read product by SKU
111
+ · 404 with different Store ID from env
112
+ · List categories and typecheck result
113
+ · 401 trying to list API events
114
+ · 401 to create category and body typecheck
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
+ [?25l ❯ tests/index.test.ts (7)
125
+ ✓ Read product and typecheck SKU
126
+ ⠼ Find and read product by SKU
79
127
  · 404 with different Store ID from env
80
128
  · List categories and typecheck result
81
129
  · 401 trying to list API events
@@ -173,8 +221,16 @@ GFJ4714
173
221
  ✓ Read product and typecheck SKU
174
222
  ✓ Find and read product by SKU
175
223
  ✓ 404 with different Store ID from env
176
- ✓ List categories and typecheck result
177
- ⠙ 401 trying to list API events
224
+ ⠋ List categories and typecheck result
225
+ · 401 trying to list API events
226
+ · 401 to create category and body typecheck
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
178
234
  · 401 to create category and body typecheck
179
235
  · 204 to update products views
180
236
  [?25l ❯ tests/index.test.ts (7)
@@ -182,8 +238,8 @@ GFJ4714
182
238
  ✓ Find and read product by SKU
183
239
  ✓ 404 with different Store ID from env
184
240
  ✓ List categories and typecheck result
185
- ✓ 401 trying to list API events
186
- ⠙ 401 to create category and body typecheck
241
+ ⠙ 401 trying to list API events
242
+ · 401 to create category and body typecheck
187
243
  · 204 to update products views
188
244
  [?25l ❯ tests/index.test.ts (7)
189
245
  ✓ Read product and typecheck SKU
@@ -191,7 +247,7 @@ GFJ4714
191
247
  ✓ 404 with different Store ID from env
192
248
  ✓ List categories and typecheck result
193
249
  ✓ 401 trying to list API events
194
- ⠹ 401 to create category and body typecheck
250
+ ⠙ 401 to create category and body typecheck
195
251
  · 204 to update products views
196
252
  [?25l ❯ tests/index.test.ts (7)
197
253
  ✓ Read product and typecheck SKU
@@ -241,7 +297,23 @@ GFJ4714
241
297
  ✓ 401 trying to list API events
242
298
  ✓ 401 to create category and body typecheck
243
299
  ⠦ 204 to update products views
244
- [?25l ✓ tests/index.test.ts (7) 534ms
300
+ [?25l ❯ tests/index.test.ts (7)
301
+ ✓ Read product and typecheck SKU
302
+ ✓ Find and read product by SKU
303
+ ✓ 404 with different Store ID from env
304
+ ✓ List categories and typecheck result
305
+ ✓ 401 trying to list API events
306
+ ✓ 401 to create category and body typecheck
307
+ ⠧ 204 to update products views
308
+ [?25l ❯ tests/index.test.ts (7)
309
+ ✓ Read product and typecheck SKU
310
+ ✓ Find and read product by SKU
311
+ ✓ 404 with different Store ID from env
312
+ ✓ List categories and typecheck result
313
+ ✓ 401 trying to list API events
314
+ ✓ 401 to create category and body typecheck
315
+ ⠇ 204 to update products views
316
+ [?25l ✓ tests/index.test.ts (7) 705ms
245
317
  ✓ Read product and typecheck SKU
246
318
  ✓ Find and read product by SKU
247
319
  ✓ 404 with different Store ID from env
@@ -249,7 +321,7 @@ GFJ4714
249
321
  ✓ 401 trying to list API events
250
322
  ✓ 401 to create category and body typecheck
251
323
  ✓ 204 to update products views
252
- [?25l ✓ tests/index.test.ts (7) 534ms
324
+ [?25l[?25l ✓ tests/index.test.ts (7) 705ms
253
325
  ✓ Read product and typecheck SKU
254
326
  ✓ Find and read product by SKU
255
327
  ✓ 404 with different Store ID from env
@@ -260,7 +332,7 @@ GFJ4714
260
332
 
261
333
   Test Files  1 passed (1)
262
334
   Tests  7 passed (7)
263
-  Start at  20:22:22
264
-  Duration  1.05s (transform 119ms, setup 1ms, collect 113ms, tests 534ms, environment 0ms, prepare 121ms)
335
+  Start at  17:42:09
336
+  Duration  1.29s (transform 128ms, setup 0ms, collect 121ms, tests 705ms, environment 0ms, prepare 128ms)
265
337
 
266
338
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.7.3",
4
+ "version": "2.7.4",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",