@yuno-payments/sdk-web-types 4.2.0 → 4.3.0-test.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/dist/global.d.ts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -888,6 +888,10 @@ type ContinuePaymentArgs = {
|
|
|
888
888
|
showPaymentStatus?: boolean;
|
|
889
889
|
};
|
|
890
890
|
type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, "yunoCreatePayment">;
|
|
891
|
+
type ShowLoaderOptions = {
|
|
892
|
+
onRendered?: () => void;
|
|
893
|
+
language?: string;
|
|
894
|
+
};
|
|
891
895
|
interface YunoInstance {
|
|
892
896
|
startCheckout(args: StartCheckoutArgs): Promise<void>;
|
|
893
897
|
startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
|
|
@@ -901,7 +905,7 @@ interface YunoInstance {
|
|
|
901
905
|
continuePayment(args?: ContinuePaymentArgs): Promise<ContinuePaymentResponse>;
|
|
902
906
|
notifyError(): Promise<void>;
|
|
903
907
|
mountEnrollmentLite(args: MountEnrollmentLiteArgs): Promise<void>;
|
|
904
|
-
showLoader(): Promise<void>;
|
|
908
|
+
showLoader(args?: ShowLoaderOptions): Promise<void>;
|
|
905
909
|
hideLoader(): Promise<void>;
|
|
906
910
|
updateCheckoutSession(checkoutSession: string): Promise<void>;
|
|
907
911
|
mountFraud(args: mountFraudArgs): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -888,6 +888,10 @@ type ContinuePaymentArgs = {
|
|
|
888
888
|
showPaymentStatus?: boolean;
|
|
889
889
|
};
|
|
890
890
|
type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, "yunoCreatePayment">;
|
|
891
|
+
type ShowLoaderOptions = {
|
|
892
|
+
onRendered?: () => void;
|
|
893
|
+
language?: string;
|
|
894
|
+
};
|
|
891
895
|
interface YunoInstance {
|
|
892
896
|
startCheckout(args: StartCheckoutArgs): Promise<void>;
|
|
893
897
|
startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
|
|
@@ -901,7 +905,7 @@ interface YunoInstance {
|
|
|
901
905
|
continuePayment(args?: ContinuePaymentArgs): Promise<ContinuePaymentResponse>;
|
|
902
906
|
notifyError(): Promise<void>;
|
|
903
907
|
mountEnrollmentLite(args: MountEnrollmentLiteArgs): Promise<void>;
|
|
904
|
-
showLoader(): Promise<void>;
|
|
908
|
+
showLoader(args?: ShowLoaderOptions): Promise<void>;
|
|
905
909
|
hideLoader(): Promise<void>;
|
|
906
910
|
updateCheckoutSession(checkoutSession: string): Promise<void>;
|
|
907
911
|
mountFraud(args: mountFraudArgs): Promise<void>;
|