@commercelayer/sdk 2.1.0-alpha.3 → 2.1.0-alpha.7

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.
@@ -0,0 +1,5 @@
1
+ import ApiError from './error';
2
+ export declare const CommerceLayerStatic: {
3
+ resources: () => readonly string[];
4
+ isApiError: (error: any) => error is ApiError;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/sdk",
3
- "version": "2.1.0-alpha.3",
3
+ "version": "2.1.0-alpha.7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -11,6 +11,7 @@
11
11
  "generate": "ts-node gen/generator.ts",
12
12
  "prepare": "npm run build && cp -rf dist/ lib",
13
13
  "test": "tsdx test",
14
+ "test-local": "ts-node test.ts",
14
15
  "coverage": "tsdx test --coverage"
15
16
  },
16
17
  "keywords": [