@soltech/fluid-common 0.8.6 → 0.8.8

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
@@ -35,6 +35,7 @@ export interface WalletInitParams {
35
35
  userAgent: string;
36
36
  userData?: UserData;
37
37
  timestamp: string;
38
+ transactionAttributes?: Record<string, string>;
38
39
  }
39
40
  export interface WalletConfig {
40
41
  contentText: Record<string, string>;
@@ -250,6 +251,12 @@ export interface UserData {
250
251
  lifetimeDeposit?: number;
251
252
  kycStatus?: KycStatus;
252
253
  }
254
+ export interface AiModelQueryParams {
255
+ country: string;
256
+ currency?: string;
257
+ operatorId: number;
258
+ userData?: UserData;
259
+ }
253
260
  export interface SuggestedAmountsPrediction {
254
261
  prefilled: number;
255
262
  buttons: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
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
@@ -40,6 +40,7 @@ export interface WalletInitParams {
40
40
  userAgent: string;
41
41
  userData?: UserData;
42
42
  timestamp: string;
43
+ transactionAttributes?: Record<string, string>;
43
44
  }
44
45
 
45
46
  export interface WalletConfig {
@@ -286,6 +287,13 @@ export interface UserData {
286
287
  kycStatus?: KycStatus;
287
288
  }
288
289
 
290
+ export interface AiModelQueryParams {
291
+ country: string;
292
+ currency?: string;
293
+ operatorId: number;
294
+ userData?: UserData;
295
+ }
296
+
289
297
  export interface SuggestedAmountsPrediction {
290
298
  prefilled: number;
291
299
  buttons: number[];