okx-api 3.2.0 → 3.2.1
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.
|
@@ -27,7 +27,7 @@ export interface WSClientConfigurableOptions {
|
|
|
27
27
|
wsOptions?: {
|
|
28
28
|
protocols?: string[];
|
|
29
29
|
agent?: any;
|
|
30
|
-
} & Partial<WebSocket.ClientOptions | ClientRequestArgs
|
|
30
|
+
} & (Omit<Partial<WebSocket.ClientOptions>, 'agent'> | Omit<Partial<ClientRequestArgs>, 'agent'>);
|
|
31
31
|
wsUrl?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Allows you to provide a custom "signMessage" function, e.g. to use node's much faster createHmac method
|
|
@@ -27,7 +27,7 @@ export interface WSClientConfigurableOptions {
|
|
|
27
27
|
wsOptions?: {
|
|
28
28
|
protocols?: string[];
|
|
29
29
|
agent?: any;
|
|
30
|
-
} & Partial<WebSocket.ClientOptions | ClientRequestArgs
|
|
30
|
+
} & (Omit<Partial<WebSocket.ClientOptions>, 'agent'> | Omit<Partial<ClientRequestArgs>, 'agent'>);
|
|
31
31
|
wsUrl?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Allows you to provide a custom "signMessage" function, e.g. to use node's much faster createHmac method
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "okx-api",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Complete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"author": "Tiago Siebler (https://siebly.io)",
|
|
35
35
|
"contributors": [],
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"@types/ws": "^8.18.1",
|
|
37
38
|
"axios": "^1.13.2",
|
|
38
39
|
"isomorphic-ws": "^5.0.0",
|
|
39
|
-
"ws": "
|
|
40
|
+
"ws": "8.21.1"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@types/jest": "^29.5.11",
|
|
43
44
|
"@types/node": "^22.17.2",
|
|
44
|
-
"@types/ws": "^8.18.1",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
46
46
|
"@typescript-eslint/parser": "^8.18.0",
|
|
47
47
|
"eslint": "^8.24.0",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"source-map-loader": "^4.0.0",
|
|
57
57
|
"ts-loader": "^9.5.4",
|
|
58
58
|
"webpack": "^5.74.0",
|
|
59
|
-
"webpack-bundle-analyzer": "^4.6.1",
|
|
60
59
|
"webpack-cli": "^4.10.0"
|
|
61
60
|
},
|
|
62
61
|
"keywords": [
|