Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Feb 8, 2021
1 parent 2a09445 commit c73e945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog/js-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ All notable changes to `zksync.js` will be documented in this file.

### Changed

- WebSocket provider was marked as obsolete.

### Fixed

## Version 0.8.4
Expand Down
2 changes: 1 addition & 1 deletion sdk/zksync.js/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { isTokenETH, sleep, SYNC_GOV_CONTRACT_INTERFACE, TokenSet } from './utils';

export async function getDefaultProvider(network: Network, transport: 'WS' | 'HTTP' = 'HTTP'): Promise<Provider> {
if(transport === 'WS') {
if (transport === 'WS') {
console.warn('Websocket support will be removed in future. Use HTTP transport instead.');
}
if (network === 'localhost') {
Expand Down

0 comments on commit c73e945

Please sign in to comment.