Skip to content

Commit

Permalink
chore(): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jun 7, 2024
1 parent 7c1bc2d commit 67b896e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ async function start() {
console.log(new Date(), 'ws connected ', data?.wsKey);
});

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log(new Date(), 'ws reconnect: ', data);
});
Expand Down
2 changes: 1 addition & 1 deletion examples/ws-private-perp-futures-wsapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function start() {
// console.info(new Date(), 'ws data received: ', JSON.stringify(data, null, 2));
// });

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log(new Date(), 'ws reconnect: ', data);
});
Expand Down
2 changes: 1 addition & 1 deletion examples/ws-private-perp-futures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function start() {
console.info('data received: ', JSON.stringify(data));
});

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log('reconnect: ', data);
});
Expand Down
4 changes: 3 additions & 1 deletion examples/ws-private-spot-wsapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ async function start() {
customLogger,
);

client.sendWSAPIRequest('perpFuturesUSDTV4', 'futures.login');

client.on('open', (data) => {
console.log(new Date(), 'ws connected ', data?.wsKey);
});
Expand All @@ -45,7 +47,7 @@ async function start() {
// console.info(new Date(), 'ws data received: ', JSON.stringify(data, null, 2));
// });

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log(new Date(), 'ws reconnect: ', data);
});
Expand Down
2 changes: 1 addition & 1 deletion examples/ws-private-spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function start() {
console.info('data received: ', JSON.stringify(data));
});

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log('reconnect: ', data);
});
Expand Down
2 changes: 1 addition & 1 deletion examples/ws-public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function start() {
console.info('data received: ', JSON.stringify(data));
});

// Something happened, attempting to reconenct
// Something happened, attempting to reconnect
client.on('reconnect', (data) => {
console.log('reconnect: ', data);
});
Expand Down

0 comments on commit 67b896e

Please sign in to comment.