@soltech/fluid-common 1.0.7 → 1.0.8
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 +4 -6
- package/lib/index.js +0 -6
- package/package.json +1 -1
- package/src/index.ts +4 -7
package/lib/index.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ export interface WalletConfig {
|
|
|
61
61
|
suggestedDepositAmounts: number[];
|
|
62
62
|
theme: Record<string, string>;
|
|
63
63
|
transactionToggleDisplayed: boolean;
|
|
64
|
+
pendingWithdrawalsReminder: {
|
|
65
|
+
userResponseRequired: boolean;
|
|
66
|
+
threshold: number;
|
|
67
|
+
};
|
|
64
68
|
}
|
|
65
69
|
export interface Promotion {
|
|
66
70
|
title: string;
|
|
@@ -113,12 +117,6 @@ export interface PaymentMethod {
|
|
|
113
117
|
withdrawalHandledByHostSite?: boolean;
|
|
114
118
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
115
119
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
116
|
-
encryptionType?: EncryptionType;
|
|
117
|
-
}
|
|
118
|
-
export declare enum EncryptionType {
|
|
119
|
-
RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
|
|
120
|
-
RSA_OAEP = "RSA_OAEP",// RSA with OAEP padding (crypto/Web Crypto)
|
|
121
|
-
SHA384_SIGNATURE = "SHA384_SIGNATURE"
|
|
122
120
|
}
|
|
123
121
|
export type PaymentMethodFees = {
|
|
124
122
|
fixed?: number;
|
package/lib/index.js
CHANGED
|
@@ -24,12 +24,6 @@ export var PaymentType;
|
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
26
|
})(PaymentType || (PaymentType = {}));
|
|
27
|
-
export var EncryptionType;
|
|
28
|
-
(function (EncryptionType) {
|
|
29
|
-
EncryptionType["RSA_PKCS1"] = "RSA_PKCS1";
|
|
30
|
-
EncryptionType["RSA_OAEP"] = "RSA_OAEP";
|
|
31
|
-
EncryptionType["SHA384_SIGNATURE"] = "SHA384_SIGNATURE"; // SHA-384-based signature (headers)
|
|
32
|
-
})(EncryptionType || (EncryptionType = {}));
|
|
33
27
|
export var RecentMethodMaskedAccountFormat;
|
|
34
28
|
(function (RecentMethodMaskedAccountFormat) {
|
|
35
29
|
RecentMethodMaskedAccountFormat["DEFAULT"] = "Default";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -68,6 +68,10 @@ export interface WalletConfig {
|
|
|
68
68
|
suggestedDepositAmounts: number[];
|
|
69
69
|
theme: Record<string, string>;
|
|
70
70
|
transactionToggleDisplayed: boolean;
|
|
71
|
+
pendingWithdrawalsReminder: {
|
|
72
|
+
userResponseRequired: boolean;
|
|
73
|
+
threshold: number;
|
|
74
|
+
}
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
export interface Promotion {
|
|
@@ -127,13 +131,6 @@ export interface PaymentMethod {
|
|
|
127
131
|
withdrawalHandledByHostSite?: boolean;
|
|
128
132
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
129
133
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
130
|
-
encryptionType?: EncryptionType;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export enum EncryptionType {
|
|
134
|
-
RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)
|
|
135
|
-
RSA_OAEP = 'RSA_OAEP', // RSA with OAEP padding (crypto/Web Crypto)
|
|
136
|
-
SHA384_SIGNATURE = 'SHA384_SIGNATURE' // SHA-384-based signature (headers)
|
|
137
134
|
}
|
|
138
135
|
|
|
139
136
|
export type PaymentMethodFees = {
|