@soltech/fluid-common 0.9.0 → 0.9.1

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
@@ -50,6 +50,8 @@ export interface WalletConfig {
50
50
  autofillCreditCardName: boolean;
51
51
  contactSupportLink: string;
52
52
  numberCharactersHolderName: number | null;
53
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
54
+ aiPredictionsForDepositMethodsOrderEnabled: boolean;
53
55
  }
54
56
  export interface WalletConfigParams {
55
57
  contentText: Record<string, ContentType>;
@@ -175,7 +177,7 @@ export interface TransactionResult {
175
177
  state: TransactionState;
176
178
  statusCode: string;
177
179
  transactionId: string;
178
- suggestedAmounts?: SuggestedAmountsPrediction;
180
+ suggestedAmounts?: DepositAmountsSettings;
179
181
  }
180
182
  export interface RedirectOutput {
181
183
  container: RedirectContainer;
@@ -260,7 +262,3 @@ export interface UserData {
260
262
  lifetimeDeposit?: number;
261
263
  kycStatus?: KycStatus;
262
264
  }
263
- export interface SuggestedAmountsPrediction {
264
- prefilled: number;
265
- buttons: number[];
266
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
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
@@ -56,6 +56,8 @@ export interface WalletConfig {
56
56
  autofillCreditCardName: boolean;
57
57
  contactSupportLink: string;
58
58
  numberCharactersHolderName: number | null;
59
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
60
+ aiPredictionsForDepositMethodsOrderEnabled: boolean;
59
61
  }
60
62
 
61
63
  export interface WalletConfigParams {
@@ -198,7 +200,7 @@ export interface TransactionResult {
198
200
  state: TransactionState;
199
201
  statusCode: string;
200
202
  transactionId: string;
201
- suggestedAmounts?: SuggestedAmountsPrediction;
203
+ suggestedAmounts?: DepositAmountsSettings;
202
204
  }
203
205
 
204
206
  export interface RedirectOutput {
@@ -296,8 +298,3 @@ export interface UserData {
296
298
  lifetimeDeposit?: number;
297
299
  kycStatus?: KycStatus;
298
300
  }
299
-
300
- export interface SuggestedAmountsPrediction {
301
- prefilled: number;
302
- buttons: number[];
303
- }