@rebilly/framepay-react 3.8.0 → 4.0.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## [4.0.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v3.9.0...framepay-react-v4.0.0) (2023-10-09)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * **framepay-react:** Props types (#1694)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **framepay-react:** Props types ([#1694](https://github.com/Rebilly/rebilly/issues/1694)) ([c96787e](https://github.com/Rebilly/rebilly/commit/c96787e586d27990c78ef48d553b1df428d769fa))
11
+
12
+ ## [3.9.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v3.8.0...framepay-react-v3.9.0) (2023-10-06)
13
+
14
+
15
+ ### Features
16
+
17
+ * **recomm:** Add start stop review to aml check details ([#1567](https://github.com/Rebilly/rebilly/issues/1567)) ([7f36939](https://github.com/Rebilly/rebilly/commit/7f36939bffd9ce76868640aee6f2bac5216ba499))
18
+
1
19
  ## [3.8.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v3.7.2...framepay-react-v3.8.0) (2023-10-04)
2
20
 
3
21
 
@@ -1,351 +1,351 @@
1
1
  import * as React from 'react';
2
2
  import { FramePayApplePayProps, FramePayBankProps, FramePayCardProps, FramePayComponentProps, FramePayGooglePayProps, FramePayIBANProps, FramePayPaypalProps } from '../../../types/injector';
3
3
  export declare function withFramePay<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayComponentProps>): {
4
- new (props: (OriginalProps & FramePayComponentProps) | Readonly<OriginalProps & FramePayComponentProps>): {
4
+ new (props: OriginalProps | Readonly<OriginalProps>): {
5
5
  render(): JSX.Element;
6
6
  context: unknown;
7
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayComponentProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
7
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
8
8
  forceUpdate(callback?: (() => void) | undefined): void;
9
- readonly props: Readonly<OriginalProps & FramePayComponentProps>;
9
+ readonly props: Readonly<OriginalProps>;
10
10
  state: Readonly<{}>;
11
11
  refs: {
12
12
  [key: string]: React.ReactInstance;
13
13
  };
14
14
  componentDidMount?(): void;
15
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
15
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
16
16
  componentWillUnmount?(): void;
17
17
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
18
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayComponentProps>, prevState: Readonly<{}>): any;
19
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayComponentProps>, prevState: Readonly<{}>, snapshot?: any): void;
18
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
19
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
20
20
  componentWillMount?(): void;
21
21
  UNSAFE_componentWillMount?(): void;
22
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextContext: any): void;
23
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextContext: any): void;
24
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
25
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
22
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
23
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
24
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
25
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
26
26
  };
27
- new (props: OriginalProps & FramePayComponentProps, context: any): {
27
+ new (props: OriginalProps, context: any): {
28
28
  render(): JSX.Element;
29
29
  context: unknown;
30
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayComponentProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
30
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
31
31
  forceUpdate(callback?: (() => void) | undefined): void;
32
- readonly props: Readonly<OriginalProps & FramePayComponentProps>;
32
+ readonly props: Readonly<OriginalProps>;
33
33
  state: Readonly<{}>;
34
34
  refs: {
35
35
  [key: string]: React.ReactInstance;
36
36
  };
37
37
  componentDidMount?(): void;
38
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
38
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
39
39
  componentWillUnmount?(): void;
40
40
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
41
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayComponentProps>, prevState: Readonly<{}>): any;
42
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayComponentProps>, prevState: Readonly<{}>, snapshot?: any): void;
41
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
42
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
43
43
  componentWillMount?(): void;
44
44
  UNSAFE_componentWillMount?(): void;
45
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextContext: any): void;
46
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextContext: any): void;
47
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
48
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayComponentProps>, nextState: Readonly<{}>, nextContext: any): void;
45
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
46
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
47
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
48
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
49
49
  };
50
50
  readonly displayName: string;
51
51
  contextType?: React.Context<any> | undefined;
52
52
  };
53
53
  export declare function withFramePayCardComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayCardProps>): {
54
- new (props: (OriginalProps & FramePayCardProps) | Readonly<OriginalProps & FramePayCardProps>): {
54
+ new (props: OriginalProps | Readonly<OriginalProps>): {
55
55
  render(): JSX.Element;
56
56
  context: unknown;
57
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayCardProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
57
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
58
  forceUpdate(callback?: (() => void) | undefined): void;
59
- readonly props: Readonly<OriginalProps & FramePayCardProps>;
59
+ readonly props: Readonly<OriginalProps>;
60
60
  state: Readonly<{}>;
61
61
  refs: {
62
62
  [key: string]: React.ReactInstance;
63
63
  };
64
64
  componentDidMount?(): void;
65
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): boolean;
65
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
66
66
  componentWillUnmount?(): void;
67
67
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
68
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayCardProps>, prevState: Readonly<{}>): any;
69
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayCardProps>, prevState: Readonly<{}>, snapshot?: any): void;
68
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
69
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
70
70
  componentWillMount?(): void;
71
71
  UNSAFE_componentWillMount?(): void;
72
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextContext: any): void;
73
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextContext: any): void;
74
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): void;
75
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): void;
72
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
73
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
74
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
75
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
76
76
  };
77
- new (props: OriginalProps & FramePayCardProps, context: any): {
77
+ new (props: OriginalProps, context: any): {
78
78
  render(): JSX.Element;
79
79
  context: unknown;
80
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayCardProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
80
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
81
81
  forceUpdate(callback?: (() => void) | undefined): void;
82
- readonly props: Readonly<OriginalProps & FramePayCardProps>;
82
+ readonly props: Readonly<OriginalProps>;
83
83
  state: Readonly<{}>;
84
84
  refs: {
85
85
  [key: string]: React.ReactInstance;
86
86
  };
87
87
  componentDidMount?(): void;
88
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): boolean;
88
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
89
89
  componentWillUnmount?(): void;
90
90
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
91
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayCardProps>, prevState: Readonly<{}>): any;
92
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayCardProps>, prevState: Readonly<{}>, snapshot?: any): void;
91
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
92
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
93
93
  componentWillMount?(): void;
94
94
  UNSAFE_componentWillMount?(): void;
95
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextContext: any): void;
96
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextContext: any): void;
97
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): void;
98
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayCardProps>, nextState: Readonly<{}>, nextContext: any): void;
95
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
96
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
97
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
98
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
99
99
  };
100
100
  readonly displayName: string;
101
101
  contextType?: React.Context<any> | undefined;
102
102
  };
103
103
  export declare function withFramePayBankComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayBankProps>): {
104
- new (props: (OriginalProps & FramePayBankProps) | Readonly<OriginalProps & FramePayBankProps>): {
104
+ new (props: OriginalProps | Readonly<OriginalProps>): {
105
105
  render(): JSX.Element;
106
106
  context: unknown;
107
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayBankProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
107
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
108
108
  forceUpdate(callback?: (() => void) | undefined): void;
109
- readonly props: Readonly<OriginalProps & FramePayBankProps>;
109
+ readonly props: Readonly<OriginalProps>;
110
110
  state: Readonly<{}>;
111
111
  refs: {
112
112
  [key: string]: React.ReactInstance;
113
113
  };
114
114
  componentDidMount?(): void;
115
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): boolean;
115
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
116
116
  componentWillUnmount?(): void;
117
117
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
118
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayBankProps>, prevState: Readonly<{}>): any;
119
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayBankProps>, prevState: Readonly<{}>, snapshot?: any): void;
118
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
119
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
120
120
  componentWillMount?(): void;
121
121
  UNSAFE_componentWillMount?(): void;
122
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextContext: any): void;
123
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextContext: any): void;
124
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): void;
125
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): void;
122
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
123
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
124
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
125
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
126
126
  };
127
- new (props: OriginalProps & FramePayBankProps, context: any): {
127
+ new (props: OriginalProps, context: any): {
128
128
  render(): JSX.Element;
129
129
  context: unknown;
130
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayBankProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
130
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
131
131
  forceUpdate(callback?: (() => void) | undefined): void;
132
- readonly props: Readonly<OriginalProps & FramePayBankProps>;
132
+ readonly props: Readonly<OriginalProps>;
133
133
  state: Readonly<{}>;
134
134
  refs: {
135
135
  [key: string]: React.ReactInstance;
136
136
  };
137
137
  componentDidMount?(): void;
138
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): boolean;
138
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
139
139
  componentWillUnmount?(): void;
140
140
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
141
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayBankProps>, prevState: Readonly<{}>): any;
142
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayBankProps>, prevState: Readonly<{}>, snapshot?: any): void;
141
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
142
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
143
143
  componentWillMount?(): void;
144
144
  UNSAFE_componentWillMount?(): void;
145
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextContext: any): void;
146
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextContext: any): void;
147
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): void;
148
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayBankProps>, nextState: Readonly<{}>, nextContext: any): void;
145
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
146
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
147
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
148
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
149
149
  };
150
150
  readonly displayName: string;
151
151
  contextType?: React.Context<any> | undefined;
152
152
  };
153
153
  export declare function withFramePayIBANComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayIBANProps>): {
154
- new (props: (OriginalProps & FramePayIBANProps) | Readonly<OriginalProps & FramePayIBANProps>): {
154
+ new (props: OriginalProps | Readonly<OriginalProps>): {
155
155
  render(): JSX.Element;
156
156
  context: unknown;
157
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayIBANProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
157
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
158
158
  forceUpdate(callback?: (() => void) | undefined): void;
159
- readonly props: Readonly<OriginalProps & FramePayIBANProps>;
159
+ readonly props: Readonly<OriginalProps>;
160
160
  state: Readonly<{}>;
161
161
  refs: {
162
162
  [key: string]: React.ReactInstance;
163
163
  };
164
164
  componentDidMount?(): void;
165
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): boolean;
165
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
166
166
  componentWillUnmount?(): void;
167
167
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
168
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayIBANProps>, prevState: Readonly<{}>): any;
169
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayIBANProps>, prevState: Readonly<{}>, snapshot?: any): void;
168
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
169
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
170
170
  componentWillMount?(): void;
171
171
  UNSAFE_componentWillMount?(): void;
172
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextContext: any): void;
173
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextContext: any): void;
174
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): void;
175
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): void;
172
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
173
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
174
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
175
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
176
176
  };
177
- new (props: OriginalProps & FramePayIBANProps, context: any): {
177
+ new (props: OriginalProps, context: any): {
178
178
  render(): JSX.Element;
179
179
  context: unknown;
180
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayIBANProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
180
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
181
181
  forceUpdate(callback?: (() => void) | undefined): void;
182
- readonly props: Readonly<OriginalProps & FramePayIBANProps>;
182
+ readonly props: Readonly<OriginalProps>;
183
183
  state: Readonly<{}>;
184
184
  refs: {
185
185
  [key: string]: React.ReactInstance;
186
186
  };
187
187
  componentDidMount?(): void;
188
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): boolean;
188
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
189
189
  componentWillUnmount?(): void;
190
190
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
191
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayIBANProps>, prevState: Readonly<{}>): any;
192
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayIBANProps>, prevState: Readonly<{}>, snapshot?: any): void;
191
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
192
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
193
193
  componentWillMount?(): void;
194
194
  UNSAFE_componentWillMount?(): void;
195
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextContext: any): void;
196
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextContext: any): void;
197
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): void;
198
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayIBANProps>, nextState: Readonly<{}>, nextContext: any): void;
195
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
196
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
197
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
198
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
199
199
  };
200
200
  readonly displayName: string;
201
201
  contextType?: React.Context<any> | undefined;
202
202
  };
203
203
  export declare function withFramePayApplePayComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayApplePayProps>): {
204
- new (props: (OriginalProps & FramePayApplePayProps) | Readonly<OriginalProps & FramePayApplePayProps>): {
204
+ new (props: OriginalProps | Readonly<OriginalProps>): {
205
205
  render(): JSX.Element;
206
206
  context: unknown;
207
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayApplePayProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
207
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
208
208
  forceUpdate(callback?: (() => void) | undefined): void;
209
- readonly props: Readonly<OriginalProps & FramePayApplePayProps>;
209
+ readonly props: Readonly<OriginalProps>;
210
210
  state: Readonly<{}>;
211
211
  refs: {
212
212
  [key: string]: React.ReactInstance;
213
213
  };
214
214
  componentDidMount?(): void;
215
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): boolean;
215
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
216
216
  componentWillUnmount?(): void;
217
217
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
218
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayApplePayProps>, prevState: Readonly<{}>): any;
219
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayApplePayProps>, prevState: Readonly<{}>, snapshot?: any): void;
218
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
219
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
220
220
  componentWillMount?(): void;
221
221
  UNSAFE_componentWillMount?(): void;
222
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextContext: any): void;
223
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextContext: any): void;
224
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): void;
225
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): void;
222
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
223
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
224
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
225
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
226
226
  };
227
- new (props: OriginalProps & FramePayApplePayProps, context: any): {
227
+ new (props: OriginalProps, context: any): {
228
228
  render(): JSX.Element;
229
229
  context: unknown;
230
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayApplePayProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
230
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
231
231
  forceUpdate(callback?: (() => void) | undefined): void;
232
- readonly props: Readonly<OriginalProps & FramePayApplePayProps>;
232
+ readonly props: Readonly<OriginalProps>;
233
233
  state: Readonly<{}>;
234
234
  refs: {
235
235
  [key: string]: React.ReactInstance;
236
236
  };
237
237
  componentDidMount?(): void;
238
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): boolean;
238
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
239
239
  componentWillUnmount?(): void;
240
240
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
241
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayApplePayProps>, prevState: Readonly<{}>): any;
242
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayApplePayProps>, prevState: Readonly<{}>, snapshot?: any): void;
241
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
242
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
243
243
  componentWillMount?(): void;
244
244
  UNSAFE_componentWillMount?(): void;
245
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextContext: any): void;
246
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextContext: any): void;
247
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): void;
248
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayApplePayProps>, nextState: Readonly<{}>, nextContext: any): void;
245
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
246
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
247
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
248
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
249
249
  };
250
250
  readonly displayName: string;
251
251
  contextType?: React.Context<any> | undefined;
252
252
  };
253
253
  export declare function withFramePayGooglePayComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayGooglePayProps>): {
254
- new (props: (OriginalProps & FramePayGooglePayProps) | Readonly<OriginalProps & FramePayGooglePayProps>): {
254
+ new (props: OriginalProps | Readonly<OriginalProps>): {
255
255
  render(): JSX.Element;
256
256
  context: unknown;
257
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayGooglePayProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
257
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
258
258
  forceUpdate(callback?: (() => void) | undefined): void;
259
- readonly props: Readonly<OriginalProps & FramePayGooglePayProps>;
259
+ readonly props: Readonly<OriginalProps>;
260
260
  state: Readonly<{}>;
261
261
  refs: {
262
262
  [key: string]: React.ReactInstance;
263
263
  };
264
264
  componentDidMount?(): void;
265
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): boolean;
265
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
266
266
  componentWillUnmount?(): void;
267
267
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
268
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayGooglePayProps>, prevState: Readonly<{}>): any;
269
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayGooglePayProps>, prevState: Readonly<{}>, snapshot?: any): void;
268
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
269
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
270
270
  componentWillMount?(): void;
271
271
  UNSAFE_componentWillMount?(): void;
272
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextContext: any): void;
273
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextContext: any): void;
274
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): void;
275
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): void;
272
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
273
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
274
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
275
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
276
276
  };
277
- new (props: OriginalProps & FramePayGooglePayProps, context: any): {
277
+ new (props: OriginalProps, context: any): {
278
278
  render(): JSX.Element;
279
279
  context: unknown;
280
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayGooglePayProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
280
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
281
281
  forceUpdate(callback?: (() => void) | undefined): void;
282
- readonly props: Readonly<OriginalProps & FramePayGooglePayProps>;
282
+ readonly props: Readonly<OriginalProps>;
283
283
  state: Readonly<{}>;
284
284
  refs: {
285
285
  [key: string]: React.ReactInstance;
286
286
  };
287
287
  componentDidMount?(): void;
288
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): boolean;
288
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
289
289
  componentWillUnmount?(): void;
290
290
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
291
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayGooglePayProps>, prevState: Readonly<{}>): any;
292
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayGooglePayProps>, prevState: Readonly<{}>, snapshot?: any): void;
291
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
292
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
293
293
  componentWillMount?(): void;
294
294
  UNSAFE_componentWillMount?(): void;
295
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextContext: any): void;
296
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextContext: any): void;
297
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): void;
298
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayGooglePayProps>, nextState: Readonly<{}>, nextContext: any): void;
295
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
296
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
297
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
298
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
299
299
  };
300
300
  readonly displayName: string;
301
301
  contextType?: React.Context<any> | undefined;
302
302
  };
303
303
  export declare function withFramePayPaypalComponent<OriginalProps extends object>(WrappedComponent: React.ComponentType<OriginalProps & FramePayPaypalProps>): {
304
- new (props: (OriginalProps & FramePayPaypalProps) | Readonly<OriginalProps & FramePayPaypalProps>): {
304
+ new (props: OriginalProps | Readonly<OriginalProps>): {
305
305
  render(): JSX.Element;
306
306
  context: unknown;
307
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayPaypalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
307
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
308
308
  forceUpdate(callback?: (() => void) | undefined): void;
309
- readonly props: Readonly<OriginalProps & FramePayPaypalProps>;
309
+ readonly props: Readonly<OriginalProps>;
310
310
  state: Readonly<{}>;
311
311
  refs: {
312
312
  [key: string]: React.ReactInstance;
313
313
  };
314
314
  componentDidMount?(): void;
315
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
315
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
316
316
  componentWillUnmount?(): void;
317
317
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
318
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayPaypalProps>, prevState: Readonly<{}>): any;
319
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayPaypalProps>, prevState: Readonly<{}>, snapshot?: any): void;
318
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
319
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
320
320
  componentWillMount?(): void;
321
321
  UNSAFE_componentWillMount?(): void;
322
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextContext: any): void;
323
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextContext: any): void;
324
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): void;
325
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): void;
322
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
323
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
324
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
325
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
326
326
  };
327
- new (props: OriginalProps & FramePayPaypalProps, context: any): {
327
+ new (props: OriginalProps, context: any): {
328
328
  render(): JSX.Element;
329
329
  context: unknown;
330
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps & FramePayPaypalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
330
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<OriginalProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
331
331
  forceUpdate(callback?: (() => void) | undefined): void;
332
- readonly props: Readonly<OriginalProps & FramePayPaypalProps>;
332
+ readonly props: Readonly<OriginalProps>;
333
333
  state: Readonly<{}>;
334
334
  refs: {
335
335
  [key: string]: React.ReactInstance;
336
336
  };
337
337
  componentDidMount?(): void;
338
- shouldComponentUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
338
+ shouldComponentUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): boolean;
339
339
  componentWillUnmount?(): void;
340
340
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
341
- getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps & FramePayPaypalProps>, prevState: Readonly<{}>): any;
342
- componentDidUpdate?(prevProps: Readonly<OriginalProps & FramePayPaypalProps>, prevState: Readonly<{}>, snapshot?: any): void;
341
+ getSnapshotBeforeUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>): any;
342
+ componentDidUpdate?(prevProps: Readonly<OriginalProps>, prevState: Readonly<{}>, snapshot?: any): void;
343
343
  componentWillMount?(): void;
344
344
  UNSAFE_componentWillMount?(): void;
345
- componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextContext: any): void;
346
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextContext: any): void;
347
- componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): void;
348
- UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps & FramePayPaypalProps>, nextState: Readonly<{}>, nextContext: any): void;
345
+ componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
346
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<OriginalProps>, nextContext: any): void;
347
+ componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
348
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<OriginalProps>, nextState: Readonly<{}>, nextContext: any): void;
349
349
  };
350
350
  readonly displayName: string;
351
351
  contextType?: React.Context<any> | undefined;
@@ -372,4 +372,4 @@ function withFramePayPaypalComponent(WrappedComponent) {
372
372
  _a;
373
373
  }
374
374
  exports.withFramePayPaypalComponent = withFramePayPaypalComponent;
375
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5qZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvaW5qZWN0b3IudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzQ0FBc0M7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUV0QywyQ0FBK0I7QUFDL0Isc0NBQTZDO0FBQzdDLGlGQUFtRTtBQUNuRSx5RUFBMkQ7QUFDM0QseUVBQTJEO0FBQzNELG1GQUFxRTtBQUNyRSx5RUFBMkQ7QUFDM0QsNkVBQStEO0FBWS9ELElBQU0sZ0JBQWdCLEdBQUcsVUFBQyxJQUFxQjtJQUMzQyxPQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FB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GNBQUM7UUFBRCxDQUFDLEFBdEJNLENBQWMsS0FBSyxDQUFDLFNBQVM7UUFDaEIsY0FBVyxHQUFHLHFDQUE4QixJQUFJLGNBQzVELGdCQUFnQixDQUFDLFdBQVcsSUFBSSxnQkFBZ0IsQ0FBQyxJQUFJLElBQUksV0FBVyxNQUNwRTtXQW1CTjtBQUNOLENBQUM7QUEzQkQsa0VBMkJDIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/framepay-react",
3
- "version": "3.8.0",
3
+ "version": "4.0.0",
4
4
  "description": "A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features",
5
5
  "main": "build/index.js",
6
6
  "author": "Rebilly",
@@ -271,11 +271,8 @@ export function withFramePay<OriginalProps extends object>(
271
271
  ...elementsFabric('applePay'),
272
272
  ...elementsFabric('googlePay'),
273
273
  ...elementsFabric('paypal')
274
- };
275
- return class extends React.Component<
276
- OriginalProps & FramePayComponentProps,
277
- {}
278
- > {
274
+ } as FramePayComponentProps;
275
+ return class extends React.Component<OriginalProps, {}> {
279
276
  static readonly displayName = `withFramePay${name}(${
280
277
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
281
278
  })`;
@@ -303,11 +300,8 @@ export function withFramePay<OriginalProps extends object>(
303
300
  export function withFramePayCardComponent<OriginalProps extends object>(
304
301
  WrappedComponent: React.ComponentType<OriginalProps & FramePayCardProps>
305
302
  ) {
306
- const elements = elementsFabric('card');
307
- return class extends React.Component<
308
- OriginalProps & FramePayCardProps,
309
- {}
310
- > {
303
+ const elements = elementsFabric('card') as FramePayCardProps;
304
+ return class extends React.Component<OriginalProps, {}> {
311
305
  static readonly displayName = `withFramePayCardComponent${name}(${
312
306
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
313
307
  })`;
@@ -335,11 +329,8 @@ export function withFramePayCardComponent<OriginalProps extends object>(
335
329
  export function withFramePayBankComponent<OriginalProps extends object>(
336
330
  WrappedComponent: React.ComponentType<OriginalProps & FramePayBankProps>
337
331
  ) {
338
- const elements = elementsFabric('bankAccount');
339
- return class extends React.Component<
340
- OriginalProps & FramePayBankProps,
341
- {}
342
- > {
332
+ const elements = elementsFabric('bankAccount') as FramePayBankProps;
333
+ return class extends React.Component<OriginalProps, {}> {
343
334
  static readonly displayName = `withFramePayBankComponent${name}(${
344
335
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
345
336
  })`;
@@ -367,11 +358,8 @@ export function withFramePayBankComponent<OriginalProps extends object>(
367
358
  export function withFramePayIBANComponent<OriginalProps extends object>(
368
359
  WrappedComponent: React.ComponentType<OriginalProps & FramePayIBANProps>
369
360
  ) {
370
- const elements = elementsFabric('iban');
371
- return class extends React.Component<
372
- OriginalProps & FramePayIBANProps,
373
- {}
374
- > {
361
+ const elements = elementsFabric('iban') as FramePayIBANProps;
362
+ return class extends React.Component<OriginalProps, {}> {
375
363
  static readonly displayName = `withFramePayIBANComponent${name}(${
376
364
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
377
365
  })`;
@@ -399,11 +387,8 @@ export function withFramePayIBANComponent<OriginalProps extends object>(
399
387
  export function withFramePayApplePayComponent<OriginalProps extends object>(
400
388
  WrappedComponent: React.ComponentType<OriginalProps & FramePayApplePayProps>
401
389
  ) {
402
- const elements = elementsFabric('applePay');
403
- return class extends React.Component<
404
- OriginalProps & FramePayApplePayProps,
405
- {}
406
- > {
390
+ const elements = elementsFabric('applePay') as FramePayApplePayProps;
391
+ return class extends React.Component<OriginalProps, {}> {
407
392
  static readonly displayName = `withFramePayApplePayComponent${name}(${
408
393
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
409
394
  })`;
@@ -433,11 +418,8 @@ export function withFramePayGooglePayComponent<OriginalProps extends object>(
433
418
  OriginalProps & FramePayGooglePayProps
434
419
  >
435
420
  ) {
436
- const elements = elementsFabric('googlePay');
437
- return class extends React.Component<
438
- OriginalProps & FramePayGooglePayProps,
439
- {}
440
- > {
421
+ const elements = elementsFabric('googlePay') as FramePayGooglePayProps;
422
+ return class extends React.Component<OriginalProps, {}> {
441
423
  static readonly displayName = `withFramePayGooglePayComponent${name}(${
442
424
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
443
425
  })`;
@@ -465,11 +447,8 @@ export function withFramePayGooglePayComponent<OriginalProps extends object>(
465
447
  export function withFramePayPaypalComponent<OriginalProps extends object>(
466
448
  WrappedComponent: React.ComponentType<OriginalProps & FramePayPaypalProps>
467
449
  ) {
468
- const elements = elementsFabric('paypal');
469
- return class extends React.Component<
470
- OriginalProps & FramePayPaypalProps,
471
- {}
472
- > {
450
+ const elements = elementsFabric('paypal') as FramePayPaypalProps;
451
+ return class extends React.Component<OriginalProps, {}> {
473
452
  static readonly displayName = `withFramePayPaypalComponent${name}(${
474
453
  WrappedComponent.displayName || WrappedComponent.name || 'Component'
475
454
  })`;
@@ -3,56 +3,56 @@ export interface FramePayComponentProps {
3
3
  readonly Rebilly: RebillyProps;
4
4
 
5
5
  // Card Components
6
- readonly CardCvvElement: React.Component;
7
- readonly CardElement: React.Component;
8
- readonly CardExpiryElement: React.Component;
9
- readonly CardNumberElement: React.Component;
6
+ readonly CardCvvElement: React.ElementType;
7
+ readonly CardElement: React.ElementType;
8
+ readonly CardExpiryElement: React.ElementType;
9
+ readonly CardNumberElement: React.ElementType;
10
10
 
11
11
  // Bank Components
12
- readonly BankAccountNumberElement: React.Component;
13
- readonly BankAccountTypeElement: React.Component;
14
- readonly BankRoutingNumberElement: React.Component;
12
+ readonly BankAccountNumberElement: React.ElementType;
13
+ readonly BankAccountTypeElement: React.ElementType;
14
+ readonly BankRoutingNumberElement: React.ElementType;
15
15
 
16
16
  // IBAN components
17
- readonly IBANElement: React.Component;
17
+ readonly IBANElement: React.ElementType;
18
18
 
19
19
  // Express method components
20
- readonly ApplePayElement: React.Component;
21
- readonly GooglePayElement: React.Component;
22
- readonly PaypalElement: React.Component;
20
+ readonly ApplePayElement: React.ElementType;
21
+ readonly GooglePayElement: React.ElementType;
22
+ readonly PaypalElement: React.ElementType;
23
23
  }
24
24
 
25
25
  export interface FramePayCardProps {
26
26
  readonly Rebilly: RebillyProps;
27
- readonly CardCvvElement: React.Component;
28
- readonly CardElement: React.Component;
29
- readonly CardExpiryElement: React.Component;
30
- readonly CardNumberElement: React.Component;
27
+ readonly CardCvvElement: React.ElementType;
28
+ readonly CardElement: React.ElementType;
29
+ readonly CardExpiryElement: React.ElementType;
30
+ readonly CardNumberElement: React.ElementType;
31
31
  }
32
32
 
33
33
  export interface FramePayBankProps {
34
34
  readonly Rebilly: RebillyProps;
35
- readonly BankAccountNumberElement: React.Component;
36
- readonly BankAccountTypeElement: React.Component;
37
- readonly BankRoutingNumberElement: React.Component;
35
+ readonly BankAccountNumberElement: React.ElementType;
36
+ readonly BankAccountTypeElement: React.ElementType;
37
+ readonly BankRoutingNumberElement: React.ElementType;
38
38
  }
39
39
 
40
40
  export interface FramePayIBANProps {
41
41
  readonly Rebilly: RebillyProps;
42
- readonly IBANElement: React.Component;
42
+ readonly IBANElement: React.ElementType;
43
43
  }
44
44
 
45
45
  export interface FramePayApplePayProps {
46
46
  readonly Rebilly: RebillyProps;
47
- readonly ApplePayElement: React.Component;
47
+ readonly ApplePayElement: React.ElementType;
48
48
  }
49
49
 
50
50
  export interface FramePayGooglePayProps {
51
51
  readonly Rebilly: RebillyProps;
52
- readonly GooglePayElement: React.Component;
52
+ readonly GooglePayElement: React.ElementType;
53
53
  }
54
54
 
55
55
  export interface FramePayPaypalProps {
56
56
  readonly Rebilly: RebillyProps;
57
- readonly PaypalElement: React.Component;
57
+ readonly PaypalElement: React.ElementType;
58
58
  }