@yuno-payments/sdk-web-types 3.5.1 → 4.0.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/global.d.ts +2 -8
- package/dist/index.d.ts +3 -9
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -544,11 +544,6 @@ interface YunoConfig {
|
|
|
544
544
|
type StartCheckoutArgs = Omit<YunoConfig, 'yunoEnrollmentStatus' | 'customerSession' | 'publicApiKey'>;
|
|
545
545
|
type MountEnrollmentLiteArgs = Pick<YunoConfig, 'language' | 'countryCode' | 'renderMode' | 'yunoEnrollmentStatus' | 'yunoError' | 'showLoading' | 'onRendered' | 'onOneTimeTokenCreationStart' | 'onLoading'>;
|
|
546
546
|
type mountFraudArgs = Pick<YunoConfig, 'yunoCreatePayment' | 'yunoError' | 'language' | 'checkoutSession'>;
|
|
547
|
-
interface MountCheckoutArgs {
|
|
548
|
-
paymentMethodType?: string;
|
|
549
|
-
vaultedToken?: string;
|
|
550
|
-
category?: string;
|
|
551
|
-
}
|
|
552
547
|
interface MountCheckoutLiteArgs {
|
|
553
548
|
paymentMethodType?: string;
|
|
554
549
|
vaultedToken?: string;
|
|
@@ -590,12 +585,11 @@ type ContinuePaymentArgs = {
|
|
|
590
585
|
showPaymentStatus?: boolean;
|
|
591
586
|
};
|
|
592
587
|
type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
|
|
593
|
-
type MountSeamlessCheckoutArgs = MountCheckoutArgs;
|
|
594
588
|
interface YunoInstance {
|
|
595
589
|
startCheckout(args: StartCheckoutArgs): Promise<void>;
|
|
596
590
|
startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
|
|
597
|
-
mountCheckout(
|
|
598
|
-
mountSeamlessCheckout(
|
|
591
|
+
mountCheckout(): Promise<void>;
|
|
592
|
+
mountSeamlessCheckout(): Promise<void>;
|
|
599
593
|
mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
|
|
600
594
|
mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
|
|
601
595
|
updateCheckoutSession(checkout: string): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -544,11 +544,6 @@ interface YunoConfig {
|
|
|
544
544
|
type StartCheckoutArgs = Omit<YunoConfig, 'yunoEnrollmentStatus' | 'customerSession' | 'publicApiKey'>;
|
|
545
545
|
type MountEnrollmentLiteArgs = Pick<YunoConfig, 'language' | 'countryCode' | 'renderMode' | 'yunoEnrollmentStatus' | 'yunoError' | 'showLoading' | 'onRendered' | 'onOneTimeTokenCreationStart' | 'onLoading'>;
|
|
546
546
|
type mountFraudArgs = Pick<YunoConfig, 'yunoCreatePayment' | 'yunoError' | 'language' | 'checkoutSession'>;
|
|
547
|
-
interface MountCheckoutArgs {
|
|
548
|
-
paymentMethodType?: string;
|
|
549
|
-
vaultedToken?: string;
|
|
550
|
-
category?: string;
|
|
551
|
-
}
|
|
552
547
|
interface MountCheckoutLiteArgs {
|
|
553
548
|
paymentMethodType?: string;
|
|
554
549
|
vaultedToken?: string;
|
|
@@ -590,12 +585,11 @@ type ContinuePaymentArgs = {
|
|
|
590
585
|
showPaymentStatus?: boolean;
|
|
591
586
|
};
|
|
592
587
|
type StartSeamlessCheckoutArgs = Omit<StartCheckoutArgs, 'yunoCreatePayment'>;
|
|
593
|
-
type MountSeamlessCheckoutArgs = MountCheckoutArgs;
|
|
594
588
|
interface YunoInstance {
|
|
595
589
|
startCheckout(args: StartCheckoutArgs): Promise<void>;
|
|
596
590
|
startSeamlessCheckout(args: StartSeamlessCheckoutArgs): Promise<void>;
|
|
597
|
-
mountCheckout(
|
|
598
|
-
mountSeamlessCheckout(
|
|
591
|
+
mountCheckout(): Promise<void>;
|
|
592
|
+
mountSeamlessCheckout(): Promise<void>;
|
|
599
593
|
mountCheckoutLite(args: MountCheckoutLiteArgs): Promise<void>;
|
|
600
594
|
mountSeamlessCheckoutLite(args: MountSeamlessCheckoutLiteArgs): Promise<void>;
|
|
601
595
|
updateCheckoutSession(checkout: string): Promise<void>;
|
|
@@ -618,4 +612,4 @@ interface Yuno {
|
|
|
618
612
|
initialize(publicApiKey: string, applicationSession?: string, options?: InitializeOptions): Promise<YunoInstance>;
|
|
619
613
|
}
|
|
620
614
|
|
|
621
|
-
export { type ButtonTextCard, type CardConfig, type ContinuePaymentArgs, type ContinuePaymentResponse, type CreateArgsSF, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Font, type FormElementSelector, type Language, type LoadingType, type
|
|
615
|
+
export { type ButtonTextCard, type CardConfig, type ContinuePaymentArgs, type ContinuePaymentResponse, type CreateArgsSF, type ExternalPaymentButtons, ExternalPaymentButtonsTypes, type Font, type FormElementSelector, type Language, type LoadingType, type MountCheckoutLiteArgs, type MountEnrollmentLiteArgs, 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 };
|