@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.
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay-library.interface.mjs +1 -1
- package/esm2022/lib/core/sdk-payment-systems/google-pay/google-pay.service.mjs +18 -2
- package/esm2022/lib/core/sdk-payment-systems/google-pay/payment/google-pay-checkout-payment.service.mjs +6 -2
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/xsolla-payment-client-core.mjs +23 -3
- package/fesm2022/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/sdk-payment-systems/google-pay/google-pay-library.interface.d.ts +1 -0
- package/lib/core/sdk-payment-systems/google-pay/google-pay.service.d.ts +3 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
1
|
+
export declare const PAYMENT_CLIENT_CORE_VERSION = "0.5.3";
|