Skip to content

Commit 69cbc76

Browse files
authored
Merge pull request #77 from fireflies1988/fix/testnet-ws-url
fix: correct testnet WebSocket URL for perpFuturesUSDTV4
2 parents 8450ee0 + c364260 commit 69cbc76

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

package-lock.json

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gateio-api",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"description": "Complete & Robust Node.js SDK for Gate.com's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.",
55
"scripts": {
66
"clean": "rm -rf dist/*",

src/lib/websocket/websocket-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const WS_BASE_URL_MAP: Record<
105105
},
106106
perpFuturesUSDTV4: {
107107
livenet: 'wss://fx-ws.gateio.ws/v4/ws/usdt',
108-
testnet: 'wss://fx-ws-testnet.gateio.ws/v4/ws/usdt',
108+
testnet: 'wss://ws-testnet.gate.com/v4/ws/futures/usdt',
109109
},
110110
perpFuturesBTCV4: {
111111
livenet: 'wss://fx-ws.gateio.ws/v4/ws/btc',

0 commit comments

Comments
 (0)