@yuno-payments/sdk-web-types 5.0.0 → 5.2.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
@@ -868,6 +868,11 @@ interface YunoConfig {
868
868
  type: LoadingType;
869
869
  }): void;
870
870
  deviceFingerprints?: ExternalProviderId[];
871
+ paymentListConfig?: {
872
+ scrollContainerSelector?: string;
873
+ visibleTriggerOffsetPx?: number;
874
+ bottomOffsetPx?: number;
875
+ };
871
876
  }
872
877
  type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey" | "card"> & {
873
878
  card?: CardConfig & {
@@ -953,6 +958,7 @@ interface YunoInstance extends ExternalButtonsNameSpace.ExternalButtonMethods {
953
958
  apiClientEnroll: ApiClientEnroll;
954
959
  executeFraudCheck: ExecuteFraudCheck;
955
960
  clickToPay: C2PHeadless.ClickToPayFn;
961
+ clearApiCache(): Promise<void>;
956
962
  }
957
963
  interface Yuno {
958
964
  initialize(publicApiKey: string, applicationSession?: string, options?: InitializeOptions): Promise<YunoInstance>;
package/dist/index.d.ts CHANGED
@@ -868,6 +868,11 @@ interface YunoConfig {
868
868
  type: LoadingType;
869
869
  }): void;
870
870
  deviceFingerprints?: ExternalProviderId[];
871
+ paymentListConfig?: {
872
+ scrollContainerSelector?: string;
873
+ visibleTriggerOffsetPx?: number;
874
+ bottomOffsetPx?: number;
875
+ };
871
876
  }
872
877
  type StartCheckoutArgs = Omit<YunoConfig, "yunoEnrollmentStatus" | "customerSession" | "publicApiKey" | "card"> & {
873
878
  card?: CardConfig & {
@@ -953,6 +958,7 @@ interface YunoInstance extends ExternalButtonsNameSpace.ExternalButtonMethods {
953
958
  apiClientEnroll: ApiClientEnroll;
954
959
  executeFraudCheck: ExecuteFraudCheck;
955
960
  clickToPay: C2PHeadless.ClickToPayFn;
961
+ clearApiCache(): Promise<void>;
956
962
  }
957
963
  interface Yuno {
958
964
  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",
3
+ "version": "5.2.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {