@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 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
- type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession" | "showPaymentStatus">;
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
- type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession" | "showPaymentStatus">;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {