@soltech/fluid-common 0.8.16 → 0.9.0
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 +5 -3
- package/lib/index.js +0 -1
- package/package.json +2 -2
- package/src/index.ts +6 -3
package/lib/index.d.ts
CHANGED
|
@@ -12,8 +12,7 @@ export declare enum TraitType {
|
|
|
12
12
|
COLOR = "COLOR",
|
|
13
13
|
IMAGE = "IMAGE",
|
|
14
14
|
TEXT = "TEXT",
|
|
15
|
-
SOUND = "SOUND"
|
|
16
|
-
BOOLEAN = "BOOLEAN"
|
|
15
|
+
SOUND = "SOUND"
|
|
17
16
|
}
|
|
18
17
|
export declare enum PaymentType {
|
|
19
18
|
BANK_TRANSFER = "BankTransfer",
|
|
@@ -56,6 +55,10 @@ export interface WalletConfigParams {
|
|
|
56
55
|
contentText: Record<string, ContentType>;
|
|
57
56
|
theme: Record<string, TraitType>;
|
|
58
57
|
}
|
|
58
|
+
export interface DepositAmountsSettings {
|
|
59
|
+
defaultDepositAmount: number;
|
|
60
|
+
suggestedDepositAmounts: number[];
|
|
61
|
+
}
|
|
59
62
|
export interface AllPaymentMethods {
|
|
60
63
|
recentPaymentMethods: RecentMethod[];
|
|
61
64
|
paymentMethods: PaymentMethod[];
|
|
@@ -98,7 +101,6 @@ export interface InputField {
|
|
|
98
101
|
placeholderText: string;
|
|
99
102
|
errorText: string;
|
|
100
103
|
options: InputFieldOption[];
|
|
101
|
-
optionsRequired: boolean;
|
|
102
104
|
prefillKey?: string;
|
|
103
105
|
}
|
|
104
106
|
export interface InputFieldOption {
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soltech/fluid-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Fluid frontend, API and AI common interfaces & enums",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"lint-staged": {
|
|
34
34
|
"*.{ts}": "eslint --fix"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -14,8 +14,7 @@ export enum TraitType {
|
|
|
14
14
|
COLOR = 'COLOR',
|
|
15
15
|
IMAGE = 'IMAGE',
|
|
16
16
|
TEXT = 'TEXT',
|
|
17
|
-
SOUND = 'SOUND'
|
|
18
|
-
BOOLEAN = 'BOOLEAN'
|
|
17
|
+
SOUND = 'SOUND'
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
export enum PaymentType {
|
|
@@ -64,6 +63,11 @@ export interface WalletConfigParams {
|
|
|
64
63
|
theme: Record<string, TraitType>
|
|
65
64
|
}
|
|
66
65
|
|
|
66
|
+
export interface DepositAmountsSettings {
|
|
67
|
+
defaultDepositAmount: number;
|
|
68
|
+
suggestedDepositAmounts: number[];
|
|
69
|
+
}
|
|
70
|
+
|
|
67
71
|
export interface AllPaymentMethods {
|
|
68
72
|
recentPaymentMethods: RecentMethod[];
|
|
69
73
|
paymentMethods: PaymentMethod[];
|
|
@@ -111,7 +115,6 @@ export interface InputField {
|
|
|
111
115
|
placeholderText: string;
|
|
112
116
|
errorText: string;
|
|
113
117
|
options: InputFieldOption[];
|
|
114
|
-
optionsRequired: boolean;
|
|
115
118
|
prefillKey?: string;
|
|
116
119
|
}
|
|
117
120
|
|