@soltech/fluid-common 0.6.15 → 0.6.17

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
@@ -28,7 +28,7 @@ export interface WalletInitParams {
28
28
  sessionId: string;
29
29
  userId: string | number;
30
30
  userAgent: string;
31
- userData: UserData;
31
+ userData?: UserData;
32
32
  }
33
33
  export interface WalletConfig {
34
34
  contentText: Record<string, string>;
@@ -215,3 +215,7 @@ export interface AiModelQueryParams {
215
215
  operatorId: number;
216
216
  userData: UserData;
217
217
  }
218
+ export interface SuggestedAmountsPrediction {
219
+ prefilled: number;
220
+ buttons: number[];
221
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.15",
3
+ "version": "0.6.17",
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
@@ -33,7 +33,7 @@ export interface WalletInitParams {
33
33
  sessionId: string;
34
34
  userId: string | number;
35
35
  userAgent: string;
36
- userData: UserData;
36
+ userData?: UserData;
37
37
  }
38
38
 
39
39
  export interface WalletConfig {
@@ -249,3 +249,7 @@ export interface AiModelQueryParams {
249
249
  userData: UserData;
250
250
  }
251
251
 
252
+ export interface SuggestedAmountsPrediction {
253
+ prefilled: number;
254
+ buttons: number[];
255
+ }