@soltech/fluid-common 1.0.11 → 1.0.12
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 +2 -8
- package/lib/index.js +1 -7
- package/package.json +1 -1
- package/src/index.ts +2 -9
package/lib/index.d.ts
CHANGED
|
@@ -117,13 +117,6 @@ export interface PaymentMethod {
|
|
|
117
117
|
withdrawalHandledByHostSite?: boolean;
|
|
118
118
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
119
119
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
120
|
-
encryptionType?: EncryptionType;
|
|
121
|
-
}
|
|
122
|
-
export declare enum EncryptionType {
|
|
123
|
-
NO_ENCRYPTION = "NO_ENCRYPTION",
|
|
124
|
-
RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
|
|
125
|
-
RSA_OAEP = "RSA_OAEP",// RSA with OAEP padding (crypto/Web Crypto)
|
|
126
|
-
SHA384_SIGNATURE = "SHA384_SIGNATURE"
|
|
127
120
|
}
|
|
128
121
|
export type PaymentMethodFees = {
|
|
129
122
|
fixed?: number;
|
|
@@ -268,7 +261,8 @@ export declare enum Action {
|
|
|
268
261
|
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
|
269
262
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
|
|
270
263
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
|
|
271
|
-
SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
|
|
264
|
+
SHOW_CVC_EDIT = "SHOW_CVC_EDIT",
|
|
265
|
+
DISMISS = "DISMISS"
|
|
272
266
|
}
|
|
273
267
|
export interface PendingWithdrawal {
|
|
274
268
|
amount: string;
|
package/lib/index.js
CHANGED
|
@@ -24,13 +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["NO_ENCRYPTION"] = "NO_ENCRYPTION";
|
|
30
|
-
EncryptionType["RSA_PKCS1"] = "RSA_PKCS1";
|
|
31
|
-
EncryptionType["RSA_OAEP"] = "RSA_OAEP";
|
|
32
|
-
EncryptionType["SHA384_SIGNATURE"] = "SHA384_SIGNATURE"; // SHA-384-based signature (headers)
|
|
33
|
-
})(EncryptionType || (EncryptionType = {}));
|
|
34
27
|
export var RecentMethodMaskedAccountFormat;
|
|
35
28
|
(function (RecentMethodMaskedAccountFormat) {
|
|
36
29
|
RecentMethodMaskedAccountFormat["DEFAULT"] = "Default";
|
|
@@ -61,6 +54,7 @@ export var Action;
|
|
|
61
54
|
Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
|
|
62
55
|
Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
|
|
63
56
|
Action["SHOW_CVC_EDIT"] = "SHOW_CVC_EDIT";
|
|
57
|
+
Action["DISMISS"] = "DISMISS";
|
|
64
58
|
})(Action || (Action = {}));
|
|
65
59
|
export var WithdrawalState;
|
|
66
60
|
(function (WithdrawalState) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -131,14 +131,6 @@ export interface PaymentMethod {
|
|
|
131
131
|
withdrawalHandledByHostSite?: boolean;
|
|
132
132
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
133
133
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
134
|
-
encryptionType?: EncryptionType;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export enum EncryptionType {
|
|
138
|
-
NO_ENCRYPTION = 'NO_ENCRYPTION',
|
|
139
|
-
RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)
|
|
140
|
-
RSA_OAEP = 'RSA_OAEP', // RSA with OAEP padding (crypto/Web Crypto)
|
|
141
|
-
SHA384_SIGNATURE = 'SHA384_SIGNATURE' // SHA-384-based signature (headers)
|
|
142
134
|
}
|
|
143
135
|
|
|
144
136
|
export type PaymentMethodFees = {
|
|
@@ -302,7 +294,8 @@ export enum Action {
|
|
|
302
294
|
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|
|
303
295
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
|
|
304
296
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
|
|
305
|
-
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT'
|
|
297
|
+
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
|
|
298
|
+
DISMISS = 'DISMISS'
|
|
306
299
|
}
|
|
307
300
|
|
|
308
301
|
export interface PendingWithdrawal {
|