@soltech/fluid-common 0.10.17 → 0.10.18

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/lib/index.d.ts CHANGED
@@ -43,6 +43,7 @@ export interface WalletConfig {
43
43
  contactSupportLink: string;
44
44
  contentText: Record<string, string>;
45
45
  defaultDepositAmount: number;
46
+ displayFullListOfDepositMethods: boolean;
46
47
  integration: Integration;
47
48
  kycDepositLimit: number | null;
48
49
  logo: string;
@@ -53,6 +54,7 @@ export interface WalletConfig {
53
54
  suggestedDepositAmounts: number[];
54
55
  theme: Record<string, string>;
55
56
  transactionToggleDisplayed: boolean;
57
+ transactionStatusCheck?: TransactionStatusCheck;
56
58
  }
57
59
  export interface Promotion {
58
60
  title: string;
@@ -71,6 +73,10 @@ export interface DepositAmountsSettings {
71
73
  defaultDepositAmount: number;
72
74
  suggestedDepositAmounts: number[];
73
75
  }
76
+ export interface TransactionStatusCheck {
77
+ url: string;
78
+ intervalSeconds: number;
79
+ }
74
80
  export interface AllPaymentMethods {
75
81
  recentPaymentMethods: RecentMethod[];
76
82
  paymentMethods: PaymentMethod[];
@@ -80,22 +86,22 @@ export interface AllPaymentMethodsByTransactionType {
80
86
  withdrawal: AllPaymentMethods;
81
87
  }
82
88
  export interface PaymentMethod {
83
- bonusCodes?: string[];
84
- description: string;
85
- fees?: PaymentMethodFees;
86
89
  id: string;
87
- info: string;
88
- inputFields?: InputField[];
89
- instructions?: string;
90
+ name: string;
91
+ description: string;
92
+ termsAndConditions: string;
90
93
  logo: PaymentMethodLogo;
91
94
  logoLight?: PaymentMethodLogo;
92
- maxAmount: number;
93
95
  minAmount: number;
94
- name: string;
96
+ maxAmount: number;
97
+ info: string;
95
98
  paymentType: PaymentType;
96
- popupWindowRedirect: boolean;
97
99
  providerType: string;
98
- termsAndConditions: string;
100
+ inputFields?: InputField[];
101
+ bonusCodes?: string[];
102
+ instructions?: string;
103
+ fees?: PaymentMethodFees;
104
+ popupWindowRedirect: boolean;
99
105
  }
100
106
  export interface PaymentMethodFees {
101
107
  fixedAmount?: number;
@@ -190,17 +196,11 @@ export interface TransactionOptions {
190
196
  }
191
197
  export interface TransactionResult {
192
198
  error?: ProviderTransactionError;
193
- getTransactionResultEnabled?: boolean;
194
199
  redirectOutput?: RedirectOutput;
195
200
  state: TransactionState;
196
201
  statusCode: string;
197
- suggestedAmounts?: DepositAmountsSettings;
198
202
  transactionId: string;
199
- transactionStatusCheck?: TransactionStatusCheck;
200
- }
201
- export interface TransactionStatusCheck {
202
- url: string;
203
- intervalSeconds: number;
203
+ suggestedAmounts?: DepositAmountsSettings;
204
204
  }
205
205
  export interface RedirectOutput {
206
206
  container: RedirectContainer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.10.17",
3
+ "version": "0.10.18",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -49,6 +49,7 @@ export interface WalletConfig {
49
49
  contactSupportLink: string;
50
50
  contentText: Record<string, string>;
51
51
  defaultDepositAmount: number;
52
+ displayFullListOfDepositMethods: boolean;
52
53
  integration: Integration;
53
54
  kycDepositLimit: number | null;
54
55
  logo: string;
@@ -59,6 +60,7 @@ export interface WalletConfig {
59
60
  suggestedDepositAmounts: number[];
60
61
  theme: Record<string, string>;
61
62
  transactionToggleDisplayed: boolean;
63
+ transactionStatusCheck?: TransactionStatusCheck;
62
64
  }
63
65
 
64
66
  export interface Promotion {
@@ -81,6 +83,11 @@ export interface DepositAmountsSettings {
81
83
  suggestedDepositAmounts: number[];
82
84
  }
83
85
 
86
+ export interface TransactionStatusCheck {
87
+ url: string;
88
+ intervalSeconds: number;
89
+ }
90
+
84
91
  export interface AllPaymentMethods {
85
92
  recentPaymentMethods: RecentMethod[];
86
93
  paymentMethods: PaymentMethod[];
@@ -92,22 +99,22 @@ export interface AllPaymentMethodsByTransactionType {
92
99
  }
93
100
 
94
101
  export interface PaymentMethod {
95
- bonusCodes?: string[];
96
- description: string;
97
- fees?: PaymentMethodFees;
98
102
  id: string;
99
- info: string;
100
- inputFields?: InputField[];
101
- instructions?: string;
103
+ name: string;
104
+ description: string;
105
+ termsAndConditions: string;
102
106
  logo: PaymentMethodLogo;
103
107
  logoLight?: PaymentMethodLogo;
104
- maxAmount: number;
105
108
  minAmount: number;
106
- name: string;
109
+ maxAmount: number;
110
+ info: string;
107
111
  paymentType: PaymentType;
108
- popupWindowRedirect: boolean;
109
112
  providerType: string;
110
- termsAndConditions: string;
113
+ inputFields?: InputField[];
114
+ bonusCodes?: string[];
115
+ instructions?: string;
116
+ fees?: PaymentMethodFees;
117
+ popupWindowRedirect: boolean;
111
118
  }
112
119
 
113
120
  export interface PaymentMethodFees {
@@ -215,18 +222,11 @@ export interface TransactionOptions {
215
222
 
216
223
  export interface TransactionResult {
217
224
  error?: ProviderTransactionError;
218
- getTransactionResultEnabled?: boolean;
219
225
  redirectOutput?: RedirectOutput;
220
226
  state: TransactionState;
221
227
  statusCode: string;
222
- suggestedAmounts?: DepositAmountsSettings;
223
228
  transactionId: string;
224
- transactionStatusCheck?: TransactionStatusCheck;
225
- }
226
-
227
- export interface TransactionStatusCheck {
228
- url: string;
229
- intervalSeconds: number;
229
+ suggestedAmounts?: DepositAmountsSettings;
230
230
  }
231
231
 
232
232
  export interface RedirectOutput {