@yuno-payments/sdk-web-types 4.5.0 → 4.6.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.
- package/dist/global.d.ts +6 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -855,8 +855,12 @@ interface YunoConfig {
|
|
|
855
855
|
}): void;
|
|
856
856
|
deviceFingerprints?: ExternalProviderId[];
|
|
857
857
|
}
|
|
858
|
-
type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey"
|
|
859
|
-
|
|
858
|
+
type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey" | "card"> & {
|
|
859
|
+
card?: CardConfig & {
|
|
860
|
+
onChange?(args: OnChangeArgs): void;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession">;
|
|
860
864
|
type mountFraudArgs = Pick<YunoConfig, "yunoCreatePayment" | "yunoError" | "language" | "checkoutSession">;
|
|
861
865
|
interface MountCheckoutLiteArgs {
|
|
862
866
|
paymentMethodType: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -855,8 +855,12 @@ interface YunoConfig {
|
|
|
855
855
|
}): void;
|
|
856
856
|
deviceFingerprints?: ExternalProviderId[];
|
|
857
857
|
}
|
|
858
|
-
type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey"
|
|
859
|
-
|
|
858
|
+
type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey" | "card"> & {
|
|
859
|
+
card?: CardConfig & {
|
|
860
|
+
onChange?(args: OnChangeArgs): void;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession">;
|
|
860
864
|
type mountFraudArgs = Pick<YunoConfig, "yunoCreatePayment" | "yunoError" | "language" | "checkoutSession">;
|
|
861
865
|
interface MountCheckoutLiteArgs {
|
|
862
866
|
paymentMethodType: string;
|