@cloudcommerce/api 2.6.3 → 2.6.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.6.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.6.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.6.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.6.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.3.0 /home/leo/code/ecomplus/cloud-commerce/packages/api
7
+  RUN  v1.3.1 /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
@@ -17,7 +17,7 @@ ult
17
17
  · 401 to create category and body t
18
18
  ypecheck
19
19
  · 204 to update products views
20
- [?25l[?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
20
+ [?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
21
21
  ⠙ Read product and typecheck SKU
22
22
  · Find and read product by SKU
23
23
  · 404 with different Store ID from
@@ -116,7 +116,10 @@ ult
116
116
  · 401 to create category and body t
117
117
  ypecheck
118
118
  · 204 to update products views
119
- [?25l ❯ tests/index.test.ts (7)
119
+ stdout | tests/index.test.ts > Read product and typecheck SKU
120
+ GFJ4714
121
+
122
+ [?25l ❯ tests/index.test.ts (7)
120
123
  ⠋ Read product and typecheck SKU
121
124
  · Find and read product by SKU
122
125
  · 404 with different Store ID from
@@ -128,33 +131,7 @@ ult
128
131
  ypecheck
129
132
  · 204 to update products views
130
133
  [?25l ❯ tests/index.test.ts (7)
131
- ⠙ Read product and typecheck SKU
132
- · Find and read product by SKU
133
- · 404 with different Store ID from
134
- env
135
- · List categories and typecheck res
136
- ult
137
- · 401 trying to list API events
138
- · 401 to create category and body t
139
- ypecheck
140
- · 204 to update products views
141
- [?25l ❯ tests/index.test.ts (7)
142
- ⠹ Read product and typecheck SKU
143
- · Find and read product by SKU
144
- · 404 with different Store ID from
145
- env
146
- · List categories and typecheck res
147
- ult
148
- · 401 trying to list API events
149
- · 401 to create category and body t
150
- ypecheck
151
- · 204 to update products views
152
- stdout | tests/index.test.ts > Read product and typecheck SKU
153
- GFJ4714
154
-
155
- [?25l ❯ tests/index.test.ts (7)
156
- ✓ Read product and typecheck SKU 30
157
- 1ms
134
+ ✓ Read product and typecheck SKU
158
135
  ⠙ Find and read product by SKU
159
136
  · 404 with different Store ID from
160
137
  env
@@ -164,9 +141,8 @@ ult
164
141
  · 401 to create category and body t
165
142
  ypecheck
166
143
  · 204 to update products views
167
- [?25l ❯ tests/index.test.ts (7)
168
- ✓ Read product and typecheck SKU 30
169
- 1ms
144
+ [?25l ❯ tests/index.test.ts (7)
145
+ ✓ Read product and typecheck SKU
170
146
  ⠹ Find and read product by SKU
171
147
  · 404 with different Store ID from
172
148
  env
@@ -176,21 +152,8 @@ ult
176
152
  · 401 to create category and body t
177
153
  ypecheck
178
154
  · 204 to update products views
179
- [?25l ❯ tests/index.test.ts (7)
180
- ✓ Read product and typecheck SKU 30
181
- 1ms
182
- ⠸ Find and read product by SKU
183
- · 404 with different Store ID from
184
- env
185
- · List categories and typecheck res
186
- ult
187
- · 401 trying to list API events
188
- · 401 to create category and body t
189
- ypecheck
190
- · 204 to update products views
191
- [?25l ❯ tests/index.test.ts (7)
192
- ✓ Read product and typecheck SKU 30
193
- 1ms
155
+ [?25l ❯ tests/index.test.ts (7)
156
+ ✓ Read product and typecheck SKU
194
157
  ✓ Find and read product by SKU
195
158
  ⠙ 404 with different Store ID from
196
159
  env
@@ -200,9 +163,8 @@ ult
200
163
  · 401 to create category and body t
201
164
  ypecheck
202
165
  · 204 to update products views
203
- [?25l ❯ tests/index.test.ts (7)
204
- ✓ Read product and typecheck SKU 30
205
- 1ms
166
+ [?25l ❯ tests/index.test.ts (7)
167
+ ✓ Read product and typecheck SKU
206
168
  ✓ Find and read product by SKU
207
169
  ⠹ 404 with different Store ID from
208
170
  env
@@ -212,9 +174,8 @@ ult
212
174
  · 401 to create category and body t
213
175
  ypecheck
214
176
  · 204 to update products views
215
- [?25l ❯ tests/index.test.ts (7)
216
- ✓ Read product and typecheck SKU 30
217
- 1ms
177
+ [?25l ❯ tests/index.test.ts (7)
178
+ ✓ Read product and typecheck SKU
218
179
  ✓ Find and read product by SKU
219
180
  ✓ 404 with different Store ID from
220
181
  env
@@ -224,9 +185,8 @@ ult
224
185
  · 401 to create category and body t
225
186
  ypecheck
226
187
  · 204 to update products views
227
- [?25l ❯ tests/index.test.ts (7)
228
- ✓ Read product and typecheck SKU 30
229
- 1ms
188
+ [?25l ❯ tests/index.test.ts (7)
189
+ ✓ Read product and typecheck SKU
230
190
  ✓ Find and read product by SKU
231
191
  ✓ 404 with different Store ID from
232
192
  env
@@ -236,9 +196,8 @@ ult
236
196
  · 401 to create category and body t
237
197
  ypecheck
238
198
  · 204 to update products views
239
- [?25l ❯ tests/index.test.ts (7)
240
- ✓ Read product and typecheck SKU 30
241
- 1ms
199
+ [?25l ❯ tests/index.test.ts (7)
200
+ ✓ Read product and typecheck SKU
242
201
  ✓ Find and read product by SKU
243
202
  ✓ 404 with different Store ID from
244
203
  env
@@ -248,9 +207,8 @@ ult
248
207
  · 401 to create category and body t
249
208
  ypecheck
250
209
  · 204 to update products views
251
- [?25l ❯ tests/index.test.ts (7)
252
- ✓ Read product and typecheck SKU 30
253
- 1ms
210
+ [?25l ❯ tests/index.test.ts (7)
211
+ ✓ Read product and typecheck SKU
254
212
  ✓ Find and read product by SKU
255
213
  ✓ 404 with different Store ID from
256
214
  env
@@ -260,9 +218,8 @@ ult
260
218
  · 401 to create category and body t
261
219
  ypecheck
262
220
  · 204 to update products views
263
- [?25l ❯ tests/index.test.ts (7)
264
- ✓ Read product and typecheck SKU 30
265
- 1ms
221
+ [?25l ❯ tests/index.test.ts (7)
222
+ ✓ Read product and typecheck SKU
266
223
  ✓ Find and read product by SKU
267
224
  ✓ 404 with different Store ID from
268
225
  env
@@ -272,9 +229,8 @@ ult
272
229
  · 401 to create category and body t
273
230
  ypecheck
274
231
  · 204 to update products views
275
- [?25l ❯ tests/index.test.ts (7)
276
- ✓ Read product and typecheck SKU 30
277
- 1ms
232
+ [?25l ❯ tests/index.test.ts (7)
233
+ ✓ Read product and typecheck SKU
278
234
  ✓ Find and read product by SKU
279
235
  ✓ 404 with different Store ID from
280
236
  env
@@ -284,9 +240,8 @@ ult
284
240
  · 401 to create category and body t
285
241
  ypecheck
286
242
  · 204 to update products views
287
- [?25l ❯ tests/index.test.ts (7)
288
- ✓ Read product and typecheck SKU 30
289
- 1ms
243
+ [?25l ❯ tests/index.test.ts (7)
244
+ ✓ Read product and typecheck SKU
290
245
  ✓ Find and read product by SKU
291
246
  ✓ 404 with different Store ID from
292
247
  env
@@ -296,9 +251,8 @@ ult
296
251
  · 401 to create category and body t
297
252
  ypecheck
298
253
  · 204 to update products views
299
- [?25l ❯ tests/index.test.ts (7)
300
- ✓ Read product and typecheck SKU 30
301
- 1ms
254
+ [?25l ❯ tests/index.test.ts (7)
255
+ ✓ Read product and typecheck SKU
302
256
  ✓ Find and read product by SKU
303
257
  ✓ 404 with different Store ID from
304
258
  env
@@ -308,9 +262,8 @@ ult
308
262
  · 401 to create category and body t
309
263
  ypecheck
310
264
  · 204 to update products views
311
- [?25l ❯ tests/index.test.ts (7)
312
- ✓ Read product and typecheck SKU 30
313
- 1ms
265
+ [?25l ❯ tests/index.test.ts (7)
266
+ ✓ Read product and typecheck SKU
314
267
  ✓ Find and read product by SKU
315
268
  ✓ 404 with different Store ID from
316
269
  env
@@ -320,9 +273,8 @@ ult
320
273
  · 401 to create category and body t
321
274
  ypecheck
322
275
  · 204 to update products views
323
- [?25l ❯ tests/index.test.ts (7)
324
- ✓ Read product and typecheck SKU 30
325
- 1ms
276
+ [?25l ❯ tests/index.test.ts (7)
277
+ ✓ Read product and typecheck SKU
326
278
  ✓ Find and read product by SKU
327
279
  ✓ 404 with different Store ID from
328
280
  env
@@ -332,9 +284,8 @@ ult
332
284
  · 401 to create category and body t
333
285
  ypecheck
334
286
  · 204 to update products views
335
- [?25l ❯ tests/index.test.ts (7)
336
- ✓ Read product and typecheck SKU 30
337
- 1ms
287
+ [?25l ❯ tests/index.test.ts (7)
288
+ ✓ Read product and typecheck SKU
338
289
  ✓ Find and read product by SKU
339
290
  ✓ 404 with different Store ID from
340
291
  env
@@ -344,9 +295,19 @@ ult
344
295
  · 401 to create category and body t
345
296
  ypecheck
346
297
  · 204 to update products views
347
- [?25l ❯ tests/index.test.ts (7)
348
- ✓ Read product and typecheck SKU 30
349
- 1ms
298
+ [?25l ❯ tests/index.test.ts (7)
299
+ ✓ Read product and typecheck SKU
300
+ ✓ Find and read product by SKU
301
+ ✓ 404 with different Store ID from
302
+ env
303
+ ✓ List categories and typecheck res
304
+ ult
305
+ ⠹ 401 trying to list API events
306
+ · 401 to create category and body t
307
+ ypecheck
308
+ · 204 to update products views
309
+ [?25l ❯ tests/index.test.ts (7)
310
+ ✓ Read product and typecheck SKU
350
311
  ✓ Find and read product by SKU
351
312
  ✓ 404 with different Store ID from
352
313
  env
@@ -356,9 +317,8 @@ ult
356
317
  ⠙ 401 to create category and body t
357
318
  ypecheck
358
319
  · 204 to update products views
359
- [?25l ❯ tests/index.test.ts (7)
360
- ✓ Read product and typecheck SKU 30
361
- 1ms
320
+ [?25l ❯ tests/index.test.ts (7)
321
+ ✓ Read product and typecheck SKU
362
322
  ✓ Find and read product by SKU
363
323
  ✓ 404 with different Store ID from
364
324
  env
@@ -368,9 +328,8 @@ ult
368
328
  ⠹ 401 to create category and body t
369
329
  ypecheck
370
330
  · 204 to update products views
371
- [?25l ❯ tests/index.test.ts (7)
372
- ✓ Read product and typecheck SKU 30
373
- 1ms
331
+ [?25l ❯ tests/index.test.ts (7)
332
+ ✓ Read product and typecheck SKU
374
333
  ✓ Find and read product by SKU
375
334
  ✓ 404 with different Store ID from
376
335
  env
@@ -380,9 +339,8 @@ ult
380
339
  ✓ 401 to create category and body t
381
340
  ypecheck
382
341
  ⠙ 204 to update products views
383
- [?25l ❯ tests/index.test.ts (7)
384
- ✓ Read product and typecheck SKU 30
385
- 1ms
342
+ [?25l ❯ tests/index.test.ts (7)
343
+ ✓ Read product and typecheck SKU
386
344
  ✓ Find and read product by SKU
387
345
  ✓ 404 with different Store ID from
388
346
  env
@@ -392,9 +350,8 @@ ult
392
350
  ✓ 401 to create category and body t
393
351
  ypecheck
394
352
  ⠹ 204 to update products views
395
- [?25l ❯ tests/index.test.ts (7)
396
- ✓ Read product and typecheck SKU 30
397
- 1ms
353
+ [?25l ❯ tests/index.test.ts (7)
354
+ ✓ Read product and typecheck SKU
398
355
  ✓ Find and read product by SKU
399
356
  ✓ 404 with different Store ID from
400
357
  env
@@ -404,9 +361,8 @@ ult
404
361
  ✓ 401 to create category and body t
405
362
  ypecheck
406
363
  ⠸ 204 to update products views
407
- [?25l ❯ tests/index.test.ts (7)
408
- ✓ Read product and typecheck SKU 30
409
- 1ms
364
+ [?25l ❯ tests/index.test.ts (7)
365
+ ✓ Read product and typecheck SKU
410
366
  ✓ Find and read product by SKU
411
367
  ✓ 404 with different Store ID from
412
368
  env
@@ -416,9 +372,8 @@ ult
416
372
  ✓ 401 to create category and body t
417
373
  ypecheck
418
374
  ⠼ 204 to update products views
419
- [?25l ❯ tests/index.test.ts (7)
420
- ✓ Read product and typecheck SKU 30
421
- 1ms
375
+ [?25l ❯ tests/index.test.ts (7)
376
+ ✓ Read product and typecheck SKU
422
377
  ✓ Find and read product by SKU
423
378
  ✓ 404 with different Store ID from
424
379
  env
@@ -428,9 +383,8 @@ ult
428
383
  ✓ 401 to create category and body t
429
384
  ypecheck
430
385
  ⠴ 204 to update products views
431
- [?25l ❯ tests/index.test.ts (7)
432
- ✓ Read product and typecheck SKU 30
433
- 1ms
386
+ [?25l ❯ tests/index.test.ts (7)
387
+ ✓ Read product and typecheck SKU
434
388
  ✓ Find and read product by SKU
435
389
  ✓ 404 with different Store ID from
436
390
  env
@@ -440,9 +394,8 @@ ult
440
394
  ✓ 401 to create category and body t
441
395
  ypecheck
442
396
  ⠦ 204 to update products views
443
- [?25l ❯ tests/index.test.ts (7)
444
- ✓ Read product and typecheck SKU 30
445
- 1ms
397
+ [?25l ❯ tests/index.test.ts (7)
398
+ ✓ Read product and typecheck SKU
446
399
  ✓ Find and read product by SKU
447
400
  ✓ 404 with different Store ID from
448
401
  env
@@ -452,9 +405,8 @@ ult
452
405
  ✓ 401 to create category and body t
453
406
  ypecheck
454
407
  ⠧ 204 to update products views
455
- [?25l ❯ tests/index.test.ts (7)
456
- ✓ Read product and typecheck SKU 30
457
- 1ms
408
+ [?25l ❯ tests/index.test.ts (7)
409
+ ✓ Read product and typecheck SKU
458
410
  ✓ Find and read product by SKU
459
411
  ✓ 404 with different Store ID from
460
412
  env
@@ -464,9 +416,8 @@ ult
464
416
  ✓ 401 to create category and body t
465
417
  ypecheck
466
418
  ⠇ 204 to update products views
467
- [?25l ✓ tests/index.test.ts (7) 730ms
468
- ✓ Read product and typecheck SKU 30
469
- 1ms
419
+ [?25l ✓ tests/index.test.ts (7) 678ms
420
+ ✓ Read product and typecheck SKU
470
421
  ✓ Find and read product by SKU
471
422
  ✓ 404 with different Store ID from
472
423
  env
@@ -476,8 +427,8 @@ ult
476
427
  ✓ 401 to create category and body t
477
428
  ypecheck
478
429
  ✓ 204 to update products views
479
- [?25l ✓ tests/index.test.ts (7) 730ms
480
- ✓ Read product and typecheck SKU 301ms
430
+ [?25l ✓ tests/index.test.ts (7) 678ms
431
+ ✓ Read product and typecheck SKU
481
432
  ✓ Find and read product by SKU
482
433
  ✓ 404 with different Store ID from env
483
434
  ✓ List categories and typecheck result
@@ -487,7 +438,7 @@ ypecheck
487
438
 
488
439
   Test Files  1 passed (1)
489
440
   Tests  7 passed (7)
490
-  Start at  19:15:57
491
-  Duration  1.36s (transform 160ms, setup 1ms, collect 166ms, tests 730ms, environment 0ms, prepare 157ms)
441
+  Start at  23:51:55
442
+  Duration  1.21s (transform 123ms, setup 0ms, collect 115ms, tests 678ms, environment 0ms, prepare 131ms)
492
443
 
493
444
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.6.3",
4
+ "version": "2.6.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",