@fractalpay/fractalpay-next-dev 0.0.151 → 0.0.153

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.mts CHANGED
@@ -106,18 +106,24 @@ declare function PartialPayment(props: Props$1): React.JSX.Element;
106
106
  type Props = {
107
107
  session_token: string;
108
108
  surcharge: string;
109
+ amount: string;
109
110
  submitBtnText?: string;
110
111
  submitBtnClass?: string;
112
+ customerId?: string;
111
113
  callback: (resp: any) => void;
112
114
  merchantName: string;
113
115
  isPreAuth: boolean;
114
116
  submitBtnIcon?: any;
115
117
  isRequest?: boolean;
118
+ pass_fee?: boolean;
119
+ pass_fee_amount?: number | string;
120
+ bankAmount: string;
121
+ bankSurcharge?: string;
116
122
  require3ds: boolean;
117
123
  autoTrigger: boolean;
118
124
  isPartial?: boolean;
119
125
  partialRef?: string;
120
126
  };
121
- declare const PaymentWidget: ({ submitBtnText, session_token, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, require3ds, autoTrigger, isPartial, partialRef }: Props) => React.JSX.Element;
127
+ declare const PaymentWidget: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount, require3ds, autoTrigger, isPartial, bankSurcharge, partialRef }: Props) => React.JSX.Element;
122
128
 
123
129
  export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
package/dist/index.d.ts CHANGED
@@ -106,18 +106,24 @@ declare function PartialPayment(props: Props$1): React.JSX.Element;
106
106
  type Props = {
107
107
  session_token: string;
108
108
  surcharge: string;
109
+ amount: string;
109
110
  submitBtnText?: string;
110
111
  submitBtnClass?: string;
112
+ customerId?: string;
111
113
  callback: (resp: any) => void;
112
114
  merchantName: string;
113
115
  isPreAuth: boolean;
114
116
  submitBtnIcon?: any;
115
117
  isRequest?: boolean;
118
+ pass_fee?: boolean;
119
+ pass_fee_amount?: number | string;
120
+ bankAmount: string;
121
+ bankSurcharge?: string;
116
122
  require3ds: boolean;
117
123
  autoTrigger: boolean;
118
124
  isPartial?: boolean;
119
125
  partialRef?: string;
120
126
  };
121
- declare const PaymentWidget: ({ submitBtnText, session_token, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, require3ds, autoTrigger, isPartial, partialRef }: Props) => React.JSX.Element;
127
+ declare const PaymentWidget: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount, require3ds, autoTrigger, isPartial, bankSurcharge, partialRef }: Props) => React.JSX.Element;
122
128
 
123
129
  export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };