@cloudcommerce/api 2.3.4 → 2.4.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.3.3 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.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.3.3 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -117,15 +117,6 @@ check
117
117
  · 401 to create category and body type
118
118
  check
119
119
  · 204 to update products views
120
- [?25l ❯ tests/index.test.ts (7)
121
- ✓ Read product and typecheck SKU
122
- ✓ Find and read product by SKU
123
- ⠹ 404 with different Store ID from env
124
- · List categories and typecheck result
125
- · 401 trying to list API events
126
- · 401 to create category and body type
127
- check
128
- · 204 to update products views
129
120
  [?25l ❯ tests/index.test.ts (7)
130
121
  ✓ Read product and typecheck SKU
131
122
  ✓ Find and read product by SKU
@@ -211,8 +202,8 @@ check
211
202
  ✓ Read product and typecheck SKU
212
203
  ✓ Find and read product by SKU
213
204
  ✓ 404 with different Store ID from env
214
- ✓ List categories and typecheck result
215
- ⠙ 401 trying to list API events
205
+ ⠋ List categories and typecheck result
206
+ · 401 trying to list API events
216
207
  · 401 to create category and body type
217
208
  check
218
209
  · 204 to update products views
@@ -221,7 +212,7 @@ check
221
212
  ✓ Find and read product by SKU
222
213
  ✓ 404 with different Store ID from env
223
214
  ✓ List categories and typecheck result
224
- ⠹ 401 trying to list API events
215
+ ⠙ 401 trying to list API events
225
216
  · 401 to create category and body type
226
217
  check
227
218
  · 204 to update products views
@@ -240,9 +231,9 @@ check
240
231
  ✓ 404 with different Store ID from env
241
232
  ✓ List categories and typecheck result
242
233
  ✓ 401 trying to list API events
243
- ✓ 401 to create category and body type
234
+ ⠹ 401 to create category and body type
244
235
  check
245
- ⠙ 204 to update products views
236
+ · 204 to update products views
246
237
  [?25l ❯ tests/index.test.ts (7)
247
238
  ✓ Read product and typecheck SKU
248
239
  ✓ Find and read product by SKU
@@ -251,7 +242,7 @@ check
251
242
  ✓ 401 trying to list API events
252
243
  ✓ 401 to create category and body type
253
244
  check
254
- ⠹ 204 to update products views
245
+ ⠙ 204 to update products views
255
246
  [?25l ❯ tests/index.test.ts (7)
256
247
  ✓ Read product and typecheck SKU
257
248
  ✓ Find and read product by SKU
@@ -260,7 +251,7 @@ check
260
251
  ✓ 401 trying to list API events
261
252
  ✓ 401 to create category and body type
262
253
  check
263
- ⠸ 204 to update products views
254
+ ⠹ 204 to update products views
264
255
  [?25l ❯ tests/index.test.ts (7)
265
256
  ✓ Read product and typecheck SKU
266
257
  ✓ Find and read product by SKU
@@ -269,7 +260,7 @@ check
269
260
  ✓ 401 trying to list API events
270
261
  ✓ 401 to create category and body type
271
262
  check
272
- ⠼ 204 to update products views
263
+ ⠸ 204 to update products views
273
264
  [?25l ❯ tests/index.test.ts (7)
274
265
  ✓ Read product and typecheck SKU
275
266
  ✓ Find and read product by SKU
@@ -278,7 +269,7 @@ check
278
269
  ✓ 401 trying to list API events
279
270
  ✓ 401 to create category and body type
280
271
  check
281
- ⠴ 204 to update products views
272
+ ⠼ 204 to update products views
282
273
  [?25l ❯ tests/index.test.ts (7)
283
274
  ✓ Read product and typecheck SKU
284
275
  ✓ Find and read product by SKU
@@ -287,7 +278,7 @@ check
287
278
  ✓ 401 trying to list API events
288
279
  ✓ 401 to create category and body type
289
280
  check
290
- ⠦ 204 to update products views
281
+ ⠴ 204 to update products views
291
282
  [?25l ❯ tests/index.test.ts (7)
292
283
  ✓ Read product and typecheck SKU
293
284
  ✓ Find and read product by SKU
@@ -296,8 +287,8 @@ check
296
287
  ✓ 401 trying to list API events
297
288
  ✓ 401 to create category and body type
298
289
  check
299
- ⠧ 204 to update products views
300
- [?25l ✓ tests/index.test.ts (7) 585ms
290
+ ⠦ 204 to update products views
291
+ [?25l ✓ tests/index.test.ts (7) 565ms
301
292
  ✓ Read product and typecheck SKU
302
293
  ✓ Find and read product by SKU
303
294
  ✓ 404 with different Store ID from env
@@ -306,7 +297,7 @@ check
306
297
  ✓ 401 to create category and body type
307
298
  check
308
299
  ✓ 204 to update products views
309
- [?25l ✓ tests/index.test.ts (7) 585ms
300
+  ✓ tests/index.test.ts (7) 565ms
310
301
  ✓ Read product and typecheck SKU
311
302
  ✓ Find and read product by SKU
312
303
  ✓ 404 with different Store ID from env
@@ -317,7 +308,7 @@ check
317
308
 
318
309
   Test Files  1 passed (1)
319
310
   Tests  7 passed (7)
320
-  Start at  21:46:13
321
-  Duration  1.16s (transform 119ms, setup 0ms, collect 115ms, tests 585ms, environment 0ms, prepare 133ms)
311
+  Start at  00:45:36
312
+  Duration  1.07s (transform 119ms, setup 1ms, collect 114ms, tests 565ms, environment 0ms, prepare 111ms)
322
313
 
323
314
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.3.4",
4
+ "version": "2.4.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",