@yuno-payments/sdk-web-types 3.2.0 → 3.3.0-beta.2

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
  };
@@ -537,6 +538,7 @@ interface YunoConfig {
537
538
  externalPaymentButtons?: ExternalPaymentButtons;
538
539
  card?: CardConfig;
539
540
  showLoading?: boolean;
541
+ showPaymentStatus?: boolean;
540
542
  c2p?: {
541
543
  enableRememberMe?: boolean;
542
544
  recognitionToken?: string;
@@ -620,9 +622,13 @@ type ContinuePaymentArgs = {
620
622
  */
621
623
  showPaymentStatus?: boolean;
622
624
  };
625
+ type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
626
+ type MountSeamlessCheckoutArgs = MountCheckoutArgs;
623
627
  interface YunoInstance {
624
628
  startCheckout(args: StartCheckoutArgs): Promise<void>;
625
- mountCheckout(args: MountCheckoutArgs): Promise<void>;
629
+ startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
630
+ mountCheckout(args?: MountCheckoutArgs): Promise<void>;
631
+ mountSeamlessCheckout(args?: MountSeamlessCheckoutArgs): Promise<void>;
626
632
  mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
627
633
  mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
628
634
  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
  };
@@ -537,6 +538,7 @@ interface YunoConfig {
537
538
  externalPaymentButtons?: ExternalPaymentButtons;
538
539
  card?: CardConfig;
539
540
  showLoading?: boolean;
541
+ showPaymentStatus?: boolean;
540
542
  c2p?: {
541
543
  enableRememberMe?: boolean;
542
544
  recognitionToken?: string;
@@ -620,9 +622,13 @@ type ContinuePaymentArgs = {
620
622
  */
621
623
  showPaymentStatus?: boolean;
622
624
  };
625
+ type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
626
+ type MountSeamlessCheckoutArgs = MountCheckoutArgs;
623
627
  interface YunoInstance {
624
628
  startCheckout(args: StartCheckoutArgs): Promise<void>;
625
- mountCheckout(args: MountCheckoutArgs): Promise<void>;
629
+ startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
630
+ mountCheckout(args?: MountCheckoutArgs): Promise<void>;
631
+ mountSeamlessCheckout(args?: MountSeamlessCheckoutArgs): Promise<void>;
626
632
  mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
627
633
  mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
628
634
  updateCheckoutSession(checkout: string): Promise<void>;
@@ -644,4 +650,4 @@ interface Yuno {
644
650
  initialize(publicApiKey: string): Promise<YunoInstance>;
645
651
  }
646
652
 
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 };
653
+ 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.2",
4
4
  "types": "dist/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {