@cloudcommerce/api 2.7.0 → 2.7.2

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.6.5 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.1 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.6.5 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.1 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[?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
@@ -86,6 +86,14 @@
86
86
  · 401 trying to list API events
87
87
  · 401 to create category and body typecheck
88
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
89
97
  stdout | tests/index.test.ts > Read product and typecheck SKU
90
98
  GFJ4714
91
99
 
@@ -121,6 +129,14 @@ GFJ4714
121
129
  · 401 trying to list API events
122
130
  · 401 to create category and body typecheck
123
131
  · 204 to update products views
132
+ [?25l ❯ tests/index.test.ts (7)
133
+ ✓ Read product and typecheck SKU
134
+ ✓ Find and read product by SKU
135
+ ⠸ 404 with different Store ID from env
136
+ · List categories and typecheck result
137
+ · 401 trying to list API events
138
+ · 401 to create category and body typecheck
139
+ · 204 to update products views
124
140
  [?25l ❯ tests/index.test.ts (7)
125
141
  ✓ Read product and typecheck SKU
126
142
  ✓ Find and read product by SKU
@@ -217,14 +233,6 @@ GFJ4714
217
233
  ✓ 401 trying to list API events
218
234
  ⠙ 401 to create category and body typecheck
219
235
  · 204 to update products views
220
- [?25l ❯ tests/index.test.ts (7)
221
- ✓ Read product and typecheck SKU
222
- ✓ Find and read product by SKU
223
- ✓ 404 with different Store ID from env
224
- ✓ List categories and typecheck result
225
- ✓ 401 trying to list API events
226
- ⠹ 401 to create category and body typecheck
227
- · 204 to update products views
228
236
  [?25l ❯ tests/index.test.ts (7)
229
237
  ✓ Read product and typecheck SKU
230
238
  ✓ Find and read product by SKU
@@ -273,7 +281,15 @@ GFJ4714
273
281
  ✓ 401 trying to list API events
274
282
  ✓ 401 to create category and body typecheck
275
283
  ⠦ 204 to update products views
276
- [?25l ✓ tests/index.test.ts (7) 608ms
284
+ [?25l ❯ tests/index.test.ts (7)
285
+ ✓ Read product and typecheck SKU
286
+ ✓ Find and read product by SKU
287
+ ✓ 404 with different Store ID from env
288
+ ✓ List categories and typecheck result
289
+ ✓ 401 trying to list API events
290
+ ✓ 401 to create category and body typecheck
291
+ ⠧ 204 to update products views
292
+ [?25l ✓ tests/index.test.ts (7) 707ms
277
293
  ✓ Read product and typecheck SKU
278
294
  ✓ Find and read product by SKU
279
295
  ✓ 404 with different Store ID from env
@@ -281,7 +297,7 @@ GFJ4714
281
297
  ✓ 401 trying to list API events
282
298
  ✓ 401 to create category and body typecheck
283
299
  ✓ 204 to update products views
284
- [?25l ✓ tests/index.test.ts (7) 608ms
300
+  ✓ tests/index.test.ts (7) 707ms
285
301
  ✓ Read product and typecheck SKU
286
302
  ✓ Find and read product by SKU
287
303
  ✓ 404 with different Store ID from env
@@ -292,7 +308,7 @@ GFJ4714
292
308
 
293
309
   Test Files  1 passed (1)
294
310
   Tests  7 passed (7)
295
-  Start at  19:52:44
296
-  Duration  1.15s (transform 117ms, setup 0ms, collect 119ms, tests 608ms, environment 0ms, prepare 121ms)
311
+  Start at  20:12:30
312
+  Duration  1.51s (transform 163ms, setup 0ms, collect 158ms, tests 707ms, environment 0ms, prepare 171ms)
297
313
 
298
314
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.7.0",
4
+ "version": "2.7.2",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",