@cloudcommerce/api 2.7.1 → 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.7.0 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.7.0 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
@@ -78,6 +78,22 @@
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
 
@@ -113,6 +129,14 @@ GFJ4714
113
129
  · 401 trying to list API events
114
130
  · 401 to create category and body typecheck
115
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
116
140
  [?25l ❯ tests/index.test.ts (7)
117
141
  ✓ Read product and typecheck SKU
118
142
  ✓ Find and read product by SKU
@@ -189,8 +213,8 @@ GFJ4714
189
213
  ✓ Read product and typecheck SKU
190
214
  ✓ Find and read product by SKU
191
215
  ✓ 404 with different Store ID from env
192
- ✓ List categories and typecheck result
193
- ⠙ 401 trying to list API events
216
+ ⠋ List categories and typecheck result
217
+ · 401 trying to list API events
194
218
  · 401 to create category and body typecheck
195
219
  · 204 to update products views
196
220
  [?25l ❯ tests/index.test.ts (7)
@@ -198,8 +222,8 @@ GFJ4714
198
222
  ✓ Find and read product by SKU
199
223
  ✓ 404 with different Store ID from env
200
224
  ✓ List categories and typecheck result
201
- ✓ 401 trying to list API events
202
- ⠙ 401 to create category and body typecheck
225
+ ⠙ 401 trying to list API events
226
+ · 401 to create category and body typecheck
203
227
  · 204 to update products views
204
228
  [?25l ❯ tests/index.test.ts (7)
205
229
  ✓ Read product and typecheck SKU
@@ -207,7 +231,7 @@ GFJ4714
207
231
  ✓ 404 with different Store ID from env
208
232
  ✓ List categories and typecheck result
209
233
  ✓ 401 trying to list API events
210
- ⠹ 401 to create category and body typecheck
234
+ ⠙ 401 to create category and body typecheck
211
235
  · 204 to update products views
212
236
  [?25l ❯ tests/index.test.ts (7)
213
237
  ✓ Read product and typecheck SKU
@@ -249,7 +273,23 @@ GFJ4714
249
273
  ✓ 401 trying to list API events
250
274
  ✓ 401 to create category and body typecheck
251
275
  ⠴ 204 to update products views
252
- [?25l ✓ tests/index.test.ts (7) 561ms
276
+ [?25l ❯ tests/index.test.ts (7)
277
+ ✓ Read product and typecheck SKU
278
+ ✓ Find and read product by SKU
279
+ ✓ 404 with different Store ID from env
280
+ ✓ List categories and typecheck result
281
+ ✓ 401 trying to list API events
282
+ ✓ 401 to create category and body typecheck
283
+ ⠦ 204 to update products views
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
253
293
  ✓ Read product and typecheck SKU
254
294
  ✓ Find and read product by SKU
255
295
  ✓ 404 with different Store ID from env
@@ -257,7 +297,7 @@ GFJ4714
257
297
  ✓ 401 trying to list API events
258
298
  ✓ 401 to create category and body typecheck
259
299
  ✓ 204 to update products views
260
-  ✓ tests/index.test.ts (7) 561ms
300
+  ✓ tests/index.test.ts (7) 707ms
261
301
  ✓ Read product and typecheck SKU
262
302
  ✓ Find and read product by SKU
263
303
  ✓ 404 with different Store ID from env
@@ -268,7 +308,7 @@ GFJ4714
268
308
 
269
309
   Test Files  1 passed (1)
270
310
   Tests  7 passed (7)
271
-  Start at  20:04:43
272
-  Duration  1.10s (transform 125ms, setup 0ms, collect 122ms, tests 561ms, environment 0ms, prepare 116ms)
311
+  Start at  20:12:30
312
+  Duration  1.51s (transform 163ms, setup 0ms, collect 158ms, tests 707ms, environment 0ms, prepare 171ms)
273
313
 
274
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.1",
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",