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