@cloudcommerce/api 2.3.3 → 2.3.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.3.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.3.3 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.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.3.3 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -78,96 +78,6 @@ check
78
78
  · 401 to create category and body type
79
79
  check
80
80
  · 204 to update products views
81
- [?25l ❯ tests/index.test.ts (7)
82
- ⠇ Read product and typecheck SKU
83
- · Find and read product by SKU
84
- · 404 with different Store ID from env
85
- · List categories and typecheck result
86
- · 401 trying to list API events
87
- · 401 to create category and body type
88
- check
89
- · 204 to update products views
90
- [?25l ❯ tests/index.test.ts (7)
91
- ⠏ Read product and typecheck SKU
92
- · Find and read product by SKU
93
- · 404 with different Store ID from env
94
- · List categories and typecheck result
95
- · 401 trying to list API events
96
- · 401 to create category and body type
97
- check
98
- · 204 to update products views
99
- [?25l ❯ tests/index.test.ts (7)
100
- ⠋ Read product and typecheck SKU
101
- · Find and read product by SKU
102
- · 404 with different Store ID from env
103
- · List categories and typecheck result
104
- · 401 trying to list API events
105
- · 401 to create category and body type
106
- check
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
126
- [?25l ❯ tests/index.test.ts (7)
127
- ⠸ Read product and typecheck SKU
128
- · Find and read product by SKU
129
- · 404 with different Store ID from env
130
- · List categories and typecheck result
131
- · 401 trying to list API events
132
- · 401 to create category and body type
133
- check
134
- · 204 to update products views
135
- [?25l ❯ tests/index.test.ts (7)
136
- ⠼ Read product and typecheck SKU
137
- · Find and read product by SKU
138
- · 404 with different Store ID from env
139
- · List categories and typecheck result
140
- · 401 trying to list API events
141
- · 401 to create category and body type
142
- check
143
- · 204 to update products views
144
- [?25l ❯ tests/index.test.ts (7)
145
- ⠴ Read product and typecheck SKU
146
- · Find and read product by SKU
147
- · 404 with different Store ID from env
148
- · List categories and typecheck result
149
- · 401 trying to list API events
150
- · 401 to create category and body type
151
- check
152
- · 204 to update products views
153
- [?25l ❯ tests/index.test.ts (7)
154
- ⠦ Read product and typecheck SKU
155
- · Find and read product by SKU
156
- · 404 with different Store ID from env
157
- · List categories and typecheck result
158
- · 401 trying to list API events
159
- · 401 to create category and body type
160
- check
161
- · 204 to update products views
162
- [?25l ❯ tests/index.test.ts (7)
163
- ⠧ Read product and typecheck SKU
164
- · Find and read product by SKU
165
- · 404 with different Store ID from env
166
- · List categories and typecheck result
167
- · 401 trying to list API events
168
- · 401 to create category and body type
169
- check
170
- · 204 to update products views
171
81
  stdout | tests/index.test.ts > Read product and typecheck SKU
172
82
  GFJ4714
173
83
 
@@ -181,7 +91,7 @@ GFJ4714
181
91
  check
182
92
  · 204 to update products views
183
93
  [?25l ❯ tests/index.test.ts (7)
184
- ✓ Read product and typecheck SKU 374ms
94
+ ✓ Read product and typecheck SKU
185
95
  ⠙ Find and read product by SKU
186
96
  · 404 with different Store ID from env
187
97
  · List categories and typecheck result
@@ -190,7 +100,7 @@ check
190
100
  check
191
101
  · 204 to update products views
192
102
  [?25l ❯ tests/index.test.ts (7)
193
- ✓ Read product and typecheck SKU 374ms
103
+ ✓ Read product and typecheck SKU
194
104
  ⠹ Find and read product by SKU
195
105
  · 404 with different Store ID from env
196
106
  · List categories and typecheck result
@@ -199,7 +109,7 @@ check
199
109
  check
200
110
  · 204 to update products views
201
111
  [?25l ❯ tests/index.test.ts (7)
202
- ✓ Read product and typecheck SKU 374ms
112
+ ✓ Read product and typecheck SKU
203
113
  ✓ Find and read product by SKU
204
114
  ⠙ 404 with different Store ID from env
205
115
  · List categories and typecheck result
@@ -208,7 +118,7 @@ check
208
118
  check
209
119
  · 204 to update products views
210
120
  [?25l ❯ tests/index.test.ts (7)
211
- ✓ Read product and typecheck SKU 374ms
121
+ ✓ Read product and typecheck SKU
212
122
  ✓ Find and read product by SKU
213
123
  ⠹ 404 with different Store ID from env
214
124
  · List categories and typecheck result
@@ -217,7 +127,7 @@ check
217
127
  check
218
128
  · 204 to update products views
219
129
  [?25l ❯ tests/index.test.ts (7)
220
- ✓ Read product and typecheck SKU 374ms
130
+ ✓ Read product and typecheck SKU
221
131
  ✓ Find and read product by SKU
222
132
  ✓ 404 with different Store ID from env
223
133
  ⠙ List categories and typecheck result
@@ -226,7 +136,7 @@ check
226
136
  check
227
137
  · 204 to update products views
228
138
  [?25l ❯ tests/index.test.ts (7)
229
- ✓ Read product and typecheck SKU 374ms
139
+ ✓ Read product and typecheck SKU
230
140
  ✓ Find and read product by SKU
231
141
  ✓ 404 with different Store ID from env
232
142
  ⠹ List categories and typecheck result
@@ -235,7 +145,7 @@ check
235
145
  check
236
146
  · 204 to update products views
237
147
  [?25l ❯ tests/index.test.ts (7)
238
- ✓ Read product and typecheck SKU 374ms
148
+ ✓ Read product and typecheck SKU
239
149
  ✓ Find and read product by SKU
240
150
  ✓ 404 with different Store ID from env
241
151
  ⠸ List categories and typecheck result
@@ -244,7 +154,7 @@ check
244
154
  check
245
155
  · 204 to update products views
246
156
  [?25l ❯ tests/index.test.ts (7)
247
- ✓ Read product and typecheck SKU 374ms
157
+ ✓ Read product and typecheck SKU
248
158
  ✓ Find and read product by SKU
249
159
  ✓ 404 with different Store ID from env
250
160
  ⠼ List categories and typecheck result
@@ -253,7 +163,7 @@ check
253
163
  check
254
164
  · 204 to update products views
255
165
  [?25l ❯ tests/index.test.ts (7)
256
- ✓ Read product and typecheck SKU 374ms
166
+ ✓ Read product and typecheck SKU
257
167
  ✓ Find and read product by SKU
258
168
  ✓ 404 with different Store ID from env
259
169
  ⠴ List categories and typecheck result
@@ -262,7 +172,7 @@ check
262
172
  check
263
173
  · 204 to update products views
264
174
  [?25l ❯ tests/index.test.ts (7)
265
- ✓ Read product and typecheck SKU 374ms
175
+ ✓ Read product and typecheck SKU
266
176
  ✓ Find and read product by SKU
267
177
  ✓ 404 with different Store ID from env
268
178
  ⠦ List categories and typecheck result
@@ -271,7 +181,7 @@ check
271
181
  check
272
182
  · 204 to update products views
273
183
  [?25l ❯ tests/index.test.ts (7)
274
- ✓ Read product and typecheck SKU 374ms
184
+ ✓ Read product and typecheck SKU
275
185
  ✓ Find and read product by SKU
276
186
  ✓ 404 with different Store ID from env
277
187
  ⠧ List categories and typecheck result
@@ -280,7 +190,7 @@ check
280
190
  check
281
191
  · 204 to update products views
282
192
  [?25l ❯ tests/index.test.ts (7)
283
- ✓ Read product and typecheck SKU 374ms
193
+ ✓ Read product and typecheck SKU
284
194
  ✓ Find and read product by SKU
285
195
  ✓ 404 with different Store ID from env
286
196
  ⠇ List categories and typecheck result
@@ -289,7 +199,7 @@ check
289
199
  check
290
200
  · 204 to update products views
291
201
  [?25l ❯ tests/index.test.ts (7)
292
- ✓ Read product and typecheck SKU 374ms
202
+ ✓ Read product and typecheck SKU
293
203
  ✓ Find and read product by SKU
294
204
  ✓ 404 with different Store ID from env
295
205
  ⠏ List categories and typecheck result
@@ -298,25 +208,7 @@ check
298
208
  check
299
209
  · 204 to update products views
300
210
  [?25l ❯ tests/index.test.ts (7)
301
- ✓ Read product and typecheck SKU 374ms
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 374ms
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 374ms
211
+ ✓ Read product and typecheck SKU
320
212
  ✓ Find and read product by SKU
321
213
  ✓ 404 with different Store ID from env
322
214
  ✓ List categories and typecheck result
@@ -325,25 +217,25 @@ check
325
217
  check
326
218
  · 204 to update products views
327
219
  [?25l ❯ tests/index.test.ts (7)
328
- ✓ Read product and typecheck SKU 374ms
220
+ ✓ Read product and typecheck SKU
329
221
  ✓ Find and read product by SKU
330
222
  ✓ 404 with different Store ID from env
331
223
  ✓ List categories and typecheck result
332
- ✓ 401 trying to list API events
333
- ⠙ 401 to create category and body type
224
+ ⠹ 401 trying to list API events
225
+ · 401 to create category and body type
334
226
  check
335
227
  · 204 to update products views
336
228
  [?25l ❯ tests/index.test.ts (7)
337
- ✓ Read product and typecheck SKU 374ms
229
+ ✓ Read product and typecheck SKU
338
230
  ✓ Find and read product by SKU
339
231
  ✓ 404 with different Store ID from env
340
232
  ✓ List categories and typecheck result
341
233
  ✓ 401 trying to list API events
342
- ⠹ 401 to create category and body type
234
+ ⠙ 401 to create category and body type
343
235
  check
344
236
  · 204 to update products views
345
237
  [?25l ❯ tests/index.test.ts (7)
346
- ✓ Read product and typecheck SKU 374ms
238
+ ✓ Read product and typecheck SKU
347
239
  ✓ Find and read product by SKU
348
240
  ✓ 404 with different Store ID from env
349
241
  ✓ List categories and typecheck result
@@ -352,7 +244,7 @@ check
352
244
  check
353
245
  ⠙ 204 to update products views
354
246
  [?25l ❯ tests/index.test.ts (7)
355
- ✓ Read product and typecheck SKU 374ms
247
+ ✓ Read product and typecheck SKU
356
248
  ✓ Find and read product by SKU
357
249
  ✓ 404 with different Store ID from env
358
250
  ✓ List categories and typecheck result
@@ -361,7 +253,7 @@ check
361
253
  check
362
254
  ⠹ 204 to update products views
363
255
  [?25l ❯ tests/index.test.ts (7)
364
- ✓ Read product and typecheck SKU 374ms
256
+ ✓ Read product and typecheck SKU
365
257
  ✓ Find and read product by SKU
366
258
  ✓ 404 with different Store ID from env
367
259
  ✓ List categories and typecheck result
@@ -370,7 +262,7 @@ check
370
262
  check
371
263
  ⠸ 204 to update products views
372
264
  [?25l ❯ tests/index.test.ts (7)
373
- ✓ Read product and typecheck SKU 374ms
265
+ ✓ Read product and typecheck SKU
374
266
  ✓ Find and read product by SKU
375
267
  ✓ 404 with different Store ID from env
376
268
  ✓ List categories and typecheck result
@@ -379,7 +271,7 @@ check
379
271
  check
380
272
  ⠼ 204 to update products views
381
273
  [?25l ❯ tests/index.test.ts (7)
382
- ✓ Read product and typecheck SKU 374ms
274
+ ✓ Read product and typecheck SKU
383
275
  ✓ Find and read product by SKU
384
276
  ✓ 404 with different Store ID from env
385
277
  ✓ List categories and typecheck result
@@ -388,7 +280,7 @@ check
388
280
  check
389
281
  ⠴ 204 to update products views
390
282
  [?25l ❯ tests/index.test.ts (7)
391
- ✓ Read product and typecheck SKU 374ms
283
+ ✓ Read product and typecheck SKU
392
284
  ✓ Find and read product by SKU
393
285
  ✓ 404 with different Store ID from env
394
286
  ✓ List categories and typecheck result
@@ -397,7 +289,7 @@ check
397
289
  check
398
290
  ⠦ 204 to update products views
399
291
  [?25l ❯ tests/index.test.ts (7)
400
- ✓ Read product and typecheck SKU 374ms
292
+ ✓ Read product and typecheck SKU
401
293
  ✓ Find and read product by SKU
402
294
  ✓ 404 with different Store ID from env
403
295
  ✓ List categories and typecheck result
@@ -405,8 +297,8 @@ check
405
297
  ✓ 401 to create category and body type
406
298
  check
407
299
  ⠧ 204 to update products views
408
- [?25l ✓ tests/index.test.ts (7) 797ms
409
- ✓ Read product and typecheck SKU 374ms
300
+ [?25l ✓ tests/index.test.ts (7) 585ms
301
+ ✓ Read product and typecheck SKU
410
302
  ✓ Find and read product by SKU
411
303
  ✓ 404 with different Store ID from env
412
304
  ✓ List categories and typecheck result
@@ -414,8 +306,8 @@ check
414
306
  ✓ 401 to create category and body type
415
307
  check
416
308
  ✓ 204 to update products views
417
-  ✓ tests/index.test.ts (7) 797ms
418
- ✓ Read product and typecheck SKU 374ms
309
+ [?25l ✓ tests/index.test.ts (7) 585ms
310
+ ✓ Read product and typecheck SKU
419
311
  ✓ Find and read product by SKU
420
312
  ✓ 404 with different Store ID from env
421
313
  ✓ List categories and typecheck result
@@ -425,7 +317,7 @@ check
425
317
 
426
318
   Test Files  1 passed (1)
427
319
   Tests  7 passed (7)
428
-  Start at  21:20:12
429
-  Duration  1.37s (transform 135ms, setup 0ms, collect 135ms, tests 797ms, environment 0ms, prepare 138ms)
320
+  Start at  21:46:13
321
+  Duration  1.16s (transform 119ms, setup 0ms, collect 115ms, tests 585ms, environment 0ms, prepare 133ms)
430
322
 
431
323
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.3.3",
4
+ "version": "2.3.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",