@xsolla/payment-client-core 0.2.109 → 0.3.0

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,4 +1,4 @@
1
- export type LegalArea = 'EU' | 'US' | 'other';
1
+ export type LegalArea = 'EU' | 'KR' | 'US' | 'other';
2
2
  export interface LegalComponentConfig {
3
3
  legalArea?: LegalArea;
4
4
  isJapanUser: boolean;
@@ -1,2 +1,5 @@
1
1
  export declare const softBankContrId = 1303;
2
+ export declare const adyenUsContrId = 1350;
3
+ export declare const adyenEuContrId = 1351;
4
+ export declare const adyenJapanContrId = 1352;
2
5
  export declare const acquirersWithRedirectInNewWindow: Set<number>;
@@ -14,6 +14,7 @@ export interface RedirectActionData {
14
14
  isNewWindowRequired?: boolean;
15
15
  isSameWindowRequired?: boolean;
16
16
  data: object;
17
+ method?: string;
17
18
  };
18
19
  }
19
20
  export type RedirectAction = Action<RedirectActionType, RedirectActionData>;
@@ -8,5 +8,6 @@ export interface ShowFieldsActionData {
8
8
  errors: XpsError[] | null;
9
9
  messages: XpsMessage[] | undefined;
10
10
  order?: object;
11
+ submitButtonText?: string;
11
12
  }
12
13
  export type ShowFieldsAction = Action<ShowFieldsActionType, ShowFieldsActionData>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.109",
3
+ "version": "0.3.0",
4
4
  "engines": {
5
5
  "node": ">=16.10.0",
6
6
  "npm": ">=8.11.0"