@yuno-payments/sdk-web-types 1.13.0 → 1.14.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/index.d.ts CHANGED
@@ -474,8 +474,9 @@ interface SecureFieldsArgs {
474
474
  checkoutSession?: string;
475
475
  installmentEnable?: boolean;
476
476
  customerSession?: string;
477
- enableMultipleCard?: string;
477
+ enableMultiplesCard?: boolean;
478
478
  }
479
+ type SecureFieldInstance = SecureFields;
479
480
  interface MountStatusPaymentArgs {
480
481
  checkoutSession: string;
481
482
  language: Language;
@@ -497,7 +498,7 @@ interface YunoInstance {
497
498
  updateCheckoutSession(checkoutSession: string): void;
498
499
  mountFraud(args: mountFraudArgs): void;
499
500
  mountStatusPayment(args: MountStatusPaymentArgs): void;
500
- secureFields(args: SecureFieldsArgs): SecureFields;
501
+ secureFields(args: SecureFieldsArgs): SecureFieldInstance;
501
502
  apiClientPayment: ApiClientPayment;
502
503
  apiClientEnroll: ApiClientEnroll;
503
504
  }
package/dist/types.ts CHANGED
@@ -474,8 +474,9 @@ interface SecureFieldsArgs {
474
474
  checkoutSession?: string;
475
475
  installmentEnable?: boolean;
476
476
  customerSession?: string;
477
- enableMultipleCard?: string;
477
+ enableMultiplesCard?: boolean;
478
478
  }
479
+ type SecureFieldInstance = SecureFields;
479
480
  interface MountStatusPaymentArgs {
480
481
  checkoutSession: string;
481
482
  language: Language;
@@ -497,7 +498,7 @@ interface YunoInstance {
497
498
  updateCheckoutSession(checkoutSession: string): void;
498
499
  mountFraud(args: mountFraudArgs): void;
499
500
  mountStatusPayment(args: MountStatusPaymentArgs): void;
500
- secureFields(args: SecureFieldsArgs): SecureFields;
501
+ secureFields(args: SecureFieldsArgs): SecureFieldInstance;
501
502
  apiClientPayment: ApiClientPayment;
502
503
  apiClientEnroll: ApiClientEnroll;
503
504
  }
@@ -505,4 +506,4 @@ interface Yuno {
505
506
  initialize(publicApiKey: string): YunoInstance;
506
507
  }
507
508
 
508
- export { type ButtonTextCard, type CardConfig, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type FormElementSelector, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type MountStatusPaymentArgs, type RenderMode, type SecureFieldsArgs, type StartCheckoutArgs, type TextsCustom, type Yuno, type YunoConfig, type YunoInstance, type mountFraudArgs };
509
+ export { type ButtonTextCard, type CardConfig, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type FormElementSelector, type Language, type LoadingType, type MountCheckoutArgs, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, type MountStatusPaymentArgs, type RenderMode, type SecureFieldInstance, type SecureFieldsArgs, type StartCheckoutArgs, 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": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/types.ts",
6
6
  "type": "commonjs",