@cloudcommerce/api 2.6.0 → 2.6.1

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.5.1 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.6.0 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.5.1 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.6.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -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[?25l ❯ tests/index.test.ts (7)
18
+ [?25l[?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
@@ -87,57 +87,12 @@ check
87
87
  · 401 to create category and body type
88
88
  check
89
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
90
  stdout | tests/index.test.ts > Read product and typecheck SKU
136
91
  GFJ4714
137
92
 
138
93
  [?25l ❯ tests/index.test.ts (7)
139
- ⠼ Read product and typecheck SKU
140
- · Find and read product by SKU
94
+ ✓ Read product and typecheck SKU
95
+ ⠙ Find and read product by SKU
141
96
  · 404 with different Store ID from env
142
97
  · List categories and typecheck result
143
98
  · 401 trying to list API events
@@ -145,8 +100,8 @@ GFJ4714
145
100
  check
146
101
  · 204 to update products views
147
102
  [?25l ❯ tests/index.test.ts (7)
148
- ✓ Read product and typecheck SKU 313ms
149
- ⠙ Find and read product by SKU
103
+ ✓ Read product and typecheck SKU
104
+ ⠹ Find and read product by SKU
150
105
  · 404 with different Store ID from env
151
106
  · List categories and typecheck result
152
107
  · 401 trying to list API events
@@ -154,7 +109,7 @@ check
154
109
  check
155
110
  · 204 to update products views
156
111
  [?25l ❯ tests/index.test.ts (7)
157
- ✓ Read product and typecheck SKU 313ms
112
+ ✓ Read product and typecheck SKU
158
113
  ✓ Find and read product by SKU
159
114
  ⠙ 404 with different Store ID from env
160
115
  · List categories and typecheck result
@@ -163,7 +118,7 @@ check
163
118
  check
164
119
  · 204 to update products views
165
120
  [?25l ❯ tests/index.test.ts (7)
166
- ✓ Read product and typecheck SKU 313ms
121
+ ✓ Read product and typecheck SKU
167
122
  ✓ Find and read product by SKU
168
123
  ⠹ 404 with different Store ID from env
169
124
  · List categories and typecheck result
@@ -172,7 +127,7 @@ check
172
127
  check
173
128
  · 204 to update products views
174
129
  [?25l ❯ tests/index.test.ts (7)
175
- ✓ Read product and typecheck SKU 313ms
130
+ ✓ Read product and typecheck SKU
176
131
  ✓ Find and read product by SKU
177
132
  ✓ 404 with different Store ID from env
178
133
  ⠙ List categories and typecheck result
@@ -181,7 +136,7 @@ check
181
136
  check
182
137
  · 204 to update products views
183
138
  [?25l ❯ tests/index.test.ts (7)
184
- ✓ Read product and typecheck SKU 313ms
139
+ ✓ Read product and typecheck SKU
185
140
  ✓ Find and read product by SKU
186
141
  ✓ 404 with different Store ID from env
187
142
  ⠹ List categories and typecheck result
@@ -190,7 +145,7 @@ check
190
145
  check
191
146
  · 204 to update products views
192
147
  [?25l ❯ tests/index.test.ts (7)
193
- ✓ Read product and typecheck SKU 313ms
148
+ ✓ Read product and typecheck SKU
194
149
  ✓ Find and read product by SKU
195
150
  ✓ 404 with different Store ID from env
196
151
  ⠸ List categories and typecheck result
@@ -199,7 +154,7 @@ check
199
154
  check
200
155
  · 204 to update products views
201
156
  [?25l ❯ tests/index.test.ts (7)
202
- ✓ Read product and typecheck SKU 313ms
157
+ ✓ Read product and typecheck SKU
203
158
  ✓ Find and read product by SKU
204
159
  ✓ 404 with different Store ID from env
205
160
  ⠼ List categories and typecheck result
@@ -208,7 +163,7 @@ check
208
163
  check
209
164
  · 204 to update products views
210
165
  [?25l ❯ tests/index.test.ts (7)
211
- ✓ Read product and typecheck SKU 313ms
166
+ ✓ Read product and typecheck SKU
212
167
  ✓ Find and read product by SKU
213
168
  ✓ 404 with different Store ID from env
214
169
  ⠴ List categories and typecheck result
@@ -217,7 +172,7 @@ check
217
172
  check
218
173
  · 204 to update products views
219
174
  [?25l ❯ tests/index.test.ts (7)
220
- ✓ Read product and typecheck SKU 313ms
175
+ ✓ Read product and typecheck SKU
221
176
  ✓ Find and read product by SKU
222
177
  ✓ 404 with different Store ID from env
223
178
  ⠦ List categories and typecheck result
@@ -226,7 +181,7 @@ check
226
181
  check
227
182
  · 204 to update products views
228
183
  [?25l ❯ tests/index.test.ts (7)
229
- ✓ Read product and typecheck SKU 313ms
184
+ ✓ Read product and typecheck SKU
230
185
  ✓ Find and read product by SKU
231
186
  ✓ 404 with different Store ID from env
232
187
  ⠧ List categories and typecheck result
@@ -235,7 +190,7 @@ check
235
190
  check
236
191
  · 204 to update products views
237
192
  [?25l ❯ tests/index.test.ts (7)
238
- ✓ Read product and typecheck SKU 313ms
193
+ ✓ Read product and typecheck SKU
239
194
  ✓ Find and read product by SKU
240
195
  ✓ 404 with different Store ID from env
241
196
  ⠇ List categories and typecheck result
@@ -244,7 +199,7 @@ check
244
199
  check
245
200
  · 204 to update products views
246
201
  [?25l ❯ tests/index.test.ts (7)
247
- ✓ Read product and typecheck SKU 313ms
202
+ ✓ Read product and typecheck SKU
248
203
  ✓ Find and read product by SKU
249
204
  ✓ 404 with different Store ID from env
250
205
  ⠏ List categories and typecheck result
@@ -253,7 +208,7 @@ check
253
208
  check
254
209
  · 204 to update products views
255
210
  [?25l ❯ tests/index.test.ts (7)
256
- ✓ Read product and typecheck SKU 313ms
211
+ ✓ Read product and typecheck SKU
257
212
  ✓ Find and read product by SKU
258
213
  ✓ 404 with different Store ID from env
259
214
  ⠋ List categories and typecheck result
@@ -262,7 +217,7 @@ check
262
217
  check
263
218
  · 204 to update products views
264
219
  [?25l ❯ tests/index.test.ts (7)
265
- ✓ Read product and typecheck SKU 313ms
220
+ ✓ Read product and typecheck SKU
266
221
  ✓ Find and read product by SKU
267
222
  ✓ 404 with different Store ID from env
268
223
  ✓ List categories and typecheck result
@@ -271,7 +226,7 @@ check
271
226
  check
272
227
  · 204 to update products views
273
228
  [?25l ❯ tests/index.test.ts (7)
274
- ✓ Read product and typecheck SKU 313ms
229
+ ✓ Read product and typecheck SKU
275
230
  ✓ Find and read product by SKU
276
231
  ✓ 404 with different Store ID from env
277
232
  ✓ List categories and typecheck result
@@ -280,7 +235,7 @@ check
280
235
  check
281
236
  · 204 to update products views
282
237
  [?25l ❯ tests/index.test.ts (7)
283
- ✓ Read product and typecheck SKU 313ms
238
+ ✓ Read product and typecheck SKU
284
239
  ✓ Find and read product by SKU
285
240
  ✓ 404 with different Store ID from env
286
241
  ✓ List categories and typecheck result
@@ -289,7 +244,7 @@ check
289
244
  check
290
245
  · 204 to update products views
291
246
  [?25l ❯ tests/index.test.ts (7)
292
- ✓ Read product and typecheck SKU 313ms
247
+ ✓ Read product and typecheck SKU
293
248
  ✓ Find and read product by SKU
294
249
  ✓ 404 with different Store ID from env
295
250
  ✓ List categories and typecheck result
@@ -298,7 +253,7 @@ check
298
253
  check
299
254
  ⠙ 204 to update products views
300
255
  [?25l ❯ tests/index.test.ts (7)
301
- ✓ Read product and typecheck SKU 313ms
256
+ ✓ Read product and typecheck SKU
302
257
  ✓ Find and read product by SKU
303
258
  ✓ 404 with different Store ID from env
304
259
  ✓ List categories and typecheck result
@@ -307,7 +262,7 @@ check
307
262
  check
308
263
  ⠹ 204 to update products views
309
264
  [?25l ❯ tests/index.test.ts (7)
310
- ✓ Read product and typecheck SKU 313ms
265
+ ✓ Read product and typecheck SKU
311
266
  ✓ Find and read product by SKU
312
267
  ✓ 404 with different Store ID from env
313
268
  ✓ List categories and typecheck result
@@ -316,7 +271,7 @@ check
316
271
  check
317
272
  ⠸ 204 to update products views
318
273
  [?25l ❯ tests/index.test.ts (7)
319
- ✓ Read product and typecheck SKU 313ms
274
+ ✓ Read product and typecheck SKU
320
275
  ✓ Find and read product by SKU
321
276
  ✓ 404 with different Store ID from env
322
277
  ✓ List categories and typecheck result
@@ -325,7 +280,7 @@ check
325
280
  check
326
281
  ⠼ 204 to update products views
327
282
  [?25l ❯ tests/index.test.ts (7)
328
- ✓ Read product and typecheck SKU 313ms
283
+ ✓ Read product and typecheck SKU
329
284
  ✓ Find and read product by SKU
330
285
  ✓ 404 with different Store ID from env
331
286
  ✓ List categories and typecheck result
@@ -334,7 +289,7 @@ check
334
289
  check
335
290
  ⠴ 204 to update products views
336
291
  [?25l ❯ tests/index.test.ts (7)
337
- ✓ Read product and typecheck SKU 313ms
292
+ ✓ Read product and typecheck SKU
338
293
  ✓ Find and read product by SKU
339
294
  ✓ 404 with different Store ID from env
340
295
  ✓ List categories and typecheck result
@@ -343,7 +298,7 @@ check
343
298
  check
344
299
  ⠦ 204 to update products views
345
300
  [?25l ❯ tests/index.test.ts (7)
346
- ✓ Read product and typecheck SKU 313ms
301
+ ✓ Read product and typecheck SKU
347
302
  ✓ Find and read product by SKU
348
303
  ✓ 404 with different Store ID from env
349
304
  ✓ List categories and typecheck result
@@ -351,17 +306,8 @@ check
351
306
  ✓ 401 to create category and body type
352
307
  check
353
308
  ⠧ 204 to update products views
354
- [?25l ❯ tests/index.test.ts (7)
355
- ✓ Read product and typecheck SKU 313ms
356
- ✓ Find and read product by SKU
357
- ✓ 404 with different Store ID from env
358
- ✓ List categories and typecheck result
359
- ✓ 401 trying to list API events
360
- ✓ 401 to create category and body type
361
- check
362
- ⠇ 204 to update products views
363
- [?25l ✓ tests/index.test.ts (7) 722ms
364
- ✓ Read product and typecheck SKU 313ms
309
+ [?25l ✓ tests/index.test.ts (7) 637ms
310
+ ✓ Read product and typecheck SKU
365
311
  ✓ Find and read product by SKU
366
312
  ✓ 404 with different Store ID from env
367
313
  ✓ List categories and typecheck result
@@ -369,8 +315,8 @@ check
369
315
  ✓ 401 to create category and body type
370
316
  check
371
317
  ✓ 204 to update products views
372
-  ✓ tests/index.test.ts (7) 722ms
373
- ✓ Read product and typecheck SKU 313ms
318
+ [?25l ✓ tests/index.test.ts (7) 637ms
319
+ ✓ Read product and typecheck SKU
374
320
  ✓ Find and read product by SKU
375
321
  ✓ 404 with different Store ID from env
376
322
  ✓ List categories and typecheck result
@@ -380,7 +326,7 @@ check
380
326
 
381
327
   Test Files  1 passed (1)
382
328
   Tests  7 passed (7)
383
-  Start at  22:50:44
384
-  Duration  1.35s (transform 163ms, setup 0ms, collect 152ms, tests 722ms, environment 0ms, prepare 155ms)
329
+  Start at  00:17:46
330
+  Duration  1.24s (transform 142ms, setup 0ms, collect 141ms, tests 637ms, environment 0ms, prepare 150ms)
385
331
 
386
332
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.6.0",
4
+ "version": "2.6.1",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",