@medievalrain/binance-ts 0.17.2 → 0.17.4
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/dist/index.mjs +2 -4
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -120,10 +120,8 @@ var BaseRestClient = class {
|
|
|
120
120
|
toSearchParams(rawParams) {
|
|
121
121
|
const searchParams = new URLSearchParams();
|
|
122
122
|
if (!rawParams) return searchParams;
|
|
123
|
-
for (const [key, value] of Object.entries(rawParams))
|
|
124
|
-
|
|
125
|
-
if (value !== void 0 && value !== null) searchParams.append(key, String(value));
|
|
126
|
-
}
|
|
123
|
+
for (const [key, value] of Object.entries(rawParams)) if (Array.isArray(value)) searchParams.append(key, JSON.stringify(value));
|
|
124
|
+
else if (value != null) searchParams.append(key, String(value));
|
|
127
125
|
return searchParams;
|
|
128
126
|
}
|
|
129
127
|
parseErrorResponse(endpoint, statusCode, json) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medievalrain/binance-ts",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.4",
|
|
4
4
|
"description": "Binance API SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"typecheck": "tsgo"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@medievalrain/emitter": "0.8.
|
|
35
|
+
"@medievalrain/emitter": "0.8.11"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "25.0.3",
|
|
39
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
39
|
+
"@typescript/native-preview": "7.0.0-dev.20251229.1",
|
|
40
40
|
"dotenv": "17.2.3",
|
|
41
|
-
"oxfmt": "0.
|
|
42
|
-
"oxlint": "1.
|
|
41
|
+
"oxfmt": "0.21.0",
|
|
42
|
+
"oxlint": "1.36.0",
|
|
43
43
|
"oxlint-tsgolint": "0.10.0",
|
|
44
44
|
"ts-to-zod": "5.1.0",
|
|
45
45
|
"tsdown": "0.18.3",
|