diff --git a/examples/ws-api-events.ts b/examples/ws-api-events.ts index 10ea17e..8e3a9c9 100644 --- a/examples/ws-api-events.ts +++ b/examples/ws-api-events.ts @@ -12,19 +12,12 @@ const logger = { const key = process.env.API_KEY; const secret = process.env.API_SECRET; -const testnetCreds = { - key: 'KdClhWyRVjDsnER6RW', - secret: 'rLeppmdAMZsHpdgeyFsJDjhd5mnIul3ZMet2', - testnet: true, -}; - const wsClient = new WebsocketClient( { key: key, secret: secret, // testnet: true, // Whether to use the testnet environment: https://testnet.bybit.com/app/user/api-management // demoTrading: false, // note: As of Jan 2025, demo trading does NOT support the WS API - ...testnetCreds, }, logger, // Optional: inject a custom logger );