@paynext/sdk 0.0.94 → 0.0.95

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
@@ -310,6 +310,10 @@ declare interface IPayPalButtonStyles {
310
310
  styles?: PayPalButtonStyle;
311
311
  }
312
312
 
313
+ declare interface ISubmitButtonStyles extends HTMLStyles {
314
+ iconSvg?: string;
315
+ }
316
+
313
317
  declare type Listener<TData> = (data: TData) => void;
314
318
 
315
319
  declare interface LoadedResult {
@@ -508,6 +512,7 @@ export declare interface PayNextConfig {
508
512
  styles?: StylesConfig;
509
513
  translate?: CheckoutTranslateOverrides;
510
514
  locale?: Locale;
515
+ errorMessageText?: string;
511
516
  onCheckoutLoaded?: (result: LoadedResult) => void;
512
517
  onCheckoutAttempt?: (result: AttemptResult) => void;
513
518
  onCheckoutComplete?: (result: PaymentResult) => void;
@@ -534,7 +539,7 @@ declare abstract class State<TState> {
534
539
 
535
540
  export declare interface StylesConfig {
536
541
  Input?: InputStyles;
537
- SubmitButton?: HTMLStyles;
542
+ SubmitButton?: ISubmitButtonStyles;
538
543
  ApplePayButton?: IApplePayButtonStyles;
539
544
  PayPalButton?: IPayPalButtonStyles;
540
545
  GooglePayButton?: IGooglePayButtonStyles;