@soltech/fluid-common 0.4.9 → 0.4.11

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
@@ -62,6 +62,7 @@ export interface PaymentMethod {
62
62
  paymentType: PaymentType;
63
63
  providerType: string;
64
64
  inputFields?: InputField[];
65
+ bonusCodes?: string[];
65
66
  }
66
67
  export interface PaymentMethodLogo {
67
68
  height: number;
@@ -180,7 +181,7 @@ export declare enum WithdrawalState {
180
181
  }
181
182
  export interface AvailableBonusWithPaymentMethods {
182
183
  code: string;
183
- paymentMethods: BonusPaymentMethod[];
184
+ paymentMethodFilter?: BonusPaymentMethod[];
184
185
  }
185
186
  export interface BonusPaymentMethod {
186
187
  providerType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.9",
3
+ "version": "0.4.11",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -73,6 +73,7 @@ export interface PaymentMethod {
73
73
  paymentType: PaymentType;
74
74
  providerType: string;
75
75
  inputFields?: InputField[];
76
+ bonusCodes?: string[];
76
77
  }
77
78
 
78
79
  export interface PaymentMethodLogo {
@@ -209,7 +210,7 @@ export enum WithdrawalState {
209
210
 
210
211
  export interface AvailableBonusWithPaymentMethods {
211
212
  code: string;
212
- paymentMethods: BonusPaymentMethod[];
213
+ paymentMethodFilter?: BonusPaymentMethod[];
213
214
  }
214
215
 
215
216
  export interface BonusPaymentMethod {