@soltech/fluid-common 1.0.7 → 1.0.9
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 -7
- package/lib/index.js +1 -6
- package/package.json +1 -1
- package/src/index.ts +2 -8
package/lib/index.d.ts
CHANGED
|
@@ -113,12 +113,6 @@ export interface PaymentMethod {
|
|
|
113
113
|
withdrawalHandledByHostSite?: boolean;
|
|
114
114
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
115
115
|
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
116
|
}
|
|
123
117
|
export type PaymentMethodFees = {
|
|
124
118
|
fixed?: number;
|
|
@@ -263,7 +257,8 @@ export declare enum Action {
|
|
|
263
257
|
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
|
264
258
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
|
|
265
259
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
|
|
266
|
-
SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
|
|
260
|
+
SHOW_CVC_EDIT = "SHOW_CVC_EDIT",
|
|
261
|
+
DISMISS = "DISMISS"
|
|
267
262
|
}
|
|
268
263
|
export interface PendingWithdrawal {
|
|
269
264
|
amount: string;
|
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";
|
|
@@ -60,6 +54,7 @@ export var Action;
|
|
|
60
54
|
Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
|
|
61
55
|
Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
|
|
62
56
|
Action["SHOW_CVC_EDIT"] = "SHOW_CVC_EDIT";
|
|
57
|
+
Action["DISMISS"] = "DISMISS";
|
|
63
58
|
})(Action || (Action = {}));
|
|
64
59
|
export var WithdrawalState;
|
|
65
60
|
(function (WithdrawalState) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -127,13 +127,6 @@ export interface PaymentMethod {
|
|
|
127
127
|
withdrawalHandledByHostSite?: boolean;
|
|
128
128
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
129
129
|
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
130
|
}
|
|
138
131
|
|
|
139
132
|
export type PaymentMethodFees = {
|
|
@@ -297,7 +290,8 @@ export enum Action {
|
|
|
297
290
|
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|
|
298
291
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
|
|
299
292
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
|
|
300
|
-
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT'
|
|
293
|
+
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
|
|
294
|
+
DISMISS = 'DISMISS'
|
|
301
295
|
}
|
|
302
296
|
|
|
303
297
|
export interface PendingWithdrawal {
|