@soltech/fluid-common 1.3.5 → 1.3.6

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/AGENTS.md CHANGED
@@ -3,6 +3,7 @@
3
3
  Read this entire file before every task.
4
4
 
5
5
  ## Agent Rules & Safety
6
+ - Never edit any files when the current git branch is `main` — always work on a feature branch. Run `git branch --show-current` to confirm before making any changes.
6
7
  - Never touch `.env*`, `certs/` or any file containing secrets/credentials.
7
8
  - Never introduce new dependencies without asking first.
8
9
  - Never rewrite large parts of the codebase unless explicitly requested.
package/lib/index.d.ts CHANGED
@@ -115,6 +115,7 @@ export interface PaymentMethod {
115
115
  instructions?: string;
116
116
  fees?: PaymentMethodFees;
117
117
  popupWindowRedirect: boolean;
118
+ windowRedirect: boolean;
118
119
  voucherAmounts?: number[];
119
120
  depositHandledByHostSite?: boolean;
120
121
  withdrawalHandledByHostSite?: boolean;
@@ -263,8 +264,7 @@ export declare enum TransactionState {
263
264
  PROCESSING = "PROCESSING",
264
265
  WAITING_APPROVAL = "WAITING_APPROVAL",
265
266
  WAITING_INPUT = "WAITING_INPUT",
266
- CANCELLED = "CANCELLED",
267
- BLACKLISTED = "BLACKLISTED"
267
+ CANCELLED = "CANCELLED"
268
268
  }
269
269
  export interface ProviderTransactionError {
270
270
  action: Action;
@@ -320,23 +320,21 @@ export declare enum KycStatus {
320
320
  PROCESSING = "processing"
321
321
  }
322
322
  export interface UserData {
323
- affiliateId?: string;
323
+ fullName?: string;
324
324
  age?: number;
325
- email?: string;
326
325
  dayOfMonth?: number;
327
326
  dayOfWeek?: string;
328
327
  depositLimit?: number;
329
- fullName?: string;
328
+ minimumDeposit?: number;
329
+ maximumDeposit?: number;
330
+ previousDeposit?: number;
331
+ timeOfDay?: string;
332
+ lifetimeDeposit?: number;
330
333
  depositCount?: number;
331
334
  daysSinceRegistration?: number;
332
335
  kycStatus?: KycStatus;
333
- lifetimeDeposit?: number;
334
- maximumDeposit?: number;
335
- minimumDeposit?: number;
336
- phoneNumber?: string;
337
- previousDeposit?: number;
336
+ affiliateId?: string;
338
337
  tags?: string[];
339
- timeOfDay?: string;
340
338
  }
341
339
  export interface TrackingEventData {
342
340
  id: string;
package/lib/index.js CHANGED
@@ -52,7 +52,6 @@ export var TransactionState;
52
52
  TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
53
53
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
54
54
  TransactionState["CANCELLED"] = "CANCELLED";
55
- TransactionState["BLACKLISTED"] = "BLACKLISTED";
56
55
  })(TransactionState || (TransactionState = {}));
57
56
  export var HttpVerb;
58
57
  (function (HttpVerb) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
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
@@ -129,6 +129,7 @@ export interface PaymentMethod {
129
129
  instructions?: string;
130
130
  fees?: PaymentMethodFees;
131
131
  popupWindowRedirect: boolean;
132
+ windowRedirect: boolean;
132
133
  voucherAmounts?: number[];
133
134
  depositHandledByHostSite?: boolean;
134
135
  withdrawalHandledByHostSite?: boolean;
@@ -296,8 +297,7 @@ export enum TransactionState {
296
297
  PROCESSING = 'PROCESSING',
297
298
  WAITING_APPROVAL = 'WAITING_APPROVAL',
298
299
  WAITING_INPUT = 'WAITING_INPUT',
299
- CANCELLED = 'CANCELLED',
300
- BLACKLISTED = 'BLACKLISTED'
300
+ CANCELLED = 'CANCELLED'
301
301
  }
302
302
 
303
303
  export interface ProviderTransactionError {
@@ -363,23 +363,21 @@ export enum KycStatus {
363
363
  }
364
364
 
365
365
  export interface UserData {
366
- affiliateId?: string;
366
+ fullName?: string;
367
367
  age?: number;
368
- email?: string;
369
368
  dayOfMonth?: number;
370
369
  dayOfWeek?: string;
371
370
  depositLimit?: number;
372
- fullName?: string;
371
+ minimumDeposit?: number;
372
+ maximumDeposit?: number;
373
+ previousDeposit?: number;
374
+ timeOfDay?: string;
375
+ lifetimeDeposit?: number;
373
376
  depositCount?: number;
374
377
  daysSinceRegistration?: number;
375
378
  kycStatus?: KycStatus;
376
- lifetimeDeposit?: number;
377
- maximumDeposit?: number;
378
- minimumDeposit?: number;
379
- phoneNumber?: string;
380
- previousDeposit?: number;
379
+ affiliateId?: string;
381
380
  tags?: string[];
382
- timeOfDay?: string;
383
381
  }
384
382
 
385
383
  export interface TrackingEventData {