@yuno-payments/sdk-web-types 1.16.0-beta.2 → 1.16.0-beta.3
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 -2
- package/dist/types.ts +4 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -320,7 +320,7 @@ type CardLoadPreviewSecureConfig = {
|
|
|
320
320
|
};
|
|
321
321
|
type ValidationTypeSecureFields = 'on_change' | 'on_blur' | 'on_blur_full';
|
|
322
322
|
type DesignType = 'float-label' | 'float-label-static' | 'label-placeholder';
|
|
323
|
-
type
|
|
323
|
+
type CreateArgs = {
|
|
324
324
|
name: Name;
|
|
325
325
|
options: {
|
|
326
326
|
label?: string;
|
|
@@ -423,7 +423,7 @@ interface SecureField {
|
|
|
423
423
|
setCardHolderName(value: string): Promise<void>;
|
|
424
424
|
}
|
|
425
425
|
interface SecureFields {
|
|
426
|
-
create({ name, options }:
|
|
426
|
+
create({ name, options }: CreateArgs): SecureField;
|
|
427
427
|
getElement({ name }: GetElement): SecureField;
|
|
428
428
|
generateToken(params: GenerateTokenArgs): Promise<string>;
|
|
429
429
|
generateTokenWithInformation(params: GenerateTokenArgs): Promise<OneTimeToken>;
|
|
@@ -553,6 +553,7 @@ interface SecureFieldsArgs {
|
|
|
553
553
|
}
|
|
554
554
|
type SecureFieldInstance = SecureFields;
|
|
555
555
|
type OnChangeDataSF = OnChangeArgs['data'];
|
|
556
|
+
type CreateArgsSF = CreateArgs;
|
|
556
557
|
interface MountStatusPaymentArgs {
|
|
557
558
|
checkoutSession: string;
|
|
558
559
|
language: Language;
|
package/dist/types.ts
CHANGED
|
@@ -320,7 +320,7 @@ type CardLoadPreviewSecureConfig = {
|
|
|
320
320
|
};
|
|
321
321
|
type ValidationTypeSecureFields = 'on_change' | 'on_blur' | 'on_blur_full';
|
|
322
322
|
type DesignType = 'float-label' | 'float-label-static' | 'label-placeholder';
|
|
323
|
-
type
|
|
323
|
+
type CreateArgs = {
|
|
324
324
|
name: Name;
|
|
325
325
|
options: {
|
|
326
326
|
label?: string;
|
|
@@ -423,7 +423,7 @@ interface SecureField {
|
|
|
423
423
|
setCardHolderName(value: string): Promise<void>;
|
|
424
424
|
}
|
|
425
425
|
interface SecureFields {
|
|
426
|
-
create({ name, options }:
|
|
426
|
+
create({ name, options }: CreateArgs): SecureField;
|
|
427
427
|
getElement({ name }: GetElement): SecureField;
|
|
428
428
|
generateToken(params: GenerateTokenArgs): Promise<string>;
|
|
429
429
|
generateTokenWithInformation(params: GenerateTokenArgs): Promise<OneTimeToken>;
|
|
@@ -553,6 +553,7 @@ interface SecureFieldsArgs {
|
|
|
553
553
|
}
|
|
554
554
|
type SecureFieldInstance = SecureFields;
|
|
555
555
|
type OnChangeDataSF = OnChangeArgs['data'];
|
|
556
|
+
type CreateArgsSF = CreateArgs;
|
|
556
557
|
interface MountStatusPaymentArgs {
|
|
557
558
|
checkoutSession: string;
|
|
558
559
|
language: Language;
|
|
@@ -582,4 +583,4 @@ interface Yuno {
|
|
|
582
583
|
initialize(publicApiKey: string): YunoInstance;
|
|
583
584
|
}
|
|
584
585
|
|
|
585
|
-
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 };
|
|
586
|
+
export { type ButtonTextCard, type CardConfig, type CreateArgsSF, 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 };
|