@cloudcommerce/api 0.0.61 → 0.0.64

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
- @cloudcommerce/api:build: cache hit, replaying output 97132b0e811b53ea
1
+ @cloudcommerce/api:build: cache hit, replaying output 2c8978d35c19d0fc
2
2
  @cloudcommerce/api:build: 
3
- @cloudcommerce/api:build: > @cloudcommerce/api@0.0.60 build /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ @cloudcommerce/api:build: > @cloudcommerce/api@0.0.63 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  @cloudcommerce/api:build: > sh ../../scripts/build-lib.sh && cp -r src/types lib/
5
5
  @cloudcommerce/api:build: 
@@ -1,21 +1,21 @@
1
- @cloudcommerce/api:test: cache hit, replaying output e69221e2cbbc8d23
2
- @cloudcommerce/api:test: 
3
- @cloudcommerce/api:test: > @cloudcommerce/api@0.0.60 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
- @cloudcommerce/api:test: > tsc -p ../../tsconfig.test.json && vitest run
5
- @cloudcommerce/api:test: 
6
- @cloudcommerce/api:test: 
7
- @cloudcommerce/api:test:  RUN v0.22.1 /home/leo/code/ecomplus/cloud-commerce/packages/api
8
- @cloudcommerce/api:test: 
9
- @cloudcommerce/api:test:  ✓ tests/index.test.ts > Read product and typecheck SKU
10
- @cloudcommerce/api:test: (node:14277) [https://github.com/node-fetch/node-fetch/issues/1000 (response)] DeprecationWarning: data doesn't exist, use json(), text(), arrayBuffer(), or body instead
11
- @cloudcommerce/api:test: (Use `node --trace-deprecation ...` to show where the warning was created)
12
- @cloudcommerce/api:test:  ✓ tests/index.test.ts > 404 with different Store ID from env
13
- @cloudcommerce/api:test:  ✓ tests/index.test.ts > List categories and typecheck result
14
- @cloudcommerce/api:test:  ✓ tests/index.test.ts > 401 trying to list API events
15
- @cloudcommerce/api:test:  ✓ tests/index.test.ts > 401 to create category and body typecheck
16
- @cloudcommerce/api:test: 
17
- @cloudcommerce/api:test: Test Files 1 passed (1)
18
- @cloudcommerce/api:test:  Tests 5 passed (5)
19
- @cloudcommerce/api:test:  Start at 22:41:33
20
- @cloudcommerce/api:test:  Duration 3.27s (transform 753ms, setup 0ms, collect 103ms, tests 1.81s)
21
- @cloudcommerce/api:test: 
1
+ @cloudcommerce/api:test: cache hit, replaying output 39849b59a931cbab
2
+ @cloudcommerce/api:test: 
3
+ @cloudcommerce/api:test: > @cloudcommerce/api@0.0.63 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
+ @cloudcommerce/api:test: > tsc -p ../../tsconfig.test.json && vitest run
5
+ @cloudcommerce/api:test: 
6
+ @cloudcommerce/api:test: 
7
+ @cloudcommerce/api:test:  RUN v0.22.1 /home/leo/code/ecomplus/cloud-commerce/packages/api
8
+ @cloudcommerce/api:test: 
9
+ @cloudcommerce/api:test:  ✓ tests/index.test.ts > Read product and typecheck SKU
10
+ @cloudcommerce/api:test: (node:25035) [https://github.com/node-fetch/node-fetch/issues/1000 (response)] DeprecationWarning: data doesn't exist, use json(), text(), arrayBuffer(), or body instead
11
+ @cloudcommerce/api:test: (Use `node --trace-deprecation ...` to show where the warning was created)
12
+ @cloudcommerce/api:test:  ✓ tests/index.test.ts > 404 with different Store ID from env
13
+ @cloudcommerce/api:test:  ✓ tests/index.test.ts > List categories and typecheck result
14
+ @cloudcommerce/api:test:  ✓ tests/index.test.ts > 401 trying to list API events
15
+ @cloudcommerce/api:test:  ✓ tests/index.test.ts > 401 to create category and body typecheck
16
+ @cloudcommerce/api:test: 
17
+ @cloudcommerce/api:test: Test Files 1 passed (1)
18
+ @cloudcommerce/api:test:  Tests 5 passed (5)
19
+ @cloudcommerce/api:test:  Start at 16:45:45
20
+ @cloudcommerce/api:test:  Duration 2.58s (transform 923ms, setup 0ms, collect 112ms, tests 937ms)
21
+ @cloudcommerce/api:test: 
package/lib/api.d.ts CHANGED
@@ -1235,10 +1235,10 @@ declare const api: {
1235
1235
  };
1236
1236
  } | undefined;
1237
1237
  data?: {
1238
- [k: string]: unknown;
1238
+ [k: string]: any;
1239
1239
  } | undefined;
1240
1240
  hidden_data?: {
1241
- [k: string]: unknown;
1241
+ [k: string]: any;
1242
1242
  } | undefined;
1243
1243
  } : E_1 extends "authentications" | `authentications/${string}` ? {
1244
1244
  name?: string | undefined;
@@ -2483,10 +2483,10 @@ declare const api: {
2483
2483
  };
2484
2484
  } | undefined;
2485
2485
  data?: {
2486
- [k: string]: unknown;
2486
+ [k: string]: any;
2487
2487
  } | undefined;
2488
2488
  hidden_data?: {
2489
- [k: string]: unknown;
2489
+ [k: string]: any;
2490
2490
  } | undefined;
2491
2491
  } : E_2 extends "authentications" | `authentications/${string}` ? {
2492
2492
  name?: string | undefined;
@@ -3739,10 +3739,10 @@ declare const post: <E extends Endpoint, C extends AbstractedConfig>(endpoint: E
3739
3739
  };
3740
3740
  } | undefined;
3741
3741
  data?: {
3742
- [k: string]: unknown;
3742
+ [k: string]: any;
3743
3743
  } | undefined;
3744
3744
  hidden_data?: {
3745
- [k: string]: unknown;
3745
+ [k: string]: any;
3746
3746
  } | undefined;
3747
3747
  } : E extends "authentications" | `authentications/${string}` ? {
3748
3748
  name?: string | undefined;
@@ -4987,10 +4987,10 @@ declare const put: <E extends `products/${string}` | `categories/${string}` | `b
4987
4987
  };
4988
4988
  } | undefined;
4989
4989
  data?: {
4990
- [k: string]: unknown;
4990
+ [k: string]: any;
4991
4991
  } | undefined;
4992
4992
  hidden_data?: {
4993
- [k: string]: unknown;
4993
+ [k: string]: any;
4994
4994
  } | undefined;
4995
4995
  } : E extends "authentications" | `authentications/${string}` ? {
4996
4996
  name?: string | undefined;
@@ -79,13 +79,13 @@ export interface Applications {
79
79
  * Application object data, schema free
80
80
  */
81
81
  data?: {
82
- [k: string]: unknown;
82
+ [k: string]: any;
83
83
  };
84
84
  /**
85
85
  * Application private data, available only with authentication
86
86
  */
87
87
  hidden_data?: {
88
- [k: string]: unknown;
88
+ [k: string]: any;
89
89
  };
90
90
  /**
91
91
  * Flags to associate additional info
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.0.61",
4
+ "version": "0.0.64",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/api.js",
7
7
  "types": "lib/api.d.ts",
@@ -79,13 +79,13 @@ export interface Applications {
79
79
  * Application object data, schema free
80
80
  */
81
81
  data?: {
82
- [k: string]: unknown;
82
+ [k: string]: any;
83
83
  };
84
84
  /**
85
85
  * Application private data, available only with authentication
86
86
  */
87
87
  hidden_data?: {
88
- [k: string]: unknown;
88
+ [k: string]: any;
89
89
  };
90
90
  /**
91
91
  * Flags to associate additional info