@cloudcommerce/api 2.8.3 → 2.8.5

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.8.2 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.4 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.8.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.4 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -14,7 +14,7 @@
14
14
  · 401 trying to list API events
15
15
  · 401 to create category and body typecheck
16
16
  · 204 to update products views
17
- [?25l[?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
17
+ [?25l[?25l[?25l[?25l ❯ tests/index.test.ts (7)
18
18
  ⠙ Read product and typecheck SKU
19
19
  · Find and read product by SKU
20
20
  · 404 with different Store ID from env
@@ -62,43 +62,11 @@
62
62
  · 401 trying to list API events
63
63
  · 401 to create category and body typecheck
64
64
  · 204 to update products views
65
- [?25l ❯ tests/index.test.ts (7)
66
- ⠧ Read product and typecheck SKU
67
- · Find and read product by SKU
68
- · 404 with different Store ID from env
69
- · List categories and typecheck result
70
- · 401 trying to list API events
71
- · 401 to create category and body typecheck
72
- · 204 to update products views
73
- [?25l ❯ tests/index.test.ts (7)
74
- ⠇ Read product and typecheck SKU
75
- · Find and read product by SKU
76
- · 404 with different Store ID from env
77
- · List categories and typecheck result
78
- · 401 trying to list API events
79
- · 401 to create category and body typecheck
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 typecheck
88
- · 204 to update products views
89
- [?25l ❯ tests/index.test.ts (7)
90
- ⠋ Read product and typecheck SKU
91
- · Find and read product by SKU
92
- · 404 with different Store ID from env
93
- · List categories and typecheck result
94
- · 401 trying to list API events
95
- · 401 to create category and body typecheck
96
- · 204 to update products views
97
65
  stdout | tests/index.test.ts > Read product and typecheck SKU
98
66
  GFJ4714
99
67
 
100
68
  [?25l ❯ tests/index.test.ts (7)
101
- ⠙ Read product and typecheck SKU
69
+ ⠧ Read product and typecheck SKU
102
70
  · Find and read product by SKU
103
71
  · 404 with different Store ID from env
104
72
  · List categories and typecheck result
@@ -113,14 +81,6 @@ GFJ4714
113
81
  · 401 trying to list API events
114
82
  · 401 to create category and body typecheck
115
83
  · 204 to update products views
116
- [?25l ❯ tests/index.test.ts (7)
117
- ✓ Read product and typecheck SKU
118
- ⠹ Find and read product by SKU
119
- · 404 with different Store ID from env
120
- · List categories and typecheck result
121
- · 401 trying to list API events
122
- · 401 to create category and body typecheck
123
- · 204 to update products views
124
84
  [?25l ❯ tests/index.test.ts (7)
125
85
  ✓ Read product and typecheck SKU
126
86
  ✓ Find and read product by SKU
@@ -137,14 +97,6 @@ GFJ4714
137
97
  · 401 trying to list API events
138
98
  · 401 to create category and body typecheck
139
99
  · 204 to update products views
140
- [?25l ❯ tests/index.test.ts (7)
141
- ✓ Read product and typecheck SKU
142
- ✓ Find and read product by SKU
143
- ⠸ 404 with different Store ID from env
144
- · List categories and typecheck result
145
- · 401 trying to list API events
146
- · 401 to create category and body typecheck
147
- · 204 to update products views
148
100
  [?25l ❯ tests/index.test.ts (7)
149
101
  ✓ Read product and typecheck SKU
150
102
  ✓ Find and read product by SKU
@@ -255,8 +207,8 @@ GFJ4714
255
207
  ✓ 404 with different Store ID from env
256
208
  ✓ List categories and typecheck result
257
209
  ✓ 401 trying to list API events
258
- ✓ 401 to create category and body typecheck
259
- ⠙ 204 to update products views
210
+ ⠹ 401 to create category and body typecheck
211
+ · 204 to update products views
260
212
  [?25l ❯ tests/index.test.ts (7)
261
213
  ✓ Read product and typecheck SKU
262
214
  ✓ Find and read product by SKU
@@ -264,7 +216,7 @@ GFJ4714
264
216
  ✓ List categories and typecheck result
265
217
  ✓ 401 trying to list API events
266
218
  ✓ 401 to create category and body typecheck
267
- ⠹ 204 to update products views
219
+ ⠙ 204 to update products views
268
220
  [?25l ❯ tests/index.test.ts (7)
269
221
  ✓ Read product and typecheck SKU
270
222
  ✓ Find and read product by SKU
@@ -272,7 +224,7 @@ GFJ4714
272
224
  ✓ List categories and typecheck result
273
225
  ✓ 401 trying to list API events
274
226
  ✓ 401 to create category and body typecheck
275
- ⠸ 204 to update products views
227
+ ⠹ 204 to update products views
276
228
  [?25l ❯ tests/index.test.ts (7)
277
229
  ✓ Read product and typecheck SKU
278
230
  ✓ Find and read product by SKU
@@ -280,7 +232,7 @@ GFJ4714
280
232
  ✓ List categories and typecheck result
281
233
  ✓ 401 trying to list API events
282
234
  ✓ 401 to create category and body typecheck
283
- ⠼ 204 to update products views
235
+ ⠸ 204 to update products views
284
236
  [?25l ❯ tests/index.test.ts (7)
285
237
  ✓ Read product and typecheck SKU
286
238
  ✓ Find and read product by SKU
@@ -288,7 +240,7 @@ GFJ4714
288
240
  ✓ List categories and typecheck result
289
241
  ✓ 401 trying to list API events
290
242
  ✓ 401 to create category and body typecheck
291
- ⠴ 204 to update products views
243
+ ⠼ 204 to update products views
292
244
  [?25l ❯ tests/index.test.ts (7)
293
245
  ✓ Read product and typecheck SKU
294
246
  ✓ Find and read product by SKU
@@ -296,8 +248,8 @@ GFJ4714
296
248
  ✓ List categories and typecheck result
297
249
  ✓ 401 trying to list API events
298
250
  ✓ 401 to create category and body typecheck
299
- ⠦ 204 to update products views
300
- [?25l ✓ tests/index.test.ts (7) 672ms
251
+ ⠴ 204 to update products views
252
+ [?25l ✓ tests/index.test.ts (7) 546ms
301
253
  ✓ Read product and typecheck SKU
302
254
  ✓ Find and read product by SKU
303
255
  ✓ 404 with different Store ID from env
@@ -305,7 +257,7 @@ GFJ4714
305
257
  ✓ 401 trying to list API events
306
258
  ✓ 401 to create category and body typecheck
307
259
  ✓ 204 to update products views
308
- [?25l[?25l ✓ tests/index.test.ts (7) 672ms
260
+ [?25l ✓ tests/index.test.ts (7) 546ms
309
261
  ✓ Read product and typecheck SKU
310
262
  ✓ Find and read product by SKU
311
263
  ✓ 404 with different Store ID from env
@@ -316,7 +268,7 @@ GFJ4714
316
268
 
317
269
   Test Files  1 passed (1)
318
270
   Tests  7 passed (7)
319
-  Start at  22:58:40
320
-  Duration  1.20s (transform 123ms, setup 0ms, collect 113ms, tests 672ms, environment 0ms, prepare 121ms)
271
+  Start at  23:18:17
272
+  Duration  1.08s (transform 124ms, setup 0ms, collect 115ms, tests 546ms, environment 0ms, prepare 134ms)
321
273
 
322
274
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.8.3",
4
+ "version": "2.8.5",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",