@cloudcommerce/api 2.4.0 → 2.4.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.3.4 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.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.3.4 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.4.0 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  > tsc -p ../../tsconfig.test.json && vitest run
5
5
 
6
6
 
@@ -117,15 +117,6 @@ check
117
117
  · 401 to create category and body type
118
118
  check
119
119
  · 204 to update products views
120
- [?25l ❯ tests/index.test.ts (7)
121
- ✓ Read product and typecheck SKU
122
- ✓ Find and read product by SKU
123
- ⠹ 404 with different Store ID from env
124
- · List categories and typecheck result
125
- · 401 trying to list API events
126
- · 401 to create category and body type
127
- check
128
- · 204 to update products views
129
120
  [?25l ❯ tests/index.test.ts (7)
130
121
  ✓ Read product and typecheck SKU
131
122
  ✓ Find and read product by SKU
@@ -207,6 +198,15 @@ check
207
198
  · 401 to create category and body type
208
199
  check
209
200
  · 204 to update products views
201
+ [?25l ❯ tests/index.test.ts (7)
202
+ ✓ Read product and typecheck SKU
203
+ ✓ Find and read product by SKU
204
+ ✓ 404 with different Store ID from env
205
+ ⠋ List categories and typecheck result
206
+ · 401 trying to list API events
207
+ · 401 to create category and body type
208
+ check
209
+ · 204 to update products views
210
210
  [?25l ❯ tests/index.test.ts (7)
211
211
  ✓ Read product and typecheck SKU
212
212
  ✓ Find and read product by SKU
@@ -288,16 +288,7 @@ check
288
288
  ✓ 401 to create category and body type
289
289
  check
290
290
  ⠦ 204 to update products views
291
- [?25l ❯ tests/index.test.ts (7)
292
- ✓ Read product and typecheck SKU
293
- ✓ Find and read product by SKU
294
- ✓ 404 with different Store ID from env
295
- ✓ List categories and typecheck result
296
- ✓ 401 trying to list API events
297
- ✓ 401 to create category and body type
298
- check
299
- ⠧ 204 to update products views
300
- [?25l ✓ tests/index.test.ts (7) 586ms
291
+ [?25l ✓ tests/index.test.ts (7) 565ms
301
292
  ✓ Read product and typecheck SKU
302
293
  ✓ Find and read product by SKU
303
294
  ✓ 404 with different Store ID from env
@@ -306,7 +297,7 @@ check
306
297
  ✓ 401 to create category and body type
307
298
  check
308
299
  ✓ 204 to update products views
309
- [?25l ✓ tests/index.test.ts (7) 586ms
300
+  ✓ tests/index.test.ts (7) 565ms
310
301
  ✓ Read product and typecheck SKU
311
302
  ✓ Find and read product by SKU
312
303
  ✓ 404 with different Store ID from env
@@ -317,7 +308,7 @@ check
317
308
 
318
309
   Test Files  1 passed (1)
319
310
   Tests  7 passed (7)
320
-  Start at  00:36:06
321
-  Duration  1.19s (transform 121ms, setup 0ms, collect 115ms, tests 586ms, environment 0ms, prepare 140ms)
311
+  Start at  00:45:36
312
+  Duration  1.07s (transform 119ms, setup 1ms, collect 114ms, tests 565ms, environment 0ms, prepare 111ms)
322
313
 
323
314
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.4.0",
4
+ "version": "2.4.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",