@xsolla/payment-client-core 0.5.2 → 0.5.4

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.
@@ -9,7 +9,6 @@ export declare class DfpCollectService {
9
9
  private readonly formName;
10
10
  constructor(window: ExtendedWindow, notifyDfpStatusService: NotifyDfpStatusService);
11
11
  collectDfpStatus(threeDsForm: ThreeDsForm): void;
12
- private openIframeWithPostRequest;
13
12
  private createIframe;
14
13
  private postFormToIframe;
15
14
  private createForm;
@@ -24,6 +24,7 @@ export declare class ThreeDs20Service {
24
24
  private latestDfpParameters;
25
25
  private readonly notifyDfpTimerId;
26
26
  private readonly notifyDfpTimeoutMs;
27
+ private readonly waitCallbackNotifyDfpTimeoutMs;
27
28
  private readonly statusThreeDsTimerId;
28
29
  private readonly statusThreeDsTimeoutMs;
29
30
  constructor(statusThreeDsService: StatusThreeDsService, notifyDfpStatusService: NotifyDfpStatusService, webSocketFactory: WebSocketFactory, dfpCollectService: DfpCollectService, reinsuranceCheckService: ReinsuranceCheckService, userBehaviourAnalyticsService: UserBehaviourAnalyticsService);
@@ -134,6 +134,7 @@ export interface GoogleInitData {
134
134
  isReadyToPayRequest: IsReadyToPayRequest;
135
135
  paymentDataRequest: GooglePayPaymentRequest;
136
136
  amexCardNotification?: string;
137
+ environment?: string;
137
138
  }
138
139
  export interface IntermediatePaymentData {
139
140
  callbackTrigger?: 'INITIALIZE' | 'SHIPPING_ADDRESS' | 'SHIPPING_OPTION';
@@ -26,6 +26,8 @@ export declare class GooglePayService {
26
26
  private readonly analyticsEvent;
27
27
  private paymentInProgress;
28
28
  private googlePaymentClient;
29
+ private googlePayClientEnvironment;
30
+ private serverEnvironment;
29
31
  private initParams;
30
32
  private paymentService;
31
33
  private onPaymentDataChanged;
@@ -43,6 +45,7 @@ export declare class GooglePayService {
43
45
  checkPaymentDevice(data: CheckPaymentDeviceData): void;
44
46
  proceedCheckout(): Promise<CheckStatusAction | null>;
45
47
  createButton(onClickHandler: () => void, configuration: GooglePayButtonConfiguration): HTMLButtonElement | null;
48
+ private resolveGooglePayEnvironment;
46
49
  private setupGooglePayClient;
47
50
  private onLoadScript;
48
51
  private getPaymentService;
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const PAYMENT_CLIENT_CORE_VERSION = "0.5.2";
1
+ export declare const PAYMENT_CLIENT_CORE_VERSION = "0.5.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "engines": {
5
5
  "node": ">=16.10.0",
6
6
  "npm": ">=8.11.0"