@soltech/fluid-common 0.10.63 → 0.10.65

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
@@ -36,7 +36,6 @@ export interface WalletInitParams {
36
36
  viewport: Viewport;
37
37
  userData?: UserData;
38
38
  timestamp: string;
39
- transactionAttributes?: Record<string, string>;
40
39
  buildDate: string;
41
40
  hostSiteUrl: string;
42
41
  }
@@ -115,10 +114,14 @@ export interface PaymentMethod {
115
114
  withdrawalHandledByHostSite?: boolean;
116
115
  withdrawalInputsShownWhenMethodIsStored: boolean;
117
116
  }
118
- export interface PaymentMethodFees {
119
- fixedAmount?: number;
117
+ export type PaymentMethodFees = {
118
+ fixed?: number;
120
119
  percentage?: number;
121
- }
120
+ applyToRange?: {
121
+ min?: number;
122
+ max?: number;
123
+ };
124
+ }[];
122
125
  export interface PaymentMethodLogo {
123
126
  height: number;
124
127
  url: string;
@@ -207,6 +210,7 @@ export interface TransactionOptions {
207
210
  originalActivityId?: string;
208
211
  userData?: UserData;
209
212
  trackingData?: object;
213
+ transactionAttributes?: Record<string, string>;
210
214
  }
211
215
  export interface TransactionResult {
212
216
  error?: ProviderTransactionError;
@@ -297,8 +301,6 @@ export interface UserData {
297
301
  previousDeposit?: number;
298
302
  timeOfDay?: string;
299
303
  lifetimeDeposit?: number;
300
- depositCount?: number;
301
- daysSinceRegistration?: number;
302
304
  kycStatus?: KycStatus;
303
305
  affiliateId?: string;
304
306
  tags?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.10.63",
3
+ "version": "0.10.65",
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
@@ -41,7 +41,6 @@ export interface WalletInitParams {
41
41
  viewport: Viewport;
42
42
  userData?: UserData;
43
43
  timestamp: string;
44
- transactionAttributes?: Record<string, string>;
45
44
  buildDate: string;
46
45
  hostSiteUrl: string;
47
46
  }
@@ -130,10 +129,14 @@ export interface PaymentMethod {
130
129
  withdrawalInputsShownWhenMethodIsStored: boolean;
131
130
  }
132
131
 
133
- export interface PaymentMethodFees {
134
- fixedAmount?: number;
132
+ export type PaymentMethodFees = {
133
+ fixed?: number;
135
134
  percentage?: number;
136
- }
135
+ applyToRange?: {
136
+ min?: number;
137
+ max?: number;
138
+ }
139
+ }[];
137
140
 
138
141
  export interface PaymentMethodLogo {
139
142
  height: number;
@@ -233,6 +236,7 @@ export interface TransactionOptions {
233
236
  originalActivityId?: string;
234
237
  userData?: UserData;
235
238
  trackingData?: object;
239
+ transactionAttributes?: Record<string, string>;
236
240
  }
237
241
 
238
242
  export interface TransactionResult {
@@ -337,8 +341,6 @@ export interface UserData {
337
341
  previousDeposit?: number;
338
342
  timeOfDay?: string;
339
343
  lifetimeDeposit?: number;
340
- depositCount?: number;
341
- daysSinceRegistration?: number;
342
344
  kycStatus?: KycStatus;
343
345
  affiliateId?: string;
344
346
  tags?: string[];