@cloudcommerce/api 2.6.2 → 2.6.3

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