@croct/sdk 0.22.1 → 0.22.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.
package/constants.cjs CHANGED
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
  const BASE_ENDPOINT_URL = "https://api.croct.io";
27
27
  const MAX_QUERY_LENGTH = parseInt("<@maxQueryLength@>", 10);
28
- const VERSION = "0.22.1";
28
+ const VERSION = "0.22.2";
29
29
  const CLIENT_LIBRARY = `Croct SDK JS v${VERSION}`;
30
30
  // Annotate the CommonJS export names for ESM import in node:
31
31
  0 && (module.exports = {
package/constants.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  declare const BASE_ENDPOINT_URL = "https://api.croct.io";
2
2
  declare const MAX_QUERY_LENGTH: number;
3
- declare const VERSION = "0.22.1";
4
- declare const CLIENT_LIBRARY = "Croct SDK JS v0.22.1";
3
+ declare const VERSION = "0.22.2";
4
+ declare const CLIENT_LIBRARY = "Croct SDK JS v0.22.2";
5
5
 
6
6
  export { BASE_ENDPOINT_URL, CLIENT_LIBRARY, MAX_QUERY_LENGTH, VERSION };
package/constants.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  declare const BASE_ENDPOINT_URL = "https://api.croct.io";
2
2
  declare const MAX_QUERY_LENGTH: number;
3
- declare const VERSION = "0.22.1";
4
- declare const CLIENT_LIBRARY = "Croct SDK JS v0.22.1";
3
+ declare const VERSION = "0.22.2";
4
+ declare const CLIENT_LIBRARY = "Croct SDK JS v0.22.2";
5
5
 
6
6
  export { BASE_ENDPOINT_URL, CLIENT_LIBRARY, MAX_QUERY_LENGTH, VERSION };
package/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const BASE_ENDPOINT_URL = "https://api.croct.io";
2
2
  const MAX_QUERY_LENGTH = parseInt("<@maxQueryLength@>", 10);
3
- const VERSION = "0.22.1";
3
+ const VERSION = "0.22.2";
4
4
  const CLIENT_LIBRARY = `Croct SDK JS v${VERSION}`;
5
5
  export {
6
6
  BASE_ENDPOINT_URL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/sdk",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "description": "Croct SDK for JavaScript.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -88,17 +88,17 @@
88
88
  "@croct/eslint-plugin": "^0.8.3",
89
89
  "@eslint/eslintrc": "^3.3.3",
90
90
  "@fetch-mock/jest": "^0.2.20",
91
- "@typescript-eslint/parser": "^8.53.0",
92
91
  "@types/jest": "^30.0.0",
92
+ "@typescript-eslint/parser": "^8.53.0",
93
93
  "esbuild-fix-imports-plugin": "^1.0.19",
94
94
  "eslint": "^9.39.0",
95
95
  "fetch-mock": "^12.6.0",
96
96
  "jest": "^30.0.0",
97
97
  "jest-environment-jsdom": "^30.0.0",
98
98
  "jest-extended": "^7.0.0",
99
- "ts-jest": "^29.0.3",
99
+ "ts-jest": "^29.4.9",
100
100
  "tsup": "^8.4.0",
101
- "typescript": "^5.0.0"
101
+ "typescript": "^6.0.0"
102
102
  },
103
103
  "files": [
104
104
  "**/*.js",
@@ -198,7 +198,7 @@ const order = new import_validation.ObjectType({
198
198
  minimum: 1
199
199
  }),
200
200
  status: new import_validation.StringType({
201
- enumeration: ["placed", "paid", "complete"]
201
+ enumeration: ["placed", "paid", "completed"]
202
202
  })
203
203
  }
204
204
  });
@@ -172,7 +172,7 @@ const order = new ObjectType({
172
172
  minimum: 1
173
173
  }),
174
174
  status: new StringType({
175
- enumeration: ["placed", "paid", "complete"]
175
+ enumeration: ["placed", "paid", "completed"]
176
176
  })
177
177
  }
178
178
  });