terra-money / docs

🗂 The official documentation for the Terra blockchain
https://docs.terra.money
Other
124 stars 203 forks source link

Update Websockets.mdx #588

Closed tvl83 closed 9 months ago

tvl83 commented 1 year ago

Example code for WebSockets using feather.js in docs did not work at all. The new code is directly from WebSocketClient.js in the node_modules folder and it works as example code.

emidev98 commented 1 year ago

Hello @tvl83, seems like the docs are correct, using feather JS that's the way users should subscribe to the websocket. If is not working for you, could you try upgrading to the latest version? image

@evanorti as you can see in the image LocalTerra client is not needed can we modify the docs to remove it from this example?

Thanks you both!

evanorti commented 9 months ago

Thanks for your submission!

@emidev98 I have removed localterra from the example. The information has been updated in the following commit:

https://github.com/terra-money/docs/commit/f394a4796517cba61a41971f6fc20137a61667f9