@yuno-payments/sdk-web-types 5.0.0-beta.1 → 5.1.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
@@ -874,7 +874,7 @@ type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSess
874
874
  onChange?(args: OnChangeArgs): void;
875
875
  };
876
876
  };
877
- type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession">;
877
+ type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession" | "showPaymentStatus">;
878
878
  type mountFraudArgs = Pick<YunoConfig, "yunoCreatePayment" | "yunoError" | "language" | "checkoutSession">;
879
879
  interface MountCheckoutLiteArgs {
880
880
  paymentMethodType: string;
@@ -953,6 +953,7 @@ interface YunoInstance extends ExternalButtonsNameSpace.ExternalButtonMethods {
953
953
  apiClientEnroll: ApiClientEnroll;
954
954
  executeFraudCheck: ExecuteFraudCheck;
955
955
  clickToPay: C2PHeadless.ClickToPayFn;
956
+ clearApiCache(): Promise<void>;
956
957
  }
957
958
  interface Yuno {
958
959
  initialize(publicApiKey: string, applicationSession?: string, options?: InitializeOptions): Promise<YunoInstance>;
package/dist/index.d.ts CHANGED
@@ -874,7 +874,7 @@ type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSess
874
874
  onChange?(args: OnChangeArgs): void;
875
875
  };
876
876
  };
877
- type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession">;
877
+ type MountEnrollmentLiteArgs = Pick<YunoConfig, "language" | "countryCode" | "renderMode" | "yunoEnrollmentStatus" | "yunoError" | "showLoading" | "onRendered" | "onOneTimeTokenCreationStart" | "onLoading" | "customerSession" | "showPaymentStatus">;
878
878
  type mountFraudArgs = Pick<YunoConfig, "yunoCreatePayment" | "yunoError" | "language" | "checkoutSession">;
879
879
  interface MountCheckoutLiteArgs {
880
880
  paymentMethodType: string;
@@ -953,6 +953,7 @@ interface YunoInstance extends ExternalButtonsNameSpace.ExternalButtonMethods {
953
953
  apiClientEnroll: ApiClientEnroll;
954
954
  executeFraudCheck: ExecuteFraudCheck;
955
955
  clickToPay: C2PHeadless.ClickToPayFn;
956
+ clearApiCache(): Promise<void>;
956
957
  }
957
958
  interface Yuno {
958
959
  initialize(publicApiKey: string, applicationSession?: string, options?: InitializeOptions): Promise<YunoInstance>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.1.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {