@soltech/fluid-common 0.7.1 → 0.7.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.
package/lib/index.d.ts CHANGED
@@ -42,7 +42,7 @@ export interface WalletConfig {
42
42
  logo: string;
43
43
  suggestedDepositAmounts: number[];
44
44
  theme: Record<string, string>;
45
- aiPredictionsEnabled: boolean;
45
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
46
46
  balanceDisplayed: boolean;
47
47
  transactionToggleDisplayed: boolean;
48
48
  }
@@ -153,7 +153,8 @@ export interface TransactionOptions {
153
153
  bonus?: {
154
154
  [key: string]: string;
155
155
  };
156
- trackingData?: object;
156
+ activityId?: string;
157
+ originalActivityId?: string;
157
158
  }
158
159
  export interface TransactionResult {
159
160
  error?: ProviderTransactionError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.7.1",
3
+ "version": "0.7.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
@@ -48,7 +48,7 @@ export interface WalletConfig {
48
48
  logo: string;
49
49
  suggestedDepositAmounts: number[];
50
50
  theme: Record<string, string>;
51
- aiPredictionsEnabled: boolean;
51
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
52
52
  balanceDisplayed: boolean;
53
53
  transactionToggleDisplayed: boolean;
54
54
  }
@@ -174,7 +174,8 @@ export interface TransactionOptions {
174
174
  bonus?: {
175
175
  [key: string]: string
176
176
  };
177
- trackingData?: object
177
+ activityId?: string;
178
+ originalActivityId?: string;
178
179
  }
179
180
 
180
181
  export interface TransactionResult {