@soltech/fluid-common 1.6.0 → 1.6.2

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.
@@ -0,0 +1,13 @@
1
+ {
2
+ "context": {
3
+ "repos": [
4
+ "soltechno/fluid-api",
5
+ "soltechno/fluid-widget",
6
+ "soltechno/fluid-payments",
7
+ "soltechno/fluid-public-types",
8
+ "soltechno/fluid-eslint-config",
9
+ "soltechno/fluid-handbook",
10
+ "soltechno/fluid-docs"
11
+ ]
12
+ }
13
+ }
package/lib/index.d.ts CHANGED
@@ -76,7 +76,7 @@ export interface WalletConfig {
76
76
  };
77
77
  withdrawalInFiatCurrency: boolean;
78
78
  banner?: Banner;
79
- campaign?: Campaign | null;
79
+ campaign?: Campaign;
80
80
  manualBonusCodesEnabled?: boolean;
81
81
  }
82
82
  export interface Promotion {
@@ -172,6 +172,8 @@ export interface InputField {
172
172
  options: InputFieldOption[];
173
173
  prefillKey?: string;
174
174
  removePrefixPlusSign?: boolean;
175
+ relatesTo?: string;
176
+ showForValues?: string[];
175
177
  }
176
178
  export interface InputFieldOption {
177
179
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
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
@@ -84,7 +84,7 @@ export interface WalletConfig {
84
84
  },
85
85
  withdrawalInFiatCurrency: boolean;
86
86
  banner?: Banner;
87
- campaign?: Campaign | null;
87
+ campaign?: Campaign;
88
88
  manualBonusCodesEnabled?: boolean;
89
89
  }
90
90
 
@@ -193,6 +193,8 @@ export interface InputField {
193
193
  options: InputFieldOption[];
194
194
  prefillKey?: string;
195
195
  removePrefixPlusSign?: boolean;
196
+ relatesTo?: string;
197
+ showForValues?: string[];
196
198
  }
197
199
 
198
200
  export interface InputFieldOption {