@yuno-payments/sdk-web-types 1.13.1 → 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 +2 -1
- package/dist/types.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -476,6 +476,7 @@ interface SecureFieldsArgs {
|
|
|
476
476
|
customerSession?: string;
|
|
477
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):
|
|
501
|
+
secureFields(args: SecureFieldsArgs): SecureFieldInstance;
|
|
501
502
|
apiClientPayment: ApiClientPayment;
|
|
502
503
|
apiClientEnroll: ApiClientEnroll;
|
|
503
504
|
}
|
package/dist/types.ts
CHANGED
|
@@ -476,6 +476,7 @@ interface SecureFieldsArgs {
|
|
|
476
476
|
customerSession?: string;
|
|
477
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):
|
|
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 };
|