@soltech/fluid-common 0.10.31 → 0.10.33

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/.nvmrc CHANGED
@@ -1,2 +1,2 @@
1
- v22.12.0
1
+ v20.11.0
2
2
 
package/lib/index.d.ts CHANGED
@@ -33,15 +33,10 @@ export interface WalletInitParams {
33
33
  sessionId: string;
34
34
  userId: string | number;
35
35
  userAgent: string;
36
- viewport: Viewport;
37
36
  userData?: UserData;
38
37
  timestamp: string;
39
38
  transactionAttributes?: Record<string, string>;
40
39
  }
41
- export interface Viewport {
42
- innerWidth: number;
43
- innerHeight: number;
44
- }
45
40
  export interface WalletConfig {
46
41
  autofillCreditCardName: boolean;
47
42
  balanceDisplayed: boolean;
@@ -125,6 +120,7 @@ export interface InputField {
125
120
  errorText: string;
126
121
  options: InputFieldOption[];
127
122
  prefillKey?: string;
123
+ removePrefixPlusSign?: boolean;
128
124
  }
129
125
  export interface InputFieldOption {
130
126
  label: string;
@@ -290,6 +286,4 @@ export interface UserData {
290
286
  timeOfDay?: string;
291
287
  lifetimeDeposit?: number;
292
288
  kycStatus?: KycStatus;
293
- affiliateId?: string;
294
- tags?: string[];
295
289
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.10.31",
3
+ "version": "0.10.33",
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
@@ -38,17 +38,11 @@ export interface WalletInitParams {
38
38
  sessionId: string;
39
39
  userId: string | number;
40
40
  userAgent: string;
41
- viewport: Viewport;
42
41
  userData?: UserData;
43
42
  timestamp: string;
44
43
  transactionAttributes?: Record<string, string>;
45
44
  }
46
45
 
47
- export interface Viewport {
48
- innerWidth: number;
49
- innerHeight: number;
50
- }
51
-
52
46
  export interface WalletConfig {
53
47
  autofillCreditCardName: boolean;
54
48
  balanceDisplayed: boolean;
@@ -142,6 +136,7 @@ export interface InputField {
142
136
  errorText: string;
143
137
  options: InputFieldOption[];
144
138
  prefillKey?: string;
139
+ removePrefixPlusSign?: boolean;
145
140
  }
146
141
 
147
142
  export interface InputFieldOption {
@@ -330,6 +325,4 @@ export interface UserData {
330
325
  timeOfDay?: string;
331
326
  lifetimeDeposit?: number;
332
327
  kycStatus?: KycStatus;
333
- affiliateId?: string;
334
- tags?: string[];
335
328
  }