@soltech/fluid-common 0.9.5 → 0.9.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/lib/index.d.ts +7 -2
- package/lib/index.js +7 -0
- package/package.json +1 -1
- package/src/index.ts +8 -2
package/lib/index.d.ts
CHANGED
|
@@ -58,9 +58,7 @@ export interface WalletConfigParams {
|
|
|
58
58
|
theme: Record<string, TraitType>;
|
|
59
59
|
}
|
|
60
60
|
export interface DepositAmountsSettings {
|
|
61
|
-
aiCreationDate?: string;
|
|
62
61
|
defaultDepositAmount: number;
|
|
63
|
-
generatedBy?: string;
|
|
64
62
|
suggestedDepositAmounts: number[];
|
|
65
63
|
}
|
|
66
64
|
export interface AllPaymentMethods {
|
|
@@ -111,11 +109,18 @@ export interface InputFieldOption {
|
|
|
111
109
|
label: string;
|
|
112
110
|
code: string;
|
|
113
111
|
}
|
|
112
|
+
export declare enum RecentMethodMaskedAccountFormat {
|
|
113
|
+
DEFAULT = "Default",
|
|
114
|
+
LAST_8_DIGITS = "Last8Digits",
|
|
115
|
+
FULL_VALUE = "FullValue",
|
|
116
|
+
NOTHING = "Nothing"
|
|
117
|
+
}
|
|
114
118
|
export interface RecentMethod extends PaymentMethod {
|
|
115
119
|
accountId: string;
|
|
116
120
|
maskedAccount: string;
|
|
117
121
|
lastSuccess: string;
|
|
118
122
|
expiryDate: string;
|
|
123
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
119
124
|
}
|
|
120
125
|
export interface TransactionParams {
|
|
121
126
|
accountId?: string;
|
package/lib/index.js
CHANGED
|
@@ -24,6 +24,13 @@ export var PaymentType;
|
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
26
|
})(PaymentType || (PaymentType = {}));
|
|
27
|
+
export var RecentMethodMaskedAccountFormat;
|
|
28
|
+
(function (RecentMethodMaskedAccountFormat) {
|
|
29
|
+
RecentMethodMaskedAccountFormat["DEFAULT"] = "Default";
|
|
30
|
+
RecentMethodMaskedAccountFormat["LAST_8_DIGITS"] = "Last8Digits";
|
|
31
|
+
RecentMethodMaskedAccountFormat["FULL_VALUE"] = "FullValue";
|
|
32
|
+
RecentMethodMaskedAccountFormat["NOTHING"] = "Nothing";
|
|
33
|
+
})(RecentMethodMaskedAccountFormat || (RecentMethodMaskedAccountFormat = {}));
|
|
27
34
|
export var TransactionState;
|
|
28
35
|
(function (TransactionState) {
|
|
29
36
|
TransactionState["SUCCESS"] = "SUCCESS";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -66,9 +66,7 @@ export interface WalletConfigParams {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export interface DepositAmountsSettings {
|
|
69
|
-
aiCreationDate?: string;
|
|
70
69
|
defaultDepositAmount: number;
|
|
71
|
-
generatedBy?: string;
|
|
72
70
|
suggestedDepositAmounts: number[];
|
|
73
71
|
}
|
|
74
72
|
|
|
@@ -127,11 +125,19 @@ export interface InputFieldOption {
|
|
|
127
125
|
code: string;
|
|
128
126
|
}
|
|
129
127
|
|
|
128
|
+
export enum RecentMethodMaskedAccountFormat {
|
|
129
|
+
DEFAULT = 'Default',
|
|
130
|
+
LAST_8_DIGITS = 'Last8Digits',
|
|
131
|
+
FULL_VALUE = 'FullValue',
|
|
132
|
+
NOTHING = 'Nothing'
|
|
133
|
+
}
|
|
134
|
+
|
|
130
135
|
export interface RecentMethod extends PaymentMethod {
|
|
131
136
|
accountId: string;
|
|
132
137
|
maskedAccount: string;
|
|
133
138
|
lastSuccess: string;
|
|
134
139
|
expiryDate: string;
|
|
140
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
135
141
|
}
|
|
136
142
|
|
|
137
143
|
export interface TransactionParams {
|