@soltech/fluid-common 0.4.7 → 0.4.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 CHANGED
@@ -121,7 +121,9 @@ export interface BankTransferTransactionParams extends TransactionParams {
121
121
  nationalId?: string;
122
122
  }
123
123
  export interface CryptoTransactionParams extends TransactionParams {
124
- cryptoCurrency: string;
124
+ cryptoCurrency?: string;
125
+ destinationTag?: string;
126
+ walletAddress?: string;
125
127
  }
126
128
  export interface EWalletTransactionParams extends TransactionParams {
127
129
  customerNumber?: string;
@@ -176,3 +178,11 @@ export declare enum WithdrawalState {
176
178
  REQUESTED = "REQUESTED",
177
179
  PROCESSING = "PROCESSING"
178
180
  }
181
+ export interface AvailableBonusWithPaymentMethods {
182
+ code: string;
183
+ paymentMethods: BonusPaymentMethod[];
184
+ }
185
+ export interface BonusPaymentMethod {
186
+ providerType: string;
187
+ service?: string;
188
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -140,7 +140,9 @@ export interface BankTransferTransactionParams extends TransactionParams {
140
140
  }
141
141
 
142
142
  export interface CryptoTransactionParams extends TransactionParams {
143
- cryptoCurrency: string;
143
+ cryptoCurrency?: string;
144
+ destinationTag?: string;
145
+ walletAddress?: string;
144
146
  }
145
147
 
146
148
  export interface EWalletTransactionParams extends TransactionParams {
@@ -204,3 +206,13 @@ export enum WithdrawalState {
204
206
  REQUESTED = 'REQUESTED',
205
207
  PROCESSING = 'PROCESSING'
206
208
  }
209
+
210
+ export interface AvailableBonusWithPaymentMethods {
211
+ code: string;
212
+ paymentMethods: BonusPaymentMethod[];
213
+ }
214
+
215
+ export interface BonusPaymentMethod {
216
+ providerType: string;
217
+ service?: string;
218
+ }