@soltech/fluid-common 1.4.0 → 1.4.2
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/.claude/settings.local.json +7 -0
- package/AGENTS.md +0 -1
- package/lib/index.d.ts +2 -6
- package/lib/index.js +0 -6
- package/package.json +1 -1
- package/src/index.ts +2 -7
package/AGENTS.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
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.
|
|
7
6
|
- Never touch `.env*`, `certs/` or any file containing secrets/credentials.
|
|
8
7
|
- Never introduce new dependencies without asking first.
|
|
9
8
|
- Never rewrite large parts of the codebase unless explicitly requested.
|
package/lib/index.d.ts
CHANGED
|
@@ -20,11 +20,6 @@ export declare enum PaymentType {
|
|
|
20
20
|
CRYPTO = "Crypto",
|
|
21
21
|
EWALLET = "EWallet"
|
|
22
22
|
}
|
|
23
|
-
export declare enum WindowRedirectType {
|
|
24
|
-
POPUP_WINDOW = "popupWindow",
|
|
25
|
-
BROWSER_TAB = "browserTab",
|
|
26
|
-
NONE = "none"
|
|
27
|
-
}
|
|
28
23
|
export interface WalletRequestBody {
|
|
29
24
|
payload?: object | string;
|
|
30
25
|
payloadOptions?: TransactionOptions;
|
|
@@ -73,6 +68,7 @@ export interface WalletConfig {
|
|
|
73
68
|
};
|
|
74
69
|
withdrawalInFiatCurrency: boolean;
|
|
75
70
|
banner?: Banner;
|
|
71
|
+
manualBonusCodesEnabled: boolean;
|
|
76
72
|
}
|
|
77
73
|
export interface Promotion {
|
|
78
74
|
title: string;
|
|
@@ -119,7 +115,7 @@ export interface PaymentMethod {
|
|
|
119
115
|
bonusCodes?: string[];
|
|
120
116
|
instructions?: string;
|
|
121
117
|
fees?: PaymentMethodFees;
|
|
122
|
-
|
|
118
|
+
popupWindowRedirect: boolean;
|
|
123
119
|
voucherAmounts?: number[];
|
|
124
120
|
depositHandledByHostSite?: boolean;
|
|
125
121
|
withdrawalHandledByHostSite?: boolean;
|
package/lib/index.js
CHANGED
|
@@ -24,12 +24,6 @@ export var PaymentType;
|
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
26
|
})(PaymentType || (PaymentType = {}));
|
|
27
|
-
export var WindowRedirectType;
|
|
28
|
-
(function (WindowRedirectType) {
|
|
29
|
-
WindowRedirectType["POPUP_WINDOW"] = "popupWindow";
|
|
30
|
-
WindowRedirectType["BROWSER_TAB"] = "browserTab";
|
|
31
|
-
WindowRedirectType["NONE"] = "none";
|
|
32
|
-
})(WindowRedirectType || (WindowRedirectType = {}));
|
|
33
27
|
export var EncryptionType;
|
|
34
28
|
(function (EncryptionType) {
|
|
35
29
|
EncryptionType["NO_ENCRYPTION"] = "NO_ENCRYPTION";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -24,12 +24,6 @@ export enum PaymentType {
|
|
|
24
24
|
EWALLET = 'EWallet'
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export enum WindowRedirectType {
|
|
28
|
-
POPUP_WINDOW = 'popupWindow',
|
|
29
|
-
BROWSER_TAB = 'browserTab',
|
|
30
|
-
NONE = 'none'
|
|
31
|
-
}
|
|
32
|
-
|
|
33
27
|
export interface WalletRequestBody {
|
|
34
28
|
payload?: object | string;
|
|
35
29
|
payloadOptions?: TransactionOptions;
|
|
@@ -81,6 +75,7 @@ export interface WalletConfig {
|
|
|
81
75
|
},
|
|
82
76
|
withdrawalInFiatCurrency: boolean;
|
|
83
77
|
banner?: Banner;
|
|
78
|
+
manualBonusCodesEnabled: boolean;
|
|
84
79
|
}
|
|
85
80
|
|
|
86
81
|
export interface Promotion {
|
|
@@ -134,7 +129,7 @@ export interface PaymentMethod {
|
|
|
134
129
|
bonusCodes?: string[];
|
|
135
130
|
instructions?: string;
|
|
136
131
|
fees?: PaymentMethodFees;
|
|
137
|
-
|
|
132
|
+
popupWindowRedirect: boolean;
|
|
138
133
|
voucherAmounts?: number[];
|
|
139
134
|
depositHandledByHostSite?: boolean;
|
|
140
135
|
withdrawalHandledByHostSite?: boolean;
|