@fractalpay/fractalpay-next-dev 0.0.130 → 0.0.131
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 +37 -17
- package/dist/index.d.ts +37 -17
- package/dist/index.js +1746 -1742
- package/dist/index.mjs +1265 -14
- package/package.json +1 -1
- package/dist/PayButtonWithForm-ARRG465N.mjs +0 -733
- package/dist/chunk-ATUHKAZI.mjs +0 -516
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React__default from 'react';
|
|
1
|
+
import React from 'react';
|
|
3
2
|
|
|
4
|
-
interface Props$
|
|
3
|
+
interface Props$7 {
|
|
5
4
|
merchantPublicKey: string;
|
|
6
5
|
customerId?: string;
|
|
7
6
|
orderID?: string;
|
|
@@ -17,9 +16,9 @@ interface Props$6 {
|
|
|
17
16
|
require_3ds?: boolean;
|
|
18
17
|
pass_fee?: boolean;
|
|
19
18
|
}
|
|
20
|
-
declare function RequestPayment(props: Props$
|
|
19
|
+
declare function RequestPayment(props: Props$7): React.JSX.Element;
|
|
21
20
|
|
|
22
|
-
interface Props$
|
|
21
|
+
interface Props$6 {
|
|
23
22
|
merchantPublicKey: string;
|
|
24
23
|
customerId?: string;
|
|
25
24
|
orderID?: string;
|
|
@@ -34,9 +33,9 @@ interface Props$5 {
|
|
|
34
33
|
surcharge?: string;
|
|
35
34
|
require_3ds?: boolean;
|
|
36
35
|
}
|
|
37
|
-
declare function RequestPreAuthPayment(props: Props$
|
|
36
|
+
declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
|
|
38
37
|
|
|
39
|
-
type Props$
|
|
38
|
+
type Props$5 = {
|
|
40
39
|
merchantPublicKey: string;
|
|
41
40
|
customerId?: string;
|
|
42
41
|
orderID?: string;
|
|
@@ -48,9 +47,9 @@ type Props$4 = {
|
|
|
48
47
|
pass_fee?: boolean;
|
|
49
48
|
isReader?: boolean;
|
|
50
49
|
};
|
|
51
|
-
declare function GetPaymentPage(props: Props$
|
|
50
|
+
declare function GetPaymentPage(props: Props$5): React.JSX.Element;
|
|
52
51
|
|
|
53
|
-
type Props$
|
|
52
|
+
type Props$4 = {
|
|
54
53
|
merchantPublicKey: string;
|
|
55
54
|
customerId?: string;
|
|
56
55
|
orderID?: string;
|
|
@@ -61,15 +60,15 @@ type Props$3 = {
|
|
|
61
60
|
surcharge?: string;
|
|
62
61
|
pass_fee?: boolean;
|
|
63
62
|
};
|
|
64
|
-
declare function PreAuthPayment(props: Props$
|
|
63
|
+
declare function PreAuthPayment(props: Props$4): React.JSX.Element;
|
|
65
64
|
|
|
66
|
-
type Props$
|
|
65
|
+
type Props$3 = {
|
|
67
66
|
merchantPublicKey: string;
|
|
68
67
|
customerId?: string;
|
|
69
68
|
};
|
|
70
|
-
declare function AddCardEasyPay(props: Props$
|
|
69
|
+
declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
|
|
71
70
|
|
|
72
|
-
type Props$
|
|
71
|
+
type Props$2 = {
|
|
73
72
|
session_token: string;
|
|
74
73
|
callback: (resp: any) => void;
|
|
75
74
|
isloading: boolean;
|
|
@@ -83,9 +82,9 @@ type Props$1 = {
|
|
|
83
82
|
savebtnClass: string;
|
|
84
83
|
inputClass: string;
|
|
85
84
|
};
|
|
86
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass }: Props$
|
|
85
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass }: Props$2): React.JSX.Element;
|
|
87
86
|
|
|
88
|
-
type Props = {
|
|
87
|
+
type Props$1 = {
|
|
89
88
|
merchantPublicKey: string;
|
|
90
89
|
customerId?: string;
|
|
91
90
|
orderID?: string;
|
|
@@ -100,8 +99,29 @@ type Props = {
|
|
|
100
99
|
allowPartial: boolean;
|
|
101
100
|
cashDiscount?: string;
|
|
102
101
|
};
|
|
103
|
-
declare function PartialPayment(props: Props):
|
|
102
|
+
declare function PartialPayment(props: Props$1): React.JSX.Element;
|
|
104
103
|
|
|
105
|
-
|
|
104
|
+
type Props = {
|
|
105
|
+
session_token: string;
|
|
106
|
+
surcharge: string;
|
|
107
|
+
amount: string;
|
|
108
|
+
submitBtnText?: string;
|
|
109
|
+
submitBtnClass?: string;
|
|
110
|
+
customerId?: string;
|
|
111
|
+
callback: (resp: any) => void;
|
|
112
|
+
merchantName: string;
|
|
113
|
+
isPreAuth: boolean;
|
|
114
|
+
submitBtnIcon?: any;
|
|
115
|
+
isRequest?: boolean;
|
|
116
|
+
pass_fee?: boolean;
|
|
117
|
+
pass_fee_amount?: number | string;
|
|
118
|
+
bankAmount: string;
|
|
119
|
+
bankSurcharge?: string;
|
|
120
|
+
require3ds: boolean;
|
|
121
|
+
autoTrigger: boolean;
|
|
122
|
+
isPartial?: boolean;
|
|
123
|
+
partialRef?: string;
|
|
124
|
+
};
|
|
125
|
+
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;
|
|
106
126
|
|
|
107
127
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React__default from 'react';
|
|
1
|
+
import React from 'react';
|
|
3
2
|
|
|
4
|
-
interface Props$
|
|
3
|
+
interface Props$7 {
|
|
5
4
|
merchantPublicKey: string;
|
|
6
5
|
customerId?: string;
|
|
7
6
|
orderID?: string;
|
|
@@ -17,9 +16,9 @@ interface Props$6 {
|
|
|
17
16
|
require_3ds?: boolean;
|
|
18
17
|
pass_fee?: boolean;
|
|
19
18
|
}
|
|
20
|
-
declare function RequestPayment(props: Props$
|
|
19
|
+
declare function RequestPayment(props: Props$7): React.JSX.Element;
|
|
21
20
|
|
|
22
|
-
interface Props$
|
|
21
|
+
interface Props$6 {
|
|
23
22
|
merchantPublicKey: string;
|
|
24
23
|
customerId?: string;
|
|
25
24
|
orderID?: string;
|
|
@@ -34,9 +33,9 @@ interface Props$5 {
|
|
|
34
33
|
surcharge?: string;
|
|
35
34
|
require_3ds?: boolean;
|
|
36
35
|
}
|
|
37
|
-
declare function RequestPreAuthPayment(props: Props$
|
|
36
|
+
declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
|
|
38
37
|
|
|
39
|
-
type Props$
|
|
38
|
+
type Props$5 = {
|
|
40
39
|
merchantPublicKey: string;
|
|
41
40
|
customerId?: string;
|
|
42
41
|
orderID?: string;
|
|
@@ -48,9 +47,9 @@ type Props$4 = {
|
|
|
48
47
|
pass_fee?: boolean;
|
|
49
48
|
isReader?: boolean;
|
|
50
49
|
};
|
|
51
|
-
declare function GetPaymentPage(props: Props$
|
|
50
|
+
declare function GetPaymentPage(props: Props$5): React.JSX.Element;
|
|
52
51
|
|
|
53
|
-
type Props$
|
|
52
|
+
type Props$4 = {
|
|
54
53
|
merchantPublicKey: string;
|
|
55
54
|
customerId?: string;
|
|
56
55
|
orderID?: string;
|
|
@@ -61,15 +60,15 @@ type Props$3 = {
|
|
|
61
60
|
surcharge?: string;
|
|
62
61
|
pass_fee?: boolean;
|
|
63
62
|
};
|
|
64
|
-
declare function PreAuthPayment(props: Props$
|
|
63
|
+
declare function PreAuthPayment(props: Props$4): React.JSX.Element;
|
|
65
64
|
|
|
66
|
-
type Props$
|
|
65
|
+
type Props$3 = {
|
|
67
66
|
merchantPublicKey: string;
|
|
68
67
|
customerId?: string;
|
|
69
68
|
};
|
|
70
|
-
declare function AddCardEasyPay(props: Props$
|
|
69
|
+
declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
|
|
71
70
|
|
|
72
|
-
type Props$
|
|
71
|
+
type Props$2 = {
|
|
73
72
|
session_token: string;
|
|
74
73
|
callback: (resp: any) => void;
|
|
75
74
|
isloading: boolean;
|
|
@@ -83,9 +82,9 @@ type Props$1 = {
|
|
|
83
82
|
savebtnClass: string;
|
|
84
83
|
inputClass: string;
|
|
85
84
|
};
|
|
86
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass }: Props$
|
|
85
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass }: Props$2): React.JSX.Element;
|
|
87
86
|
|
|
88
|
-
type Props = {
|
|
87
|
+
type Props$1 = {
|
|
89
88
|
merchantPublicKey: string;
|
|
90
89
|
customerId?: string;
|
|
91
90
|
orderID?: string;
|
|
@@ -100,8 +99,29 @@ type Props = {
|
|
|
100
99
|
allowPartial: boolean;
|
|
101
100
|
cashDiscount?: string;
|
|
102
101
|
};
|
|
103
|
-
declare function PartialPayment(props: Props):
|
|
102
|
+
declare function PartialPayment(props: Props$1): React.JSX.Element;
|
|
104
103
|
|
|
105
|
-
|
|
104
|
+
type Props = {
|
|
105
|
+
session_token: string;
|
|
106
|
+
surcharge: string;
|
|
107
|
+
amount: string;
|
|
108
|
+
submitBtnText?: string;
|
|
109
|
+
submitBtnClass?: string;
|
|
110
|
+
customerId?: string;
|
|
111
|
+
callback: (resp: any) => void;
|
|
112
|
+
merchantName: string;
|
|
113
|
+
isPreAuth: boolean;
|
|
114
|
+
submitBtnIcon?: any;
|
|
115
|
+
isRequest?: boolean;
|
|
116
|
+
pass_fee?: boolean;
|
|
117
|
+
pass_fee_amount?: number | string;
|
|
118
|
+
bankAmount: string;
|
|
119
|
+
bankSurcharge?: string;
|
|
120
|
+
require3ds: boolean;
|
|
121
|
+
autoTrigger: boolean;
|
|
122
|
+
isPartial?: boolean;
|
|
123
|
+
partialRef?: string;
|
|
124
|
+
};
|
|
125
|
+
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;
|
|
106
126
|
|
|
107
127
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|