@fractalpay/fractalpay-next-test 0.0.22 → 0.0.23

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
@@ -15,6 +15,8 @@ interface Props$7 {
15
15
  surcharge?: string;
16
16
  require_3ds?: boolean;
17
17
  pass_fee?: boolean;
18
+ sessionToken?: string;
19
+ showSurcharge?: number;
18
20
  }
19
21
  declare function RequestPayment(props: Props$7): React.JSX.Element;
20
22
 
@@ -32,6 +34,7 @@ interface Props$6 {
32
34
  tax?: string;
33
35
  surcharge?: string;
34
36
  require_3ds?: boolean;
37
+ sessionToken?: string;
35
38
  }
36
39
  declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
37
40
 
@@ -46,6 +49,7 @@ type Props$5 = {
46
49
  surcharge?: string;
47
50
  pass_fee?: boolean;
48
51
  isReader?: boolean;
52
+ sessionToken?: string;
49
53
  };
50
54
  declare function GetPaymentPage(props: Props$5): React.JSX.Element;
51
55
 
@@ -60,8 +64,12 @@ type Props$4 = {
60
64
  surcharge?: string;
61
65
  pass_fee?: boolean;
62
66
  isReader?: boolean;
67
+ onTriggerPay?: (fn: () => void) => void;
68
+ preauthId?: string;
69
+ showButton?: boolean;
70
+ sessionToken?: string;
63
71
  };
64
- declare function PreAuthPayment(props: Props$4): React.JSX.Element;
72
+ declare function PreAuthPayment({ showButton, ...props }: Props$4): React.JSX.Element;
65
73
 
66
74
  type Props$3 = {
67
75
  merchantPublicKey: string;
package/dist/index.d.ts CHANGED
@@ -15,6 +15,8 @@ interface Props$7 {
15
15
  surcharge?: string;
16
16
  require_3ds?: boolean;
17
17
  pass_fee?: boolean;
18
+ sessionToken?: string;
19
+ showSurcharge?: number;
18
20
  }
19
21
  declare function RequestPayment(props: Props$7): React.JSX.Element;
20
22
 
@@ -32,6 +34,7 @@ interface Props$6 {
32
34
  tax?: string;
33
35
  surcharge?: string;
34
36
  require_3ds?: boolean;
37
+ sessionToken?: string;
35
38
  }
36
39
  declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
37
40
 
@@ -46,6 +49,7 @@ type Props$5 = {
46
49
  surcharge?: string;
47
50
  pass_fee?: boolean;
48
51
  isReader?: boolean;
52
+ sessionToken?: string;
49
53
  };
50
54
  declare function GetPaymentPage(props: Props$5): React.JSX.Element;
51
55
 
@@ -60,8 +64,12 @@ type Props$4 = {
60
64
  surcharge?: string;
61
65
  pass_fee?: boolean;
62
66
  isReader?: boolean;
67
+ onTriggerPay?: (fn: () => void) => void;
68
+ preauthId?: string;
69
+ showButton?: boolean;
70
+ sessionToken?: string;
63
71
  };
64
- declare function PreAuthPayment(props: Props$4): React.JSX.Element;
72
+ declare function PreAuthPayment({ showButton, ...props }: Props$4): React.JSX.Element;
65
73
 
66
74
  type Props$3 = {
67
75
  merchantPublicKey: string;