@fractalpay/fractalpay-next-dev 0.0.258 → 0.0.260
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 +18 -42
- package/dist/index.js +524 -1840
- package/dist/index.js.map +1 -1
- package/global.d.ts +0 -1
- package/package.json +1 -1
- package/types/apple-pay.d.ts +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
interface Props$
|
|
3
|
+
interface Props$7 {
|
|
4
4
|
merchantPublicKey: string;
|
|
5
5
|
customerId?: string;
|
|
6
6
|
orderID?: string;
|
|
@@ -18,9 +18,9 @@ interface Props$8 {
|
|
|
18
18
|
sessionToken?: string;
|
|
19
19
|
showSurcharge?: number;
|
|
20
20
|
}
|
|
21
|
-
declare function RequestPayment(props: Props$
|
|
21
|
+
declare function RequestPayment(props: Props$7): React.JSX.Element;
|
|
22
22
|
|
|
23
|
-
interface Props$
|
|
23
|
+
interface Props$6 {
|
|
24
24
|
merchantPublicKey: string;
|
|
25
25
|
customerId?: string;
|
|
26
26
|
orderID?: string;
|
|
@@ -36,9 +36,9 @@ interface Props$7 {
|
|
|
36
36
|
require_3ds?: boolean;
|
|
37
37
|
sessionToken?: string;
|
|
38
38
|
}
|
|
39
|
-
declare function RequestPreAuthPayment(props: Props$
|
|
39
|
+
declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
|
|
40
40
|
|
|
41
|
-
type Props$
|
|
41
|
+
type Props$5 = {
|
|
42
42
|
merchantPublicKey: string;
|
|
43
43
|
customerId?: string;
|
|
44
44
|
orderID?: string;
|
|
@@ -51,9 +51,9 @@ type Props$6 = {
|
|
|
51
51
|
isReader?: boolean;
|
|
52
52
|
sessionToken?: string;
|
|
53
53
|
};
|
|
54
|
-
declare function GetPaymentPage(props: Props$
|
|
54
|
+
declare function GetPaymentPage(props: Props$5): React.JSX.Element;
|
|
55
55
|
|
|
56
|
-
type Props$
|
|
56
|
+
type Props$4 = {
|
|
57
57
|
merchantPublicKey: string;
|
|
58
58
|
customerId?: string;
|
|
59
59
|
orderID?: string;
|
|
@@ -69,15 +69,15 @@ type Props$5 = {
|
|
|
69
69
|
showButton?: boolean;
|
|
70
70
|
sessionToken?: string;
|
|
71
71
|
};
|
|
72
|
-
declare function PreAuthPayment({ showButton, ...props }: Props$
|
|
72
|
+
declare function PreAuthPayment({ showButton, ...props }: Props$4): React.JSX.Element;
|
|
73
73
|
|
|
74
|
-
type Props$
|
|
74
|
+
type Props$3 = {
|
|
75
75
|
merchantPublicKey: string;
|
|
76
76
|
customerId?: string;
|
|
77
77
|
};
|
|
78
|
-
declare function AddCardEasyPay(props: Props$
|
|
78
|
+
declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
|
|
79
79
|
|
|
80
|
-
type Props$
|
|
80
|
+
type Props$2 = {
|
|
81
81
|
session_token: string;
|
|
82
82
|
callback: (resp: any) => void;
|
|
83
83
|
isloading: boolean;
|
|
@@ -91,10 +91,12 @@ type Props$3 = {
|
|
|
91
91
|
savebtnClass: string;
|
|
92
92
|
inputClass: string;
|
|
93
93
|
isDual?: boolean;
|
|
94
|
+
customCSS?: string;
|
|
95
|
+
height?: string;
|
|
94
96
|
};
|
|
95
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$
|
|
97
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual, customCSS, height }: Props$2): React.JSX.Element;
|
|
96
98
|
|
|
97
|
-
type Props$
|
|
99
|
+
type Props$1 = {
|
|
98
100
|
merchantPublicKey: string;
|
|
99
101
|
customerId?: string;
|
|
100
102
|
orderID?: string;
|
|
@@ -109,30 +111,7 @@ type Props$2 = {
|
|
|
109
111
|
allowPartial: boolean;
|
|
110
112
|
cashDiscount?: string;
|
|
111
113
|
};
|
|
112
|
-
declare function PartialPayment(props: Props$
|
|
113
|
-
|
|
114
|
-
type Props$1 = {
|
|
115
|
-
session_token: string;
|
|
116
|
-
surcharge: string;
|
|
117
|
-
amount: string;
|
|
118
|
-
submitBtnText?: string;
|
|
119
|
-
submitBtnClass?: string;
|
|
120
|
-
customerId?: string;
|
|
121
|
-
callback: (resp: any) => void;
|
|
122
|
-
merchantName: string;
|
|
123
|
-
isPreAuth: boolean;
|
|
124
|
-
submitBtnIcon?: any;
|
|
125
|
-
isRequest?: boolean;
|
|
126
|
-
pass_fee?: boolean;
|
|
127
|
-
pass_fee_amount?: number | string;
|
|
128
|
-
bankAmount: string;
|
|
129
|
-
bankSurcharge?: string;
|
|
130
|
-
require3ds: boolean;
|
|
131
|
-
autoTrigger: boolean;
|
|
132
|
-
isPartial?: boolean;
|
|
133
|
-
partialRef?: string;
|
|
134
|
-
};
|
|
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$1) => React.JSX.Element;
|
|
114
|
+
declare function PartialPayment(props: Props$1): React.JSX.Element;
|
|
136
115
|
|
|
137
116
|
type Props = {
|
|
138
117
|
session_token: string;
|
|
@@ -154,10 +133,7 @@ type Props = {
|
|
|
154
133
|
autoTrigger: boolean;
|
|
155
134
|
isPartial?: boolean;
|
|
156
135
|
partialRef?: string;
|
|
157
|
-
onSubmit?: (submitFn: () => void) => void;
|
|
158
|
-
onLoad: boolean;
|
|
159
|
-
customCSS?: string;
|
|
160
136
|
};
|
|
161
|
-
declare const
|
|
137
|
+
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;
|
|
162
138
|
|
|
163
|
-
export { AddCardEasyPay as AddCard, CardOnFile,
|
|
139
|
+
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|