@pinerohit11/testwidget 0.1.92 → 0.1.94

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$2 {
3
+ interface Props$4 {
4
4
  fractalpayClientKey: string;
5
5
  customerId?: string;
6
6
  orderID?: string;
@@ -14,9 +14,9 @@ interface Props$2 {
14
14
  tax?: string;
15
15
  surcharge?: string;
16
16
  }
17
- declare function RequestPayment(props: Props$2): React.JSX.Element;
17
+ declare function RequestPayment(props: Props$4): React.JSX.Element;
18
18
 
19
- interface Props$1 {
19
+ interface Props$3 {
20
20
  fractalpayClientKey: string;
21
21
  customerId?: string;
22
22
  orderID?: string;
@@ -30,9 +30,9 @@ interface Props$1 {
30
30
  tax?: string;
31
31
  surcharge?: string;
32
32
  }
33
- declare function RequestPreAuthPayment(props: Props$1): React.JSX.Element;
33
+ declare function RequestPreAuthPayment(props: Props$3): React.JSX.Element;
34
34
 
35
- type Props = {
35
+ type Props$2 = {
36
36
  fractalpayClientKey: string;
37
37
  customerId?: string;
38
38
  orderID?: string;
@@ -46,6 +46,31 @@ type Props = {
46
46
  tax?: string;
47
47
  surcharge?: string;
48
48
  };
49
- declare function GetPaymentPage(props: Props): React.JSX.Element;
49
+ declare function GetPaymentPage(props: Props$2): React.JSX.Element;
50
+
51
+ type Props$1 = {
52
+ fractalpayClientKey: string;
53
+ customerId?: string;
54
+ orderID?: string;
55
+ name?: string;
56
+ email?: string;
57
+ phone?: string;
58
+ from?: string;
59
+ amount: string;
60
+ webname?: string;
61
+ discount?: string;
62
+ tax?: string;
63
+ surcharge?: string;
64
+ };
65
+ declare function PreAuthPayment(props: Props$1): React.JSX.Element;
66
+
67
+ type Props = {
68
+ fractalpayClientKey: string;
69
+ customerId?: string;
70
+ name?: string;
71
+ email?: string;
72
+ phone?: string;
73
+ };
74
+ declare function AddCard(props: Props): React.JSX.Element;
50
75
 
51
- export { GetPaymentPage, RequestPayment, RequestPreAuthPayment };
76
+ export { AddCard, GetPaymentPage, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props$2 {
3
+ interface Props$4 {
4
4
  fractalpayClientKey: string;
5
5
  customerId?: string;
6
6
  orderID?: string;
@@ -14,9 +14,9 @@ interface Props$2 {
14
14
  tax?: string;
15
15
  surcharge?: string;
16
16
  }
17
- declare function RequestPayment(props: Props$2): React.JSX.Element;
17
+ declare function RequestPayment(props: Props$4): React.JSX.Element;
18
18
 
19
- interface Props$1 {
19
+ interface Props$3 {
20
20
  fractalpayClientKey: string;
21
21
  customerId?: string;
22
22
  orderID?: string;
@@ -30,9 +30,9 @@ interface Props$1 {
30
30
  tax?: string;
31
31
  surcharge?: string;
32
32
  }
33
- declare function RequestPreAuthPayment(props: Props$1): React.JSX.Element;
33
+ declare function RequestPreAuthPayment(props: Props$3): React.JSX.Element;
34
34
 
35
- type Props = {
35
+ type Props$2 = {
36
36
  fractalpayClientKey: string;
37
37
  customerId?: string;
38
38
  orderID?: string;
@@ -46,6 +46,31 @@ type Props = {
46
46
  tax?: string;
47
47
  surcharge?: string;
48
48
  };
49
- declare function GetPaymentPage(props: Props): React.JSX.Element;
49
+ declare function GetPaymentPage(props: Props$2): React.JSX.Element;
50
+
51
+ type Props$1 = {
52
+ fractalpayClientKey: string;
53
+ customerId?: string;
54
+ orderID?: string;
55
+ name?: string;
56
+ email?: string;
57
+ phone?: string;
58
+ from?: string;
59
+ amount: string;
60
+ webname?: string;
61
+ discount?: string;
62
+ tax?: string;
63
+ surcharge?: string;
64
+ };
65
+ declare function PreAuthPayment(props: Props$1): React.JSX.Element;
66
+
67
+ type Props = {
68
+ fractalpayClientKey: string;
69
+ customerId?: string;
70
+ name?: string;
71
+ email?: string;
72
+ phone?: string;
73
+ };
74
+ declare function AddCard(props: Props): React.JSX.Element;
50
75
 
51
- export { GetPaymentPage, RequestPayment, RequestPreAuthPayment };
76
+ export { AddCard, GetPaymentPage, PreAuthPayment, RequestPayment, RequestPreAuthPayment };