@cloudcommerce/api 2.3.1 → 2.3.2

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,4 +1,5 @@
1
-
2
- > @cloudcommerce/api@2.3.0 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
- > bash ../../scripts/build-lib.sh
4
-
1
+
2
+
3
+ > @cloudcommerce/api@2.3.1 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
+ > bash ../../scripts/build-lib.sh
5
+
@@ -1,23 +1,466 @@
1
-
2
- > @cloudcommerce/api@2.3.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
- > tsc -p ../../tsconfig.test.json && vitest run
4
-
5
-
6
- RUN v1.2.2 /home/leo/code/ecomplus/cloud-commerce/packages/api
7
-
8
- stdout | tests/index.test.ts > Read product and typecheck SKU
9
- GFJ4714
10
-
11
- tests/index.test.ts > Read product and typecheck SKU
12
- tests/index.test.ts > Find and read product by SKU
13
- ✓ tests/index.test.ts > 404 with different Store ID from env
14
- ✓ tests/index.test.ts > List categories and typecheck result
15
- ✓ tests/index.test.ts > 401 trying to list API events
16
- tests/index.test.ts > 401 to create category and body typecheck
17
- tests/index.test.ts > 204 to update products views
18
-
19
- Test Files 1 passed (1)
20
- Tests 7 passed (7)
21
- Start at 18:58:24
22
- Duration 1.25s (transform 118ms, setup 0ms, collect 117ms, tests 682ms, environment 0ms, prepare 129ms)
23
-
1
+
2
+
3
+ > @cloudcommerce/api@2.3.1 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
+ > tsc -p ../../tsconfig.test.json && vitest run
5
+
6
+
7
+  RUN  v1.2.2 /home/leo/code/ecomplus/cloud-commerce/packages/api
8
+
9
+ [?25l · tests/index.test.ts (7)
10
+ · Read product and typecheck SKU
11
+ · Find and read product by SKU
12
+ · 404 with different Store ID from
13
+ env
14
+ · List categories and typecheck res
15
+ ult
16
+ · 401 trying to list API events
17
+ · 401 to create category and body t
18
+ ypecheck
19
+ · 204 to update products views
20
+ [?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
21
+ ⠙ Read product and typecheck SKU
22
+ · Find and read product by SKU
23
+ · 404 with different Store ID from
24
+ env
25
+ · List categories and typecheck res
26
+ ult
27
+ · 401 trying to list API events
28
+ · 401 to create category and body t
29
+ ypecheck
30
+ · 204 to update products views
31
+ [?25l ❯ tests/index.test.ts (7)
32
+ ⠹ Read product and typecheck SKU
33
+ · Find and read product by SKU
34
+ · 404 with different Store ID from
35
+ env
36
+ · List categories and typecheck res
37
+ ult
38
+ · 401 trying to list API events
39
+ · 401 to create category and body t
40
+ ypecheck
41
+ · 204 to update products views
42
+ [?25l ❯ tests/index.test.ts (7)
43
+ ⠸ Read product and typecheck SKU
44
+ · Find and read product by SKU
45
+ · 404 with different Store ID from
46
+ env
47
+ · List categories and typecheck res
48
+ ult
49
+ · 401 trying to list API events
50
+ · 401 to create category and body t
51
+ ypecheck
52
+ · 204 to update products views
53
+ [?25l ❯ tests/index.test.ts (7)
54
+ ⠼ Read product and typecheck SKU
55
+ · Find and read product by SKU
56
+ · 404 with different Store ID from
57
+ env
58
+ · List categories and typecheck res
59
+ ult
60
+ · 401 trying to list API events
61
+ · 401 to create category and body t
62
+ ypecheck
63
+ · 204 to update products views
64
+ [?25l ❯ tests/index.test.ts (7)
65
+ ⠴ Read product and typecheck SKU
66
+ · Find and read product by SKU
67
+ · 404 with different Store ID from
68
+ env
69
+ · List categories and typecheck res
70
+ ult
71
+ · 401 trying to list API events
72
+ · 401 to create category and body t
73
+ ypecheck
74
+ · 204 to update products views
75
+ [?25l ❯ tests/index.test.ts (7)
76
+ ⠦ Read product and typecheck SKU
77
+ · Find and read product by SKU
78
+ · 404 with different Store ID from
79
+ env
80
+ · List categories and typecheck res
81
+ ult
82
+ · 401 trying to list API events
83
+ · 401 to create category and body t
84
+ ypecheck
85
+ · 204 to update products views
86
+ [?25l ❯ tests/index.test.ts (7)
87
+ ⠧ Read product and typecheck SKU
88
+ · Find and read product by SKU
89
+ · 404 with different Store ID from
90
+ env
91
+ · List categories and typecheck res
92
+ ult
93
+ · 401 trying to list API events
94
+ · 401 to create category and body t
95
+ ypecheck
96
+ · 204 to update products views
97
+ [?25l ❯ tests/index.test.ts (7)
98
+ ⠇ Read product and typecheck SKU
99
+ · Find and read product by SKU
100
+ · 404 with different Store ID from
101
+ env
102
+ · List categories and typecheck res
103
+ ult
104
+ · 401 trying to list API events
105
+ · 401 to create category and body t
106
+ ypecheck
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
152
+ [?25l ❯ tests/index.test.ts (7)
153
+ ⠸ Read product and typecheck SKU
154
+ · Find and read product by SKU
155
+ · 404 with different Store ID from
156
+ env
157
+ · List categories and typecheck res
158
+ ult
159
+ · 401 trying to list API events
160
+ · 401 to create category and body t
161
+ ypecheck
162
+ · 204 to update products views
163
+ stdout | tests/index.test.ts > Read product and typecheck SKU
164
+ GFJ4714
165
+
166
+ [?25l ❯ tests/index.test.ts (7)
167
+ ✓ Read product and typecheck SKU
168
+ ⠙ Find and read product by SKU
169
+ · 404 with different Store ID from
170
+ env
171
+ · List categories and typecheck res
172
+ ult
173
+ · 401 trying to list API events
174
+ · 401 to create category and body t
175
+ ypecheck
176
+ · 204 to update products views
177
+ [?25l ❯ tests/index.test.ts (7)
178
+ ✓ Read product and typecheck SKU
179
+ ⠹ Find and read product by SKU
180
+ · 404 with different Store ID from
181
+ env
182
+ · List categories and typecheck res
183
+ ult
184
+ · 401 trying to list API events
185
+ · 401 to create category and body t
186
+ ypecheck
187
+ · 204 to update products views
188
+ [?25l ❯ tests/index.test.ts (7)
189
+ ✓ Read product and typecheck SKU
190
+ ✓ Find and read product by SKU
191
+ ⠙ 404 with different Store ID from
192
+ env
193
+ · List categories and typecheck res
194
+ ult
195
+ · 401 trying to list API events
196
+ · 401 to create category and body t
197
+ ypecheck
198
+ · 204 to update products views
199
+ [?25l ❯ tests/index.test.ts (7)
200
+ ✓ Read product and typecheck SKU
201
+ ✓ Find and read product by SKU
202
+ ⠹ 404 with different Store ID from
203
+ env
204
+ · List categories and typecheck res
205
+ ult
206
+ · 401 trying to list API events
207
+ · 401 to create category and body t
208
+ ypecheck
209
+ · 204 to update products views
210
+ [?25l ❯ tests/index.test.ts (7)
211
+ ✓ Read product and typecheck SKU
212
+ ✓ Find and read product by SKU
213
+ ✓ 404 with different Store ID from
214
+ env
215
+ ⠙ List categories and typecheck res
216
+ ult
217
+ · 401 trying to list API events
218
+ · 401 to create category and body t
219
+ ypecheck
220
+ · 204 to update products views
221
+ [?25l ❯ tests/index.test.ts (7)
222
+ ✓ Read product and typecheck SKU
223
+ ✓ Find and read product by SKU
224
+ ✓ 404 with different Store ID from
225
+ env
226
+ ⠹ List categories and typecheck res
227
+ ult
228
+ · 401 trying to list API events
229
+ · 401 to create category and body t
230
+ ypecheck
231
+ · 204 to update products views
232
+ [?25l ❯ tests/index.test.ts (7)
233
+ ✓ Read product and typecheck SKU
234
+ ✓ Find and read product by SKU
235
+ ✓ 404 with different Store ID from
236
+ env
237
+ ⠸ List categories and typecheck res
238
+ ult
239
+ · 401 trying to list API events
240
+ · 401 to create category and body t
241
+ ypecheck
242
+ · 204 to update products views
243
+ [?25l ❯ tests/index.test.ts (7)
244
+ ✓ Read product and typecheck SKU
245
+ ✓ Find and read product by SKU
246
+ ✓ 404 with different Store ID from
247
+ env
248
+ ⠼ List categories and typecheck res
249
+ ult
250
+ · 401 trying to list API events
251
+ · 401 to create category and body t
252
+ ypecheck
253
+ · 204 to update products views
254
+ [?25l ❯ tests/index.test.ts (7)
255
+ ✓ Read product and typecheck SKU
256
+ ✓ Find and read product by SKU
257
+ ✓ 404 with different Store ID from
258
+ env
259
+ ⠴ List categories and typecheck res
260
+ ult
261
+ · 401 trying to list API events
262
+ · 401 to create category and body t
263
+ ypecheck
264
+ · 204 to update products views
265
+ [?25l ❯ tests/index.test.ts (7)
266
+ ✓ Read product and typecheck SKU
267
+ ✓ Find and read product by SKU
268
+ ✓ 404 with different Store ID from
269
+ env
270
+ ⠦ List categories and typecheck res
271
+ ult
272
+ · 401 trying to list API events
273
+ · 401 to create category and body t
274
+ ypecheck
275
+ · 204 to update products views
276
+ [?25l ❯ tests/index.test.ts (7)
277
+ ✓ Read product and typecheck SKU
278
+ ✓ Find and read product by SKU
279
+ ✓ 404 with different Store ID from
280
+ env
281
+ ⠧ List categories and typecheck res
282
+ ult
283
+ · 401 trying to list API events
284
+ · 401 to create category and body t
285
+ ypecheck
286
+ · 204 to update products views
287
+ [?25l ❯ tests/index.test.ts (7)
288
+ ✓ Read product and typecheck SKU
289
+ ✓ Find and read product by SKU
290
+ ✓ 404 with different Store ID from
291
+ env
292
+ ⠇ List categories and typecheck res
293
+ ult
294
+ · 401 trying to list API events
295
+ · 401 to create category and body t
296
+ ypecheck
297
+ · 204 to update products views
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
311
+ ✓ Find and read product by SKU
312
+ ✓ 404 with different Store ID from
313
+ env
314
+ ⠋ List categories and typecheck res
315
+ ult
316
+ · 401 trying to list API events
317
+ · 401 to create category and body t
318
+ ypecheck
319
+ · 204 to update products views
320
+ [?25l ❯ tests/index.test.ts (7)
321
+ ✓ Read product and typecheck SKU
322
+ ✓ Find and read product by SKU
323
+ ✓ 404 with different Store ID from
324
+ env
325
+ ✓ List categories and typecheck res
326
+ ult
327
+ ⠙ 401 trying to list API events
328
+ · 401 to create category and body t
329
+ ypecheck
330
+ · 204 to update products views
331
+ [?25l ❯ tests/index.test.ts (7)
332
+ ✓ Read product and typecheck SKU
333
+ ✓ Find and read product by SKU
334
+ ✓ 404 with different Store ID from
335
+ env
336
+ ✓ List categories and typecheck res
337
+ ult
338
+ ⠹ 401 trying to list API events
339
+ · 401 to create category and body t
340
+ ypecheck
341
+ · 204 to update products views
342
+ [?25l ❯ tests/index.test.ts (7)
343
+ ✓ Read product and typecheck SKU
344
+ ✓ Find and read product by SKU
345
+ ✓ 404 with different Store ID from
346
+ env
347
+ ✓ List categories and typecheck res
348
+ ult
349
+ ✓ 401 trying to list API events
350
+ ⠙ 401 to create category and body t
351
+ ypecheck
352
+ · 204 to update products views
353
+ [?25l ❯ tests/index.test.ts (7)
354
+ ✓ Read product and typecheck SKU
355
+ ✓ Find and read product by SKU
356
+ ✓ 404 with different Store ID from
357
+ env
358
+ ✓ List categories and typecheck res
359
+ ult
360
+ ✓ 401 trying to list API events
361
+ ⠹ 401 to create category and body t
362
+ ypecheck
363
+ · 204 to update products views
364
+ [?25l ❯ tests/index.test.ts (7)
365
+ ✓ Read product and typecheck SKU
366
+ ✓ Find and read product by SKU
367
+ ✓ 404 with different Store ID from
368
+ env
369
+ ✓ List categories and typecheck res
370
+ ult
371
+ ✓ 401 trying to list API events
372
+ ✓ 401 to create category and body t
373
+ ypecheck
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
379
+ env
380
+ ✓ List categories and typecheck res
381
+ ult
382
+ ✓ 401 trying to list API events
383
+ ✓ 401 to create category and body t
384
+ ypecheck
385
+ ⠹ 204 to update products views
386
+ [?25l ❯ tests/index.test.ts (7)
387
+ ✓ Read product and typecheck SKU
388
+ ✓ Find and read product by SKU
389
+ ✓ 404 with different Store ID from
390
+ env
391
+ ✓ List categories and typecheck res
392
+ ult
393
+ ✓ 401 trying to list API events
394
+ ✓ 401 to create category and body t
395
+ ypecheck
396
+ ⠸ 204 to update products views
397
+ [?25l ❯ tests/index.test.ts (7)
398
+ ✓ Read product and typecheck SKU
399
+ ✓ Find and read product by SKU
400
+ ✓ 404 with different Store ID from
401
+ env
402
+ ✓ List categories and typecheck res
403
+ ult
404
+ ✓ 401 trying to list API events
405
+ ✓ 401 to create category and body t
406
+ ypecheck
407
+ ⠼ 204 to update products views
408
+ [?25l ❯ tests/index.test.ts (7)
409
+ ✓ Read product and typecheck SKU
410
+ ✓ Find and read product by SKU
411
+ ✓ 404 with different Store ID from
412
+ env
413
+ ✓ List categories and typecheck res
414
+ ult
415
+ ✓ 401 trying to list API events
416
+ ✓ 401 to create category and body t
417
+ ypecheck
418
+ ⠴ 204 to update products views
419
+ [?25l ❯ tests/index.test.ts (7)
420
+ ✓ Read product and typecheck SKU
421
+ ✓ Find and read product by SKU
422
+ ✓ 404 with different Store ID from
423
+ env
424
+ ✓ List categories and typecheck res
425
+ ult
426
+ ✓ 401 trying to list API events
427
+ ✓ 401 to create category and body t
428
+ ypecheck
429
+ ⠦ 204 to update products views
430
+ [?25l ❯ tests/index.test.ts (7)
431
+ ✓ Read product and typecheck SKU
432
+ ✓ Find and read product by SKU
433
+ ✓ 404 with different Store ID from
434
+ env
435
+ ✓ List categories and typecheck res
436
+ ult
437
+ ✓ 401 trying to list API events
438
+ ✓ 401 to create category and body t
439
+ ypecheck
440
+ ⠧ 204 to update products views
441
+ [?25l ✓ tests/index.test.ts (7) 727ms
442
+ ✓ Read product and typecheck SKU
443
+ ✓ Find and read product by SKU
444
+ ✓ 404 with different Store ID from
445
+ env
446
+ ✓ List categories and typecheck res
447
+ ult
448
+ ✓ 401 trying to list API events
449
+ ✓ 401 to create category and body t
450
+ ypecheck
451
+ ✓ 204 to update products views
452
+ [?25l ✓ tests/index.test.ts (7) 727ms
453
+ ✓ Read product and typecheck SKU
454
+ ✓ Find and read product by SKU
455
+ ✓ 404 with different Store ID from env
456
+ ✓ List categories and typecheck result
457
+ ✓ 401 trying to list API events
458
+ ✓ 401 to create category and body typecheck
459
+ ✓ 204 to update products views
460
+
461
+  Test Files  1 passed (1)
462
+  Tests  7 passed (7)
463
+  Start at  11:04:19
464
+  Duration  1.28s (transform 125ms, setup 0ms, collect 116ms, tests 727ms, environment 0ms, prepare 133ms)
465
+
466
+ [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.3.1",
4
+ "version": "2.3.2",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",