@fractalpay/fractalpay-next-dev 0.0.147 → 0.0.148
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 +31 -17
- package/dist/index.d.ts +31 -17
- package/dist/index.js +1870 -1839
- package/dist/index.mjs +1301 -14
- package/package.json +1 -1
- package/dist/PayButtonWithForm-LUMMU2EW.mjs +0 -742
- package/dist/chunk-6WSCEXEL.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;
|
|
@@ -62,15 +61,15 @@ type Props$3 = {
|
|
|
62
61
|
pass_fee?: boolean;
|
|
63
62
|
isReader?: boolean;
|
|
64
63
|
};
|
|
65
|
-
declare function PreAuthPayment(props: Props$
|
|
64
|
+
declare function PreAuthPayment(props: Props$4): React.JSX.Element;
|
|
66
65
|
|
|
67
|
-
type Props$
|
|
66
|
+
type Props$3 = {
|
|
68
67
|
merchantPublicKey: string;
|
|
69
68
|
customerId?: string;
|
|
70
69
|
};
|
|
71
|
-
declare function AddCardEasyPay(props: Props$
|
|
70
|
+
declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
|
|
72
71
|
|
|
73
|
-
type Props$
|
|
72
|
+
type Props$2 = {
|
|
74
73
|
session_token: string;
|
|
75
74
|
callback: (resp: any) => void;
|
|
76
75
|
isloading: boolean;
|
|
@@ -85,9 +84,9 @@ type Props$1 = {
|
|
|
85
84
|
inputClass: string;
|
|
86
85
|
isDual?: boolean;
|
|
87
86
|
};
|
|
88
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$
|
|
87
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$2): React.JSX.Element;
|
|
89
88
|
|
|
90
|
-
type Props = {
|
|
89
|
+
type Props$1 = {
|
|
91
90
|
merchantPublicKey: string;
|
|
92
91
|
customerId?: string;
|
|
93
92
|
orderID?: string;
|
|
@@ -102,8 +101,23 @@ type Props = {
|
|
|
102
101
|
allowPartial: boolean;
|
|
103
102
|
cashDiscount?: string;
|
|
104
103
|
};
|
|
105
|
-
declare function PartialPayment(props: Props):
|
|
104
|
+
declare function PartialPayment(props: Props$1): React.JSX.Element;
|
|
106
105
|
|
|
107
|
-
|
|
106
|
+
type Props = {
|
|
107
|
+
session_token: string;
|
|
108
|
+
surcharge: string;
|
|
109
|
+
submitBtnText?: string;
|
|
110
|
+
submitBtnClass?: string;
|
|
111
|
+
callback: (resp: any) => void;
|
|
112
|
+
merchantName: string;
|
|
113
|
+
isPreAuth: boolean;
|
|
114
|
+
submitBtnIcon?: any;
|
|
115
|
+
isRequest?: boolean;
|
|
116
|
+
require3ds: boolean;
|
|
117
|
+
autoTrigger: boolean;
|
|
118
|
+
isPartial?: boolean;
|
|
119
|
+
partialRef?: string;
|
|
120
|
+
};
|
|
121
|
+
declare const PaymentWidget: ({ submitBtnText, session_token, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, require3ds, autoTrigger, isPartial, partialRef }: Props) => React.JSX.Element;
|
|
108
122
|
|
|
109
123
|
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;
|
|
@@ -62,15 +61,15 @@ type Props$3 = {
|
|
|
62
61
|
pass_fee?: boolean;
|
|
63
62
|
isReader?: boolean;
|
|
64
63
|
};
|
|
65
|
-
declare function PreAuthPayment(props: Props$
|
|
64
|
+
declare function PreAuthPayment(props: Props$4): React.JSX.Element;
|
|
66
65
|
|
|
67
|
-
type Props$
|
|
66
|
+
type Props$3 = {
|
|
68
67
|
merchantPublicKey: string;
|
|
69
68
|
customerId?: string;
|
|
70
69
|
};
|
|
71
|
-
declare function AddCardEasyPay(props: Props$
|
|
70
|
+
declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
|
|
72
71
|
|
|
73
|
-
type Props$
|
|
72
|
+
type Props$2 = {
|
|
74
73
|
session_token: string;
|
|
75
74
|
callback: (resp: any) => void;
|
|
76
75
|
isloading: boolean;
|
|
@@ -85,9 +84,9 @@ type Props$1 = {
|
|
|
85
84
|
inputClass: string;
|
|
86
85
|
isDual?: boolean;
|
|
87
86
|
};
|
|
88
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$
|
|
87
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$2): React.JSX.Element;
|
|
89
88
|
|
|
90
|
-
type Props = {
|
|
89
|
+
type Props$1 = {
|
|
91
90
|
merchantPublicKey: string;
|
|
92
91
|
customerId?: string;
|
|
93
92
|
orderID?: string;
|
|
@@ -102,8 +101,23 @@ type Props = {
|
|
|
102
101
|
allowPartial: boolean;
|
|
103
102
|
cashDiscount?: string;
|
|
104
103
|
};
|
|
105
|
-
declare function PartialPayment(props: Props):
|
|
104
|
+
declare function PartialPayment(props: Props$1): React.JSX.Element;
|
|
106
105
|
|
|
107
|
-
|
|
106
|
+
type Props = {
|
|
107
|
+
session_token: string;
|
|
108
|
+
surcharge: string;
|
|
109
|
+
submitBtnText?: string;
|
|
110
|
+
submitBtnClass?: string;
|
|
111
|
+
callback: (resp: any) => void;
|
|
112
|
+
merchantName: string;
|
|
113
|
+
isPreAuth: boolean;
|
|
114
|
+
submitBtnIcon?: any;
|
|
115
|
+
isRequest?: boolean;
|
|
116
|
+
require3ds: boolean;
|
|
117
|
+
autoTrigger: boolean;
|
|
118
|
+
isPartial?: boolean;
|
|
119
|
+
partialRef?: string;
|
|
120
|
+
};
|
|
121
|
+
declare const PaymentWidget: ({ submitBtnText, session_token, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, require3ds, autoTrigger, isPartial, partialRef }: Props) => React.JSX.Element;
|
|
108
122
|
|
|
109
123
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|