@cloudcommerce/api 2.8.1 → 2.8.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.8.0 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.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.8.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.8.2 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -78,10 +78,34 @@
78
78
  · 401 trying to list API events
79
79
  · 401 to create category and body typecheck
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 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
81
97
  stdout | tests/index.test.ts > Read product and typecheck SKU
82
98
  GFJ4714
83
99
 
84
100
  [?25l ❯ tests/index.test.ts (7)
101
+ ⠙ Read product and typecheck SKU
102
+ · Find and read product by SKU
103
+ · 404 with different Store ID from env
104
+ · List categories and typecheck result
105
+ · 401 trying to list API events
106
+ · 401 to create category and body typecheck
107
+ · 204 to update products views
108
+ [?25l ❯ tests/index.test.ts (7)
85
109
  ✓ Read product and typecheck SKU
86
110
  ⠙ Find and read product by SKU
87
111
  · 404 with different Store ID from env
@@ -113,6 +137,14 @@ GFJ4714
113
137
  · 401 trying to list API events
114
138
  · 401 to create category and body typecheck
115
139
  · 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
116
148
  [?25l ❯ tests/index.test.ts (7)
117
149
  ✓ Read product and typecheck SKU
118
150
  ✓ Find and read product by SKU
@@ -206,8 +238,8 @@ GFJ4714
206
238
  ✓ Find and read product by SKU
207
239
  ✓ 404 with different Store ID from env
208
240
  ✓ List categories and typecheck result
209
- ✓ 401 trying to list API events
210
- ⠙ 401 to create category and body typecheck
241
+ ⠹ 401 trying to list API events
242
+ · 401 to create category and body typecheck
211
243
  · 204 to update products views
212
244
  [?25l ❯ tests/index.test.ts (7)
213
245
  ✓ Read product and typecheck SKU
@@ -215,7 +247,7 @@ GFJ4714
215
247
  ✓ 404 with different Store ID from env
216
248
  ✓ List categories and typecheck result
217
249
  ✓ 401 trying to list API events
218
- ⠹ 401 to create category and body typecheck
250
+ ⠙ 401 to create category and body typecheck
219
251
  · 204 to update products views
220
252
  [?25l ❯ tests/index.test.ts (7)
221
253
  ✓ Read product and typecheck SKU
@@ -265,7 +297,7 @@ GFJ4714
265
297
  ✓ 401 trying to list API events
266
298
  ✓ 401 to create category and body typecheck
267
299
  ⠦ 204 to update products views
268
- [?25l ✓ tests/index.test.ts (7) 583ms
300
+ [?25l ✓ tests/index.test.ts (7) 672ms
269
301
  ✓ Read product and typecheck SKU
270
302
  ✓ Find and read product by SKU
271
303
  ✓ 404 with different Store ID from env
@@ -273,7 +305,7 @@ GFJ4714
273
305
  ✓ 401 trying to list API events
274
306
  ✓ 401 to create category and body typecheck
275
307
  ✓ 204 to update products views
276
- [?25l ✓ tests/index.test.ts (7) 583ms
308
+ [?25l[?25l ✓ tests/index.test.ts (7) 672ms
277
309
  ✓ Read product and typecheck SKU
278
310
  ✓ Find and read product by SKU
279
311
  ✓ 404 with different Store ID from env
@@ -284,7 +316,7 @@ GFJ4714
284
316
 
285
317
   Test Files  1 passed (1)
286
318
   Tests  7 passed (7)
287
-  Start at  22:44:09
288
-  Duration  1.09s (transform 116ms, setup 0ms, collect 115ms, tests 583ms, environment 0ms, prepare 127ms)
319
+  Start at  22:58:40
320
+  Duration  1.20s (transform 123ms, setup 0ms, collect 113ms, tests 672ms, environment 0ms, prepare 121ms)
289
321
 
290
322
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.8.1",
4
+ "version": "2.8.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",