@soltech/fluid-common 0.4.39 → 0.4.40

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
@@ -184,7 +184,10 @@ export declare enum WithdrawalState {
184
184
  }
185
185
  export interface AvailableBonusWithPaymentMethods {
186
186
  code: string;
187
- paymentMethodFilter?: BonusPaymentMethod[];
187
+ paymentMethodFilter?: {
188
+ applyTo?: BonusPaymentMethod[];
189
+ excludeFrom?: BonusPaymentMethod[];
190
+ };
188
191
  }
189
192
  export interface BonusPaymentMethod {
190
193
  providerType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.39",
3
+ "version": "0.4.40",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -212,8 +212,11 @@ export enum WithdrawalState {
212
212
  }
213
213
 
214
214
  export interface AvailableBonusWithPaymentMethods {
215
- code: string;
216
- paymentMethodFilter?: BonusPaymentMethod[];
215
+ code: string;
216
+ paymentMethodFilter?: {
217
+ applyTo?: BonusPaymentMethod[];
218
+ excludeFrom?: BonusPaymentMethod[];
219
+ }
217
220
  }
218
221
 
219
222
  export interface BonusPaymentMethod {