@soltech/fluid-common 0.10.12 → 0.10.14
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 +6 -6
- package/package.json +1 -1
- package/src/index.ts +7 -7
package/lib/index.d.ts
CHANGED
|
@@ -53,7 +53,6 @@ export interface WalletConfig {
|
|
|
53
53
|
suggestedDepositAmounts: number[];
|
|
54
54
|
theme: Record<string, string>;
|
|
55
55
|
transactionToggleDisplayed: boolean;
|
|
56
|
-
transactionStatusCheck?: TransactionStatusCheck;
|
|
57
56
|
}
|
|
58
57
|
export interface Promotion {
|
|
59
58
|
title: string;
|
|
@@ -72,10 +71,6 @@ export interface DepositAmountsSettings {
|
|
|
72
71
|
defaultDepositAmount: number;
|
|
73
72
|
suggestedDepositAmounts: number[];
|
|
74
73
|
}
|
|
75
|
-
export interface TransactionStatusCheck {
|
|
76
|
-
url: string;
|
|
77
|
-
intervalSeconds: number;
|
|
78
|
-
}
|
|
79
74
|
export interface AllPaymentMethods {
|
|
80
75
|
recentPaymentMethods: RecentMethod[];
|
|
81
76
|
paymentMethods: PaymentMethod[];
|
|
@@ -195,12 +190,17 @@ export interface TransactionOptions {
|
|
|
195
190
|
}
|
|
196
191
|
export interface TransactionResult {
|
|
197
192
|
error?: ProviderTransactionError;
|
|
198
|
-
pollForTransactionStatusEnabled?: boolean;
|
|
199
193
|
redirectOutput?: RedirectOutput;
|
|
200
194
|
state: TransactionState;
|
|
201
195
|
statusCode: string;
|
|
202
196
|
suggestedAmounts?: DepositAmountsSettings;
|
|
203
197
|
transactionId: string;
|
|
198
|
+
transactionStatusCheck?: TransactionStatusCheck;
|
|
199
|
+
}
|
|
200
|
+
export interface TransactionStatusCheck {
|
|
201
|
+
paymentProviderId: string;
|
|
202
|
+
url: string;
|
|
203
|
+
intervalSeconds: number;
|
|
204
204
|
}
|
|
205
205
|
export interface RedirectOutput {
|
|
206
206
|
container: RedirectContainer;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -59,7 +59,6 @@ export interface WalletConfig {
|
|
|
59
59
|
suggestedDepositAmounts: number[];
|
|
60
60
|
theme: Record<string, string>;
|
|
61
61
|
transactionToggleDisplayed: boolean;
|
|
62
|
-
transactionStatusCheck?: TransactionStatusCheck;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
export interface Promotion {
|
|
@@ -82,11 +81,6 @@ export interface DepositAmountsSettings {
|
|
|
82
81
|
suggestedDepositAmounts: number[];
|
|
83
82
|
}
|
|
84
83
|
|
|
85
|
-
export interface TransactionStatusCheck {
|
|
86
|
-
url: string;
|
|
87
|
-
intervalSeconds: number;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
84
|
export interface AllPaymentMethods {
|
|
91
85
|
recentPaymentMethods: RecentMethod[];
|
|
92
86
|
paymentMethods: PaymentMethod[];
|
|
@@ -221,12 +215,18 @@ export interface TransactionOptions {
|
|
|
221
215
|
|
|
222
216
|
export interface TransactionResult {
|
|
223
217
|
error?: ProviderTransactionError;
|
|
224
|
-
pollForTransactionStatusEnabled?: boolean;
|
|
225
218
|
redirectOutput?: RedirectOutput;
|
|
226
219
|
state: TransactionState;
|
|
227
220
|
statusCode: string;
|
|
228
221
|
suggestedAmounts?: DepositAmountsSettings;
|
|
229
222
|
transactionId: string;
|
|
223
|
+
transactionStatusCheck?: TransactionStatusCheck;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export interface TransactionStatusCheck {
|
|
227
|
+
paymentProviderId: string;
|
|
228
|
+
url: string;
|
|
229
|
+
intervalSeconds: number;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
export interface RedirectOutput {
|