@soltech/fluid-common 0.9.21 → 0.9.22
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 +11 -1
- package/package.json +1 -1
- package/src/index.ts +12 -1
package/lib/index.d.ts
CHANGED
|
@@ -47,10 +47,21 @@ export interface WalletConfig {
|
|
|
47
47
|
kycDepositLimit: number | null;
|
|
48
48
|
logo: string;
|
|
49
49
|
numberCharactersHolderName: number | null;
|
|
50
|
+
successScreen: {
|
|
51
|
+
promotion: Promotion | null;
|
|
52
|
+
};
|
|
50
53
|
suggestedDepositAmounts: number[];
|
|
51
54
|
theme: Record<string, string>;
|
|
52
55
|
transactionToggleDisplayed: boolean;
|
|
53
56
|
}
|
|
57
|
+
export interface Promotion {
|
|
58
|
+
title: string;
|
|
59
|
+
description: string;
|
|
60
|
+
tag: string;
|
|
61
|
+
ctaLinkLabel: string;
|
|
62
|
+
ctaLinkUrl: string;
|
|
63
|
+
thumbnail: string;
|
|
64
|
+
}
|
|
54
65
|
export interface WalletConfigParams {
|
|
55
66
|
contentText: Record<string, ContentType>;
|
|
56
67
|
theme: Record<string, TraitType>;
|
|
@@ -210,7 +221,6 @@ export interface ProviderTransactionError {
|
|
|
210
221
|
providerCode: string;
|
|
211
222
|
text: string;
|
|
212
223
|
textTitle: string;
|
|
213
|
-
iconSelection: string;
|
|
214
224
|
}
|
|
215
225
|
export declare enum HttpVerb {
|
|
216
226
|
DELETE = "DELETE",
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -53,11 +53,23 @@ export interface WalletConfig {
|
|
|
53
53
|
kycDepositLimit: number | null;
|
|
54
54
|
logo: string;
|
|
55
55
|
numberCharactersHolderName: number | null;
|
|
56
|
+
successScreen: {
|
|
57
|
+
promotion: Promotion | null;
|
|
58
|
+
};
|
|
56
59
|
suggestedDepositAmounts: number[];
|
|
57
60
|
theme: Record<string, string>;
|
|
58
61
|
transactionToggleDisplayed: boolean;
|
|
59
62
|
}
|
|
60
63
|
|
|
64
|
+
export interface Promotion {
|
|
65
|
+
title: string;
|
|
66
|
+
description: string;
|
|
67
|
+
tag: string;
|
|
68
|
+
ctaLinkLabel: string;
|
|
69
|
+
ctaLinkUrl: string;
|
|
70
|
+
thumbnail: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
61
73
|
export interface WalletConfigParams {
|
|
62
74
|
contentText: Record<string, ContentType>,
|
|
63
75
|
theme: Record<string, TraitType>
|
|
@@ -238,7 +250,6 @@ export interface ProviderTransactionError {
|
|
|
238
250
|
providerCode: string;
|
|
239
251
|
text: string;
|
|
240
252
|
textTitle: string;
|
|
241
|
-
iconSelection: string;
|
|
242
253
|
}
|
|
243
254
|
|
|
244
255
|
export enum HttpVerb {
|