@fractalpay/fractalpay-next-dev 0.0.209 → 0.0.210
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +22 -22
- package/dist/index.mjs +20 -20
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -131,7 +131,8 @@ type Props = {
|
|
|
131
131
|
autoTrigger: boolean;
|
|
132
132
|
isPartial?: boolean;
|
|
133
133
|
partialRef?: string;
|
|
134
|
+
onTriggerPay?: (fn: (sessionToken: string) => void) => void;
|
|
134
135
|
};
|
|
135
|
-
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;
|
|
136
|
+
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, onTriggerPay }: Props) => React.JSX.Element;
|
|
136
137
|
|
|
137
138
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|
package/dist/index.d.ts
CHANGED
|
@@ -131,7 +131,8 @@ type Props = {
|
|
|
131
131
|
autoTrigger: boolean;
|
|
132
132
|
isPartial?: boolean;
|
|
133
133
|
partialRef?: string;
|
|
134
|
+
onTriggerPay?: (fn: (sessionToken: string) => void) => void;
|
|
134
135
|
};
|
|
135
|
-
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;
|
|
136
|
+
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, onTriggerPay }: Props) => React.JSX.Element;
|
|
136
137
|
|
|
137
138
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|