fix(#106): reversed endpoints
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "2.0.7",
|
"version": "2.0.8",
|
||||||
"description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
|
"description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -17,12 +17,12 @@ const inverseEndpoints = {
|
|||||||
const linearEndpoints = {
|
const linearEndpoints = {
|
||||||
private: {
|
private: {
|
||||||
livenet: 'wss://stream.bybit.com/realtime_private',
|
livenet: 'wss://stream.bybit.com/realtime_private',
|
||||||
livenet2: 'wss://stream.bytick.com/realtime_public',
|
livenet2: 'wss://stream.bytick.com/realtime_private',
|
||||||
testnet: 'wss://stream-testnet.bybit.com/realtime_private'
|
testnet: 'wss://stream-testnet.bybit.com/realtime_private'
|
||||||
},
|
},
|
||||||
public: {
|
public: {
|
||||||
livenet: 'wss://stream.bybit.com/realtime_public',
|
livenet: 'wss://stream.bybit.com/realtime_public',
|
||||||
livenet2: 'wss://stream.bytick.com/realtime_private',
|
livenet2: 'wss://stream.bytick.com/realtime_public',
|
||||||
testnet: 'wss://stream-testnet.bybit.com/realtime_public'
|
testnet: 'wss://stream-testnet.bybit.com/realtime_public'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user