@siebly/kraken-api 1.1.1 → 1.1.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.
@@ -31,7 +31,7 @@ export interface WSClientConfigurableOptions {
31
31
  wsOptions?: {
32
32
  protocols?: string[];
33
33
  agent?: any;
34
- } & Partial<WebSocket.ClientOptions | ClientRequestArgs>;
34
+ } & (Omit<Partial<WebSocket.ClientOptions>, 'agent'> | Omit<Partial<ClientRequestArgs>, 'agent'>);
35
35
  wsUrl?: string;
36
36
  /**
37
37
  * Allows you to provide a custom "signMessage" function, e.g. to use node's much faster createHmac method
@@ -31,7 +31,7 @@ export interface WSClientConfigurableOptions {
31
31
  wsOptions?: {
32
32
  protocols?: string[];
33
33
  agent?: any;
34
- } & Partial<WebSocket.ClientOptions | ClientRequestArgs>;
34
+ } & (Omit<Partial<WebSocket.ClientOptions>, 'agent'> | Omit<Partial<ClientRequestArgs>, 'agent'>);
35
35
  wsUrl?: string;
36
36
  /**
37
37
  * 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": "@siebly/kraken-api",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Complete & robust Node.js SDK for Kraken's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",
@@ -30,15 +30,15 @@
30
30
  "Jerko J (https://github.com/JJ-Cro)"
31
31
  ],
32
32
  "dependencies": {
33
+ "@types/ws": "^8.18.1",
33
34
  "axios": "^1.10.0",
34
35
  "isomorphic-ws": "^5.0.0",
35
36
  "nanoid": "^3.3.11",
36
- "ws": "^8.18.3"
37
+ "ws": "8.21.1"
37
38
  },
38
39
  "devDependencies": {
39
40
  "@types/jest": "^29.5.12",
40
41
  "@types/node": "^22.11.6",
41
- "@types/ws": "^8.18.1",
42
42
  "@typescript-eslint/eslint-plugin": "^8.18.0",
43
43
  "@typescript-eslint/parser": "^8.18.0",
44
44
  "eslint": "^8.29.0",
@@ -52,8 +52,7 @@
52
52
  "ts-node": "^10.9.2",
53
53
  "typescript": "^5.7.3",
54
54
  "webpack": "^5.0.0",
55
- "webpack-cli": "^4.0.0",
56
- "webpack-bundle-analyzer": "^4.10.2"
55
+ "webpack-cli": "^4.0.0"
57
56
  },
58
57
  "keywords": [
59
58
  "kraken",