@yuno-payments/sdk-web-types 3.2.0 → 3.3.0-beta.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 CHANGED
@@ -352,6 +352,7 @@ type CreateArgs = {
352
352
  enableFocusAnimation?: boolean;
353
353
  defaultCardConfig?: CardConfig$1;
354
354
  externalFonts?: ExternalFont[];
355
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
355
356
  };
356
357
  cardLoadPreviewConfig?: CardLoadPreviewSecureConfig;
357
358
  };
@@ -620,9 +621,13 @@ type ContinuePaymentArgs = {
620
621
  */
621
622
  showPaymentStatus?: boolean;
622
623
  };
624
+ type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
625
+ type MountSeamlessCheckoutArgs = MountCheckoutArgs;
623
626
  interface YunoInstance {
624
627
  startCheckout(args: StartCheckoutArgs): Promise<void>;
625
- mountCheckout(args: MountCheckoutArgs): Promise<void>;
628
+ startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
629
+ mountCheckout(args?: MountCheckoutArgs): Promise<void>;
630
+ mountSeamlessCheckout(args?: MountSeamlessCheckoutArgs): Promise<void>;
626
631
  mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
627
632
  mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
628
633
  updateCheckoutSession(checkout: string): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -352,6 +352,7 @@ type CreateArgs = {
352
352
  enableFocusAnimation?: boolean;
353
353
  defaultCardConfig?: CardConfig$1;
354
354
  externalFonts?: ExternalFont[];
355
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
355
356
  };
356
357
  cardLoadPreviewConfig?: CardLoadPreviewSecureConfig;
357
358
  };
@@ -620,9 +621,13 @@ type ContinuePaymentArgs = {
620
621
  */
621
622
  showPaymentStatus?: boolean;
622
623
  };
624
+ type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
625
+ type MountSeamlessCheckoutArgs = MountCheckoutArgs;
623
626
  interface YunoInstance {
624
627
  startCheckout(args: StartCheckoutArgs): Promise<void>;
625
- mountCheckout(args: MountCheckoutArgs): Promise<void>;
628
+ startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
629
+ mountCheckout(args?: MountCheckoutArgs): Promise<void>;
630
+ mountSeamlessCheckout(args?: MountSeamlessCheckoutArgs): Promise<void>;
626
631
  mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
627
632
  mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
628
633
  updateCheckoutSession(checkout: string): Promise<void>;
@@ -644,4 +649,4 @@ interface Yuno {
644
649
  initialize(publicApiKey: string): Promise<YunoInstance>;
645
650
  }
646
651
 
647
- export { type ButtonTextCard, type CardConfig, type ContinuePaymentArgs, type ContinuePaymentResponse, type CreateArgsSF, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Font, type FormElementSelector, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type MountSeamlessCheckoutLiteArgs, type MountStatusPaymentArgs, type OnChangeDataSF, type RenderMode, type SecureFieldInstance, type SecureFieldsArgs, type StartCheckoutArgs, type TextsCustom, type Yuno, type YunoConfig, type YunoInstance, type mountFraudArgs };
652
+ export { type ButtonTextCard, type CardConfig, type ContinuePaymentArgs, type ContinuePaymentResponse, type CreateArgsSF, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Font, type FormElementSelector, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type MountSeamlessCheckoutArgs, type MountSeamlessCheckoutLiteArgs, type MountStatusPaymentArgs, type OnChangeDataSF, type RenderMode, type SecureFieldInstance, type SecureFieldsArgs, type StartCheckoutArgs, type StartSeamlessCheckoutArgs, type TextsCustom, type Yuno, type YunoConfig, type YunoInstance, type mountFraudArgs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/sdk-web-types",
3
- "version": "3.2.0",
3
+ "version": "3.3.0-beta.1",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {