@soltech/fluid-common 0.10.31 → 0.10.32

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;
@@ -53,6 +48,7 @@ export interface WalletConfig {
53
48
  kycDepositLimit: number | null;
54
49
  logo: string;
55
50
  numberCharactersHolderName: number | null;
51
+ removePrefixPlusSign: boolean;
56
52
  successScreen: {
57
53
  promotion: Promotion | null;
58
54
  };
@@ -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.32",
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;
@@ -60,6 +54,7 @@ export interface WalletConfig {
60
54
  kycDepositLimit: number | null;
61
55
  logo: string;
62
56
  numberCharactersHolderName: number | null;
57
+ removePrefixPlusSign: boolean;
63
58
  successScreen: {
64
59
  promotion: Promotion | null;
65
60
  };
@@ -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
  }