@soltech/fluid-common 0.8.5 → 0.8.7
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/README.md +0 -11
- package/lib/index.d.ts +3 -5
- package/package.json +1 -1
- package/src/index.ts +3 -5
package/README.md
CHANGED
|
@@ -7,14 +7,3 @@
|
|
|
7
7
|
2. Bump the package version according to change severity
|
|
8
8
|
3. Commit
|
|
9
9
|
4. run `npm run pub` - it'll build the package, publish it to npm and push changes to github
|
|
10
|
-
|
|
11
|
-
But during the time of development, another version could have been deployed, without your change only available in your Pull Request.
|
|
12
|
-
And you need to keep your branch updated with the `main` one.
|
|
13
|
-
In that case, follow these steps:
|
|
14
|
-
|
|
15
|
-
1. make sure your commons is up to date with main
|
|
16
|
-
2. create a branch out of main and make your changes or update the branch of the PR
|
|
17
|
-
3. bump the package version according to severity - that’s a bit tricky as that version may already be taken by a parallel work, so it’s worth checking other active branches or the npm itself
|
|
18
|
-
4. commit and push the branch
|
|
19
|
-
5. run `npm run pub` to publish the package
|
|
20
|
-
6. refer to the package in your branch in another repo
|
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>;
|
|
@@ -43,11 +44,10 @@ export interface WalletConfig {
|
|
|
43
44
|
logo: string;
|
|
44
45
|
suggestedDepositAmounts: number[];
|
|
45
46
|
theme: Record<string, string>;
|
|
47
|
+
aiPredictionsEnabled: boolean;
|
|
46
48
|
balanceDisplayed: boolean;
|
|
47
49
|
transactionToggleDisplayed: boolean;
|
|
48
50
|
kycDepositLimit: number | null;
|
|
49
|
-
autofillCreditCardName: boolean;
|
|
50
|
-
contactSupportLink: string;
|
|
51
51
|
}
|
|
52
52
|
export interface WalletConfigParams {
|
|
53
53
|
contentText: Record<string, ContentType>;
|
|
@@ -96,7 +96,6 @@ export interface InputField {
|
|
|
96
96
|
errorText: string;
|
|
97
97
|
options: InputFieldOption[];
|
|
98
98
|
optionsRequired: boolean;
|
|
99
|
-
prefillKey?: string;
|
|
100
99
|
}
|
|
101
100
|
export interface InputFieldOption {
|
|
102
101
|
label: string;
|
|
@@ -239,7 +238,6 @@ export declare enum KycStatus {
|
|
|
239
238
|
PROCESSING = "processing"
|
|
240
239
|
}
|
|
241
240
|
export interface UserData {
|
|
242
|
-
fullName?: string;
|
|
243
241
|
age?: number;
|
|
244
242
|
dayOfMonth?: number;
|
|
245
243
|
dayOfWeek?: string;
|
|
@@ -248,7 +246,7 @@ export interface UserData {
|
|
|
248
246
|
maximumDeposit?: number;
|
|
249
247
|
previousDeposit?: number;
|
|
250
248
|
timeOfDay?: string;
|
|
251
|
-
|
|
249
|
+
lifeTimeDeposit?: number;
|
|
252
250
|
kycStatus?: KycStatus;
|
|
253
251
|
}
|
|
254
252
|
export interface AiModelQueryParams {
|
package/package.json
CHANGED
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 {
|
|
@@ -49,11 +50,10 @@ export interface WalletConfig {
|
|
|
49
50
|
logo: string;
|
|
50
51
|
suggestedDepositAmounts: number[];
|
|
51
52
|
theme: Record<string, string>;
|
|
53
|
+
aiPredictionsEnabled: boolean;
|
|
52
54
|
balanceDisplayed: boolean;
|
|
53
55
|
transactionToggleDisplayed: boolean;
|
|
54
56
|
kycDepositLimit: number | null;
|
|
55
|
-
autofillCreditCardName: boolean;
|
|
56
|
-
contactSupportLink: string;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export interface WalletConfigParams {
|
|
@@ -109,7 +109,6 @@ export interface InputField {
|
|
|
109
109
|
errorText: string;
|
|
110
110
|
options: InputFieldOption[];
|
|
111
111
|
optionsRequired: boolean;
|
|
112
|
-
prefillKey?: string;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
export interface InputFieldOption {
|
|
@@ -274,7 +273,6 @@ export enum KycStatus {
|
|
|
274
273
|
}
|
|
275
274
|
|
|
276
275
|
export interface UserData {
|
|
277
|
-
fullName?: string;
|
|
278
276
|
age?: number;
|
|
279
277
|
dayOfMonth?: number;
|
|
280
278
|
dayOfWeek?: string;
|
|
@@ -283,7 +281,7 @@ export interface UserData {
|
|
|
283
281
|
maximumDeposit?: number;
|
|
284
282
|
previousDeposit?: number;
|
|
285
283
|
timeOfDay?: string;
|
|
286
|
-
|
|
284
|
+
lifeTimeDeposit?: number;
|
|
287
285
|
kycStatus?: KycStatus;
|
|
288
286
|
}
|
|
289
287
|
|