@fractalpay/fractalpay-next-dev 0.0.151 → 0.0.152
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/PayButtonWithForm-BAEFWFXD.mjs +742 -0
- package/dist/chunk-2LWFCX7M.mjs +516 -0
- package/dist/index.d.mts +17 -31
- package/dist/index.d.ts +17 -31
- package/dist/index.js +1818 -1867
- package/dist/index.mjs +14 -1319
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
interface Props$
|
|
4
|
+
interface Props$6 {
|
|
4
5
|
merchantPublicKey: string;
|
|
5
6
|
customerId?: string;
|
|
6
7
|
orderID?: string;
|
|
@@ -16,9 +17,9 @@ interface Props$7 {
|
|
|
16
17
|
require_3ds?: boolean;
|
|
17
18
|
pass_fee?: boolean;
|
|
18
19
|
}
|
|
19
|
-
declare function RequestPayment(props: Props$
|
|
20
|
+
declare function RequestPayment(props: Props$6): React__default.JSX.Element;
|
|
20
21
|
|
|
21
|
-
interface Props$
|
|
22
|
+
interface Props$5 {
|
|
22
23
|
merchantPublicKey: string;
|
|
23
24
|
customerId?: string;
|
|
24
25
|
orderID?: string;
|
|
@@ -33,9 +34,9 @@ interface Props$6 {
|
|
|
33
34
|
surcharge?: string;
|
|
34
35
|
require_3ds?: boolean;
|
|
35
36
|
}
|
|
36
|
-
declare function RequestPreAuthPayment(props: Props$
|
|
37
|
+
declare function RequestPreAuthPayment(props: Props$5): React__default.JSX.Element;
|
|
37
38
|
|
|
38
|
-
type Props$
|
|
39
|
+
type Props$4 = {
|
|
39
40
|
merchantPublicKey: string;
|
|
40
41
|
customerId?: string;
|
|
41
42
|
orderID?: string;
|
|
@@ -47,9 +48,9 @@ type Props$5 = {
|
|
|
47
48
|
pass_fee?: boolean;
|
|
48
49
|
isReader?: boolean;
|
|
49
50
|
};
|
|
50
|
-
declare function GetPaymentPage(props: Props$
|
|
51
|
+
declare function GetPaymentPage(props: Props$4): React__default.JSX.Element;
|
|
51
52
|
|
|
52
|
-
type Props$
|
|
53
|
+
type Props$3 = {
|
|
53
54
|
merchantPublicKey: string;
|
|
54
55
|
customerId?: string;
|
|
55
56
|
orderID?: string;
|
|
@@ -61,15 +62,15 @@ type Props$4 = {
|
|
|
61
62
|
pass_fee?: boolean;
|
|
62
63
|
isReader?: boolean;
|
|
63
64
|
};
|
|
64
|
-
declare function PreAuthPayment(props: Props$
|
|
65
|
+
declare function PreAuthPayment(props: Props$3): React__default.JSX.Element;
|
|
65
66
|
|
|
66
|
-
type Props$
|
|
67
|
+
type Props$2 = {
|
|
67
68
|
merchantPublicKey: string;
|
|
68
69
|
customerId?: string;
|
|
69
70
|
};
|
|
70
|
-
declare function AddCardEasyPay(props: Props$
|
|
71
|
+
declare function AddCardEasyPay(props: Props$2): React__default.JSX.Element;
|
|
71
72
|
|
|
72
|
-
type Props$
|
|
73
|
+
type Props$1 = {
|
|
73
74
|
session_token: string;
|
|
74
75
|
callback: (resp: any) => void;
|
|
75
76
|
isloading: boolean;
|
|
@@ -84,9 +85,9 @@ type Props$2 = {
|
|
|
84
85
|
inputClass: string;
|
|
85
86
|
isDual?: boolean;
|
|
86
87
|
};
|
|
87
|
-
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$
|
|
88
|
+
declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$1): React__default.JSX.Element;
|
|
88
89
|
|
|
89
|
-
type Props
|
|
90
|
+
type Props = {
|
|
90
91
|
merchantPublicKey: string;
|
|
91
92
|
customerId?: string;
|
|
92
93
|
orderID?: string;
|
|
@@ -101,23 +102,8 @@ type Props$1 = {
|
|
|
101
102
|
allowPartial: boolean;
|
|
102
103
|
cashDiscount?: string;
|
|
103
104
|
};
|
|
104
|
-
declare function PartialPayment(props: Props
|
|
105
|
+
declare function PartialPayment(props: Props): React__default.JSX.Element;
|
|
105
106
|
|
|
106
|
-
|
|
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;
|
|
107
|
+
declare const PaymentWidget: React.ComponentType<any>;
|
|
122
108
|
|
|
123
109
|
export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
|