@soltech/fluid-common 1.0.10 → 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 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,13 +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
- NO_ENCRYPTION = "NO_ENCRYPTION",
120
- RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
121
- RSA_OAEP = "RSA_OAEP",// RSA with OAEP padding (crypto/Web Crypto)
122
- SHA384_SIGNATURE = "SHA384_SIGNATURE"
123
120
  }
124
121
  export type PaymentMethodFees = {
125
122
  fixed?: number;
@@ -264,7 +261,8 @@ export declare enum Action {
264
261
  RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
265
262
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
266
263
  SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
267
- SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
264
+ SHOW_CVC_EDIT = "SHOW_CVC_EDIT",
265
+ DISMISS = "DISMISS"
268
266
  }
269
267
  export interface PendingWithdrawal {
270
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
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,14 +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
- NO_ENCRYPTION = 'NO_ENCRYPTION',
135
- RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)
136
- RSA_OAEP = 'RSA_OAEP', // RSA with OAEP padding (crypto/Web Crypto)
137
- SHA384_SIGNATURE = 'SHA384_SIGNATURE' // SHA-384-based signature (headers)
138
134
  }
139
135
 
140
136
  export type PaymentMethodFees = {
@@ -298,7 +294,8 @@ export enum Action {
298
294
  RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
299
295
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
300
296
  SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
301
- SHOW_CVC_EDIT = 'SHOW_CVC_EDIT'
297
+ SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
298
+ DISMISS = 'DISMISS'
302
299
  }
303
300
 
304
301
  export interface PendingWithdrawal {