@cloudcommerce/api 2.7.4 → 2.8.0

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.7.3 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.5 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.7.3 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ > @cloudcommerce/api@2.7.5 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 ❯ 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
@@ -78,44 +78,12 @@
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
97
81
  stdout | tests/index.test.ts > Read product and typecheck SKU
98
82
  GFJ4714
99
83
 
100
84
  [?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)
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 typecheck
115
- · 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
85
+ ⠏ Read product and typecheck SKU
86
+ · Find and read product by SKU
119
87
  · 404 with different Store ID from env
120
88
  · List categories and typecheck result
121
89
  · 401 trying to list API events
@@ -123,7 +91,7 @@ GFJ4714
123
91
  · 204 to update products views
124
92
  [?25l ❯ tests/index.test.ts (7)
125
93
  ✓ Read product and typecheck SKU
126
- ⠼ Find and read product by SKU
94
+ ⠙ Find and read product by SKU
127
95
  · 404 with different Store ID from env
128
96
  · List categories and typecheck result
129
97
  · 401 trying to list API events
@@ -229,8 +197,8 @@ GFJ4714
229
197
  ✓ Read product and typecheck SKU
230
198
  ✓ Find and read product by SKU
231
199
  ✓ 404 with different Store ID from env
232
- ⠙ List categories and typecheck result
233
- · 401 trying to list API events
200
+ ✓ List categories and typecheck result
201
+ ⠙ 401 trying to list API events
234
202
  · 401 to create category and body typecheck
235
203
  · 204 to update products views
236
204
  [?25l ❯ tests/index.test.ts (7)
@@ -238,8 +206,8 @@ GFJ4714
238
206
  ✓ Find and read product by SKU
239
207
  ✓ 404 with different Store ID from env
240
208
  ✓ List categories and typecheck result
241
- ⠙ 401 trying to list API events
242
- · 401 to create category and body typecheck
209
+ ✓ 401 trying to list API events
210
+ ⠙ 401 to create category and body typecheck
243
211
  · 204 to update products views
244
212
  [?25l ❯ tests/index.test.ts (7)
245
213
  ✓ Read product and typecheck SKU
@@ -247,7 +215,7 @@ GFJ4714
247
215
  ✓ 404 with different Store ID from env
248
216
  ✓ List categories and typecheck result
249
217
  ✓ 401 trying to list API events
250
- ⠙ 401 to create category and body typecheck
218
+ ⠹ 401 to create category and body typecheck
251
219
  · 204 to update products views
252
220
  [?25l ❯ tests/index.test.ts (7)
253
221
  ✓ Read product and typecheck SKU
@@ -313,7 +281,7 @@ GFJ4714
313
281
  ✓ 401 trying to list API events
314
282
  ✓ 401 to create category and body typecheck
315
283
  ⠇ 204 to update products views
316
- [?25l ✓ tests/index.test.ts (7) 705ms
284
+ [?25l ✓ tests/index.test.ts (7) 631ms
317
285
  ✓ Read product and typecheck SKU
318
286
  ✓ Find and read product by SKU
319
287
  ✓ 404 with different Store ID from env
@@ -321,7 +289,7 @@ GFJ4714
321
289
  ✓ 401 trying to list API events
322
290
  ✓ 401 to create category and body typecheck
323
291
  ✓ 204 to update products views
324
- [?25l[?25l ✓ tests/index.test.ts (7) 705ms
292
+  ✓ tests/index.test.ts (7) 631ms
325
293
  ✓ Read product and typecheck SKU
326
294
  ✓ Find and read product by SKU
327
295
  ✓ 404 with different Store ID from env
@@ -332,7 +300,7 @@ GFJ4714
332
300
 
333
301
   Test Files  1 passed (1)
334
302
   Tests  7 passed (7)
335
-  Start at  17:42:09
336
-  Duration  1.29s (transform 128ms, setup 0ms, collect 121ms, tests 705ms, environment 0ms, prepare 128ms)
303
+  Start at  22:38:35
304
+  Duration  1.23s (transform 141ms, setup 0ms, collect 136ms, tests 631ms, environment 0ms, prepare 157ms)
337
305
 
338
306
  [?25h
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "2.7.4",
4
+ "version": "2.8.0",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",