@fractalpay/fractalpay-next-dev 0.0.36 → 0.0.37

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props$7 {
3
+ interface Props$8 {
4
4
  merchantPublicKey: string;
5
5
  customerId?: string;
6
6
  orderID?: string;
@@ -15,9 +15,9 @@ interface Props$7 {
15
15
  surcharge?: string;
16
16
  require_3ds?: boolean;
17
17
  }
18
- declare function RequestPayment(props: Props$7): React.JSX.Element;
18
+ declare function RequestPayment(props: Props$8): React.JSX.Element;
19
19
 
20
- interface Props$6 {
20
+ interface Props$7 {
21
21
  merchantPublicKey: string;
22
22
  customerId?: string;
23
23
  orderID?: string;
@@ -32,9 +32,9 @@ interface Props$6 {
32
32
  surcharge?: string;
33
33
  require_3ds?: boolean;
34
34
  }
35
- declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
35
+ declare function RequestPreAuthPayment(props: Props$7): React.JSX.Element;
36
36
 
37
- type Props$5 = {
37
+ type Props$6 = {
38
38
  merchantPublicKey: string;
39
39
  customerId?: string;
40
40
  orderID?: string;
@@ -44,9 +44,9 @@ type Props$5 = {
44
44
  tax?: string;
45
45
  surcharge?: string;
46
46
  };
47
- declare function GetPaymentPage(props: Props$5): React.JSX.Element;
47
+ declare function GetPaymentPage(props: Props$6): React.JSX.Element;
48
48
 
49
- type Props$4 = {
49
+ type Props$5 = {
50
50
  merchantPublicKey: string;
51
51
  customerId?: string;
52
52
  orderID?: string;
@@ -56,15 +56,15 @@ type Props$4 = {
56
56
  tax?: string;
57
57
  surcharge?: string;
58
58
  };
59
- declare function PreAuthPayment(props: Props$4): React.JSX.Element;
59
+ declare function PreAuthPayment(props: Props$5): React.JSX.Element;
60
60
 
61
- type Props$3 = {
61
+ type Props$4 = {
62
62
  merchantPublicKey: string;
63
63
  customerId?: string;
64
64
  };
65
- declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
65
+ declare function AddCardEasyPay(props: Props$4): React.JSX.Element;
66
66
 
67
- type Props$2 = {
67
+ type Props$3 = {
68
68
  session_token: string;
69
69
  callback: (resp: any) => void;
70
70
  isloading: boolean;
@@ -72,9 +72,9 @@ type Props$2 = {
72
72
  showChecks: boolean;
73
73
  merchantName: string;
74
74
  };
75
- declare function AddCardSky({ session_token, callback, isloading, onCancel, showChecks, merchantName }: Props$2): React.JSX.Element;
75
+ declare function AddCardSky({ session_token, callback, isloading, onCancel, showChecks, merchantName }: Props$3): React.JSX.Element;
76
76
 
77
- type Props$1 = {
77
+ type Props$2 = {
78
78
  session_token: string;
79
79
  surcharge: string;
80
80
  amount: string;
@@ -86,7 +86,19 @@ type Props$1 = {
86
86
  isPreAuth: boolean;
87
87
  submitBtnIcon?: any;
88
88
  };
89
- declare const PayButtonWithForm: ({ amount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon }: Props$1) => React.JSX.Element;
89
+ declare const PayButtonWithForm: ({ amount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon }: Props$2) => React.JSX.Element;
90
+
91
+ type Props$1 = {
92
+ merchantPublicKey: string;
93
+ customerId?: string;
94
+ orderID?: string;
95
+ from?: string;
96
+ amount: string;
97
+ discount?: string;
98
+ tax?: string;
99
+ surcharge?: string;
100
+ };
101
+ declare const GetPaymentPageForm: (props: Props$1) => React.JSX.Element;
90
102
 
91
103
  type Props = {
92
104
  merchantPublicKey: string;
@@ -98,6 +110,6 @@ type Props = {
98
110
  tax?: string;
99
111
  surcharge?: string;
100
112
  };
101
- declare const GetPaymentPageForm: (props: Props) => React.JSX.Element;
113
+ declare function PreAuthPaymentForm(props: Props): React.JSX.Element;
102
114
 
103
- export { AddCardEasyPay as AddCard, AddCardSky, GetPaymentPage, GetPaymentPageForm, PreAuthPayment, RequestPayment, RequestPreAuthPayment, PayButtonWithForm as Skypay };
115
+ export { AddCardEasyPay as AddCard, AddCardSky, GetPaymentPage, GetPaymentPageForm, PreAuthPayment, PreAuthPaymentForm, RequestPayment, RequestPreAuthPayment, PayButtonWithForm as Skypay };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props$7 {
3
+ interface Props$8 {
4
4
  merchantPublicKey: string;
5
5
  customerId?: string;
6
6
  orderID?: string;
@@ -15,9 +15,9 @@ interface Props$7 {
15
15
  surcharge?: string;
16
16
  require_3ds?: boolean;
17
17
  }
18
- declare function RequestPayment(props: Props$7): React.JSX.Element;
18
+ declare function RequestPayment(props: Props$8): React.JSX.Element;
19
19
 
20
- interface Props$6 {
20
+ interface Props$7 {
21
21
  merchantPublicKey: string;
22
22
  customerId?: string;
23
23
  orderID?: string;
@@ -32,9 +32,9 @@ interface Props$6 {
32
32
  surcharge?: string;
33
33
  require_3ds?: boolean;
34
34
  }
35
- declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
35
+ declare function RequestPreAuthPayment(props: Props$7): React.JSX.Element;
36
36
 
37
- type Props$5 = {
37
+ type Props$6 = {
38
38
  merchantPublicKey: string;
39
39
  customerId?: string;
40
40
  orderID?: string;
@@ -44,9 +44,9 @@ type Props$5 = {
44
44
  tax?: string;
45
45
  surcharge?: string;
46
46
  };
47
- declare function GetPaymentPage(props: Props$5): React.JSX.Element;
47
+ declare function GetPaymentPage(props: Props$6): React.JSX.Element;
48
48
 
49
- type Props$4 = {
49
+ type Props$5 = {
50
50
  merchantPublicKey: string;
51
51
  customerId?: string;
52
52
  orderID?: string;
@@ -56,15 +56,15 @@ type Props$4 = {
56
56
  tax?: string;
57
57
  surcharge?: string;
58
58
  };
59
- declare function PreAuthPayment(props: Props$4): React.JSX.Element;
59
+ declare function PreAuthPayment(props: Props$5): React.JSX.Element;
60
60
 
61
- type Props$3 = {
61
+ type Props$4 = {
62
62
  merchantPublicKey: string;
63
63
  customerId?: string;
64
64
  };
65
- declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
65
+ declare function AddCardEasyPay(props: Props$4): React.JSX.Element;
66
66
 
67
- type Props$2 = {
67
+ type Props$3 = {
68
68
  session_token: string;
69
69
  callback: (resp: any) => void;
70
70
  isloading: boolean;
@@ -72,9 +72,9 @@ type Props$2 = {
72
72
  showChecks: boolean;
73
73
  merchantName: string;
74
74
  };
75
- declare function AddCardSky({ session_token, callback, isloading, onCancel, showChecks, merchantName }: Props$2): React.JSX.Element;
75
+ declare function AddCardSky({ session_token, callback, isloading, onCancel, showChecks, merchantName }: Props$3): React.JSX.Element;
76
76
 
77
- type Props$1 = {
77
+ type Props$2 = {
78
78
  session_token: string;
79
79
  surcharge: string;
80
80
  amount: string;
@@ -86,7 +86,19 @@ type Props$1 = {
86
86
  isPreAuth: boolean;
87
87
  submitBtnIcon?: any;
88
88
  };
89
- declare const PayButtonWithForm: ({ amount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon }: Props$1) => React.JSX.Element;
89
+ declare const PayButtonWithForm: ({ amount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon }: Props$2) => React.JSX.Element;
90
+
91
+ type Props$1 = {
92
+ merchantPublicKey: string;
93
+ customerId?: string;
94
+ orderID?: string;
95
+ from?: string;
96
+ amount: string;
97
+ discount?: string;
98
+ tax?: string;
99
+ surcharge?: string;
100
+ };
101
+ declare const GetPaymentPageForm: (props: Props$1) => React.JSX.Element;
90
102
 
91
103
  type Props = {
92
104
  merchantPublicKey: string;
@@ -98,6 +110,6 @@ type Props = {
98
110
  tax?: string;
99
111
  surcharge?: string;
100
112
  };
101
- declare const GetPaymentPageForm: (props: Props) => React.JSX.Element;
113
+ declare function PreAuthPaymentForm(props: Props): React.JSX.Element;
102
114
 
103
- export { AddCardEasyPay as AddCard, AddCardSky, GetPaymentPage, GetPaymentPageForm, PreAuthPayment, RequestPayment, RequestPreAuthPayment, PayButtonWithForm as Skypay };
115
+ export { AddCardEasyPay as AddCard, AddCardSky, GetPaymentPage, GetPaymentPageForm, PreAuthPayment, PreAuthPaymentForm, RequestPayment, RequestPreAuthPayment, PayButtonWithForm as Skypay };