@soltech/fluid-common 0.3.1 → 0.3.3

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
@@ -33,10 +33,11 @@ export interface WalletInitParams {
33
33
  export interface WalletConfig {
34
34
  contentText: Record<string, string>;
35
35
  defaultDepositAmount: number;
36
+ defaultWithdrawalAmount: number;
37
+ integration: Integration;
36
38
  logo: string;
37
39
  suggestedDepositAmounts: number[];
38
40
  theme: Record<string, string>;
39
- integration: Integration;
40
41
  }
41
42
  export interface WalletConfigParams {
42
43
  contentText: Record<string, ContentType>;
@@ -146,3 +147,10 @@ export declare enum ErrorAction {
146
147
  RETURN_STEP2 = "RETURN_STEP2",
147
148
  BLOCK_DEPOSITS = "BLOCK_DEPOSITS"
148
149
  }
150
+ export interface PendingWithdrawal {
151
+ accountId: string;
152
+ amount: string;
153
+ state: string;
154
+ transactionId: string;
155
+ providerType: string;
156
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -40,10 +40,11 @@ export interface WalletInitParams {
40
40
  export interface WalletConfig {
41
41
  contentText: Record<string, string>;
42
42
  defaultDepositAmount: number;
43
+ defaultWithdrawalAmount: number;
44
+ integration: Integration;
43
45
  logo: string;
44
46
  suggestedDepositAmounts: number[];
45
47
  theme: Record<string, string>;
46
- integration: Integration;
47
48
  }
48
49
 
49
50
  export interface WalletConfigParams {
@@ -169,3 +170,10 @@ export enum ErrorAction {
169
170
  BLOCK_DEPOSITS = 'BLOCK_DEPOSITS'
170
171
  }
171
172
 
173
+ export interface PendingWithdrawal {
174
+ accountId: string;
175
+ amount: string;
176
+ state: string;
177
+ transactionId: string;
178
+ providerType: string;
179
+ }