@xsolla/payment-client-core 0.5.2 → 0.5.3

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.
@@ -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.3";
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.3",
4
4
  "engines": {
5
5
  "node": ">=16.10.0",
6
6
  "npm": ">=8.11.0"