@cloudcommerce/api 2.4.3 → 2.5.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.4.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.3 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > bash ../../scripts/build-lib.sh
5
5
 
@@ -1,10 +1,10 @@
1
1
 
2
2
 
3
- > @cloudcommerce/api@2.4.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.3 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
7
-  RUN  v1.2.2 /home/leo/code/ecomplus/cloud-commerce/packages/api
7
+  RUN  v1.3.0 /home/leo/code/ecomplus/cloud-commerce/packages/api
8
8
 
9
9
  [?25l · tests/index.test.ts (7)
10
10
  · Read product and typecheck SKU
@@ -15,7 +15,7 @@
15
15
  · 401 to create category and body type
16
16
  check
17
17
  · 204 to update products views
18
- [?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
18
+ [?25l[?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
19
19
  ⠙ Read product and typecheck SKU
20
20
  · Find and read product by SKU
21
21
  · 404 with different Store ID from env
@@ -105,6 +105,24 @@ check
105
105
  · 401 to create category and body type
106
106
  check
107
107
  · 204 to update products views
108
+ [?25l ❯ tests/index.test.ts (7)
109
+ ⠙ Read product and typecheck 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 type
115
+ check
116
+ · 204 to update products views
117
+ [?25l ❯ tests/index.test.ts (7)
118
+ ⠹ Read product and typecheck SKU
119
+ · Find and read product by SKU
120
+ · 404 with different Store ID from env
121
+ · List categories and typecheck result
122
+ · 401 trying to list API events
123
+ · 401 to create category and body type
124
+ check
125
+ · 204 to update products views
108
126
  stdout | tests/index.test.ts > Read product and typecheck SKU
109
127
  GFJ4714
110
128
 
@@ -126,6 +144,15 @@ check
126
144
  · 401 to create category and body type
127
145
  check
128
146
  · 204 to update products views
147
+ [?25l ❯ tests/index.test.ts (7)
148
+ ✓ Read product and typecheck SKU
149
+ ⠸ Find and read product by SKU
150
+ · 404 with different Store ID from env
151
+ · List categories and typecheck result
152
+ · 401 trying to list API events
153
+ · 401 to create category and body type
154
+ check
155
+ · 204 to update products views
129
156
  [?25l ❯ tests/index.test.ts (7)
130
157
  ✓ Read product and typecheck SKU
131
158
  ✓ Find and read product by SKU
@@ -247,8 +274,62 @@ check
247
274
  ✓ Read product and typecheck SKU
248
275
  ✓ Find and read product by SKU
249
276
  ✓ 404 with different Store ID from env
250
- ✓ List categories and typecheck result
251
- ⠙ 401 trying to list API events
277
+ ⠙ List categories and typecheck result
278
+ · 401 trying to list API events
279
+ · 401 to create category and body type
280
+ check
281
+ · 204 to update products views
282
+ [?25l ❯ tests/index.test.ts (7)
283
+ ✓ Read product and typecheck SKU
284
+ ✓ Find and read product by SKU
285
+ ✓ 404 with different Store ID from env
286
+ ⠹ List categories and typecheck result
287
+ · 401 trying to list API events
288
+ · 401 to create category and body type
289
+ check
290
+ · 204 to update products views
291
+ [?25l ❯ tests/index.test.ts (7)
292
+ ✓ Read product and typecheck SKU
293
+ ✓ Find and read product by SKU
294
+ ✓ 404 with different Store ID from env
295
+ ⠸ List categories and typecheck result
296
+ · 401 trying to list API events
297
+ · 401 to create category and body type
298
+ check
299
+ · 204 to update products views
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 type
307
+ check
308
+ · 204 to update products views
309
+ [?25l ❯ tests/index.test.ts (7)
310
+ ✓ Read product and typecheck SKU
311
+ ✓ Find and read product by SKU
312
+ ✓ 404 with different Store ID from env
313
+ ⠴ List categories and typecheck result
314
+ · 401 trying to list API events
315
+ · 401 to create category and body type
316
+ check
317
+ · 204 to update products views
318
+ [?25l ❯ tests/index.test.ts (7)
319
+ ✓ Read product and typecheck SKU
320
+ ✓ Find and read product by SKU
321
+ ✓ 404 with different Store ID from env
322
+ ⠦ List categories and typecheck result
323
+ · 401 trying to list API events
324
+ · 401 to create category and body type
325
+ check
326
+ · 204 to update products views
327
+ [?25l ❯ tests/index.test.ts (7)
328
+ ✓ Read product and typecheck SKU
329
+ ✓ Find and read product by SKU
330
+ ✓ 404 with different Store ID from env
331
+ ⠧ List categories and typecheck result
332
+ · 401 trying to list API events
252
333
  · 401 to create category and body type
253
334
  check
254
335
  · 204 to update products views
@@ -256,113 +337,183 @@ check
256
337
  ✓ Read product and typecheck SKU
257
338
  ✓ Find and read product by SKU
258
339
  ✓ 404 with different Store ID from env
259
- ✓ List categories and typecheck result
340
+ ⠇ List categories and typecheck result
341
+ · 401 trying to list API events
342
+ · 401 to create category and body type
343
+ check
344
+ · 204 to update products views
345
+ [?25l ❯ tests/index.test.ts (7)
346
+ ✓ Read product and typecheck SKU
347
+ ✓ Find and read product by SKU
348
+ ✓ 404 with different Store ID from env
349
+ ✓ List categories and typecheck result
350
+  301ms
351
+ ⠙ 401 trying to list API events
352
+ · 401 to create category and body type
353
+ check
354
+ · 204 to update products views
355
+ [?25l ❯ tests/index.test.ts (7)
356
+ ✓ Read product and typecheck SKU
357
+ ✓ Find and read product by SKU
358
+ ✓ 404 with different Store ID from env
359
+ ✓ List categories and typecheck result
360
+  301ms
361
+ ⠹ 401 trying to list API events
362
+ · 401 to create category and body type
363
+ check
364
+ · 204 to update products views
365
+ [?25l ❯ tests/index.test.ts (7)
366
+ ✓ Read product and typecheck SKU
367
+ ✓ Find and read product by SKU
368
+ ✓ 404 with different Store ID from env
369
+ ✓ List categories and typecheck result
370
+  301ms
371
+ ⠸ 401 trying to list API events
372
+ · 401 to create category and body type
373
+ check
374
+ · 204 to update products views
375
+ [?25l ❯ tests/index.test.ts (7)
376
+ ✓ Read product and typecheck SKU
377
+ ✓ Find and read product by SKU
378
+ ✓ 404 with different Store ID from env
379
+ ✓ List categories and typecheck result
380
+  301ms
260
381
  ✓ 401 trying to list API events
261
382
  ⠙ 401 to create category and body type
262
383
  check
263
384
  · 204 to update products views
264
- [?25l ❯ tests/index.test.ts (7)
385
+ [?25l ❯ tests/index.test.ts (7)
265
386
  ✓ Read product and typecheck SKU
266
387
  ✓ Find and read product by SKU
267
388
  ✓ 404 with different Store ID from env
268
- ✓ List categories and typecheck result
389
+ ✓ List categories and typecheck result
390
+  301ms
269
391
  ✓ 401 trying to list API events
270
392
  ⠹ 401 to create category and body type
271
393
  check
272
394
  · 204 to update products views
273
- [?25l ❯ tests/index.test.ts (7)
395
+ [?25l ❯ tests/index.test.ts (7)
274
396
  ✓ Read product and typecheck SKU
275
397
  ✓ Find and read product by SKU
276
398
  ✓ 404 with different Store ID from env
277
- ✓ List categories and typecheck result
399
+ ✓ List categories and typecheck result
400
+  301ms
401
+ ✓ 401 trying to list API events
402
+ ⠸ 401 to create category and body type
403
+ check
404
+ · 204 to update products views
405
+ [?25l ❯ tests/index.test.ts (7)
406
+ ✓ Read product and typecheck SKU
407
+ ✓ Find and read product by SKU
408
+ ✓ 404 with different Store ID from env
409
+ ✓ List categories and typecheck result
410
+  301ms
278
411
  ✓ 401 trying to list API events
279
412
  ✓ 401 to create category and body type
280
413
  check
281
414
  ⠙ 204 to update products views
282
- [?25l ❯ tests/index.test.ts (7)
415
+ [?25l ❯ tests/index.test.ts (7)
283
416
  ✓ Read product and typecheck SKU
284
417
  ✓ Find and read product by SKU
285
418
  ✓ 404 with different Store ID from env
286
- ✓ List categories and typecheck result
419
+ ✓ List categories and typecheck result
420
+  301ms
287
421
  ✓ 401 trying to list API events
288
422
  ✓ 401 to create category and body type
289
423
  check
290
424
  ⠹ 204 to update products views
291
- [?25l ❯ tests/index.test.ts (7)
425
+ [?25l ❯ tests/index.test.ts (7)
292
426
  ✓ Read product and typecheck SKU
293
427
  ✓ Find and read product by SKU
294
428
  ✓ 404 with different Store ID from env
295
- ✓ List categories and typecheck result
429
+ ✓ List categories and typecheck result
430
+  301ms
296
431
  ✓ 401 trying to list API events
297
432
  ✓ 401 to create category and body type
298
433
  check
299
434
  ⠸ 204 to update products views
300
- [?25l ❯ tests/index.test.ts (7)
435
+ [?25l ❯ tests/index.test.ts (7)
301
436
  ✓ Read product and typecheck SKU
302
437
  ✓ Find and read product by SKU
303
438
  ✓ 404 with different Store ID from env
304
- ✓ List categories and typecheck result
439
+ ✓ List categories and typecheck result
440
+  301ms
305
441
  ✓ 401 trying to list API events
306
442
  ✓ 401 to create category and body type
307
443
  check
308
444
  ⠼ 204 to update products views
309
- [?25l ❯ tests/index.test.ts (7)
445
+ [?25l ❯ tests/index.test.ts (7)
310
446
  ✓ Read product and typecheck SKU
311
447
  ✓ Find and read product by SKU
312
448
  ✓ 404 with different Store ID from env
313
- ✓ List categories and typecheck result
449
+ ✓ List categories and typecheck result
450
+  301ms
314
451
  ✓ 401 trying to list API events
315
452
  ✓ 401 to create category and body type
316
453
  check
317
454
  ⠴ 204 to update products views
318
- [?25l ❯ tests/index.test.ts (7)
455
+ [?25l ❯ tests/index.test.ts (7)
319
456
  ✓ Read product and typecheck SKU
320
457
  ✓ Find and read product by SKU
321
458
  ✓ 404 with different Store ID from env
322
- ✓ List categories and typecheck result
459
+ ✓ List categories and typecheck result
460
+  301ms
323
461
  ✓ 401 trying to list API events
324
462
  ✓ 401 to create category and body type
325
463
  check
326
464
  ⠦ 204 to update products views
327
- [?25l ❯ tests/index.test.ts (7)
465
+ [?25l ❯ tests/index.test.ts (7)
328
466
  ✓ Read product and typecheck SKU
329
467
  ✓ Find and read product by SKU
330
468
  ✓ 404 with different Store ID from env
331
- ✓ List categories and typecheck result
469
+ ✓ List categories and typecheck result
470
+  301ms
332
471
  ✓ 401 trying to list API events
333
472
  ✓ 401 to create category and body type
334
473
  check
335
474
  ⠧ 204 to update products views
336
- [?25l ❯ tests/index.test.ts (7)
475
+ [?25l ❯ tests/index.test.ts (7)
337
476
  ✓ Read product and typecheck SKU
338
477
  ✓ Find and read product by SKU
339
478
  ✓ 404 with different Store ID from env
340
- ✓ List categories and typecheck result
479
+ ✓ List categories and typecheck result
480
+  301ms
341
481
  ✓ 401 trying to list API events
342
482
  ✓ 401 to create category and body type
343
483
  check
344
484
  ⠇ 204 to update products views
345
- [?25l ✓ tests/index.test.ts (7) 712ms
485
+ [?25l ❯ tests/index.test.ts (7)
486
+ ✓ Read product and typecheck SKU
487
+ ✓ Find and read product by SKU
488
+ ✓ 404 with different Store ID from env
489
+ ✓ List categories and typecheck result
490
+  301ms
491
+ ✓ 401 trying to list API events
492
+ ✓ 401 to create category and body type
493
+ check
494
+ ⠏ 204 to update products views
495
+ [?25l ✓ tests/index.test.ts (7) 962ms
346
496
  ✓ Read product and typecheck SKU
347
497
  ✓ Find and read product by SKU
348
498
  ✓ 404 with different Store ID from env
349
- ✓ List categories and typecheck result
499
+ ✓ List categories and typecheck result
500
+  301ms
350
501
  ✓ 401 trying to list API events
351
502
  ✓ 401 to create category and body type
352
503
  check
353
504
  ✓ 204 to update products views
354
-  ✓ tests/index.test.ts (7) 712ms
505
+ [?25l[?25l ✓ tests/index.test.ts (7) 962ms
355
506
  ✓ Read product and typecheck SKU
356
507
  ✓ Find and read product by SKU
357
508
  ✓ 404 with different Store ID from env
358
- ✓ List categories and typecheck result
509
+ ✓ List categories and typecheck result 301ms
359
510
  ✓ 401 trying to list API events
360
511
  ✓ 401 to create category and body typecheck
361
512
  ✓ 204 to update products views
362
513
 
363
514
   Test Files  1 passed (1)
364
515
   Tests  7 passed (7)
365
-  Start at  16:41:22
366
-  Duration  1.32s (transform 136ms, setup 0ms, collect 123ms, tests 712ms, environment 0ms, prepare 143ms)
516
+  Start at  17:23:47
517
+  Duration  1.63s (transform 155ms, setup 0ms, collect 152ms, tests 962ms, environment 0ms, prepare 176ms)
367
518
 
368
519
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.4.3",
4
+ "version": "2.5.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",