@kushki/js 1.38.3 → 1.39.1

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/lib/KushkiInfo.js CHANGED
@@ -11,7 +11,7 @@ const UtilsService_1 = require("./../lib/service/UtilsService");
11
11
  */
12
12
  class KInfo {
13
13
  static buildKushkiInfo(kushkiInfo) {
14
- const kushki_js_version = "1.38.3";
14
+ const kushki_js_version = "1.39.1";
15
15
  if (kushkiInfo) {
16
16
  if (UtilsService_1.UtilsService.sIsEmpty(kushkiInfo.platformVersion))
17
17
  kushkiInfo.platformVersion = kushki_js_version;
@@ -12,7 +12,8 @@ export declare enum PlatformCodeEnum {
12
12
  PRESTASHOP = "KP010",
13
13
  WOOCOMERCE = "KP011",
14
14
  SHOPIFY = "KP012",
15
- WEBCHECKOUT = "KP013"
15
+ WEBCHECKOUT = "KP013",
16
+ EXPRESS_CHECKOUT = "KP014"
16
17
  }
17
18
  export declare const PLATFORMS: {
18
19
  KP001: {
@@ -67,4 +68,8 @@ export declare const PLATFORMS: {
67
68
  platformId: string;
68
69
  platformName: string;
69
70
  };
71
+ KP014: {
72
+ platformId: string;
73
+ platformName: string;
74
+ };
70
75
  };
@@ -16,6 +16,7 @@ var PlatformCodeEnum;
16
16
  PlatformCodeEnum["WOOCOMERCE"] = "KP011";
17
17
  PlatformCodeEnum["SHOPIFY"] = "KP012";
18
18
  PlatformCodeEnum["WEBCHECKOUT"] = "KP013";
19
+ PlatformCodeEnum["EXPRESS_CHECKOUT"] = "KP014";
19
20
  })(PlatformCodeEnum = exports.PlatformCodeEnum || (exports.PlatformCodeEnum = {}));
20
21
  exports.PLATFORMS = {
21
22
  KP001: {
@@ -70,4 +71,8 @@ exports.PLATFORMS = {
70
71
  platformId: "KP013",
71
72
  platformName: "WEBCHECKOUT",
72
73
  },
74
+ KP014: {
75
+ platformId: "KP014",
76
+ platformName: "EXPRESS_CHECKOUT",
77
+ },
73
78
  };
@@ -16,6 +16,7 @@ export interface KushkiInfo {
16
16
  * KP011=WOOCOMERCE
17
17
  * KP012=SHOPIFY
18
18
  * KP013=WEBCHECKOUT
19
+ * KP014=EXPRESS_CHECKOUT
19
20
  *
20
21
  */
21
22
  platformId:
@@ -31,6 +32,7 @@ export interface KushkiInfo {
31
32
  | "KP010"
32
33
  | "KP011"
33
34
  | "KP012"
34
- | "KP013";
35
+ | "KP013"
36
+ | "KP014";
35
37
  platformVersion?: string;
36
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kushki/js",
3
- "version": "1.38.3",
3
+ "version": "1.39.1",
4
4
  "description": "kushki-js",
5
5
  "main": "lib/lib.js",
6
6
  "types": "lib/lib.d.ts",
@@ -11,8 +11,7 @@
11
11
  ],
12
12
  "husky": {
13
13
  "hooks": {
14
- "pre-commit": "lint-staged",
15
- "pre-push": "npm run lint:duplicate && npm run lint:check && npm run test:unit"
14
+ "pre-commit": "lint-staged"
16
15
  }
17
16
  },
18
17
  "scripts": {