You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to 1.x documentation https://web3js.readthedocs.io/en/v1.2.11/web3-eth-subscribe.html there should be an event called connected that fires once after the subscription is successfully connected and should return the subscription id.
But version 4.x does not implement that.
However, it is mentioned as a number. But should be a string. As the subscription id used in version 4.x is a string.
The text was updated successfully, but these errors were encountered:
* enable custom subscription
* refactor to simplify the inheritance from Web3Subscription
* add `CombinedEventMap` type to `Web3Subscription`
* remove unneeded casting inside `_buildSubscriptionParams`
* add a test
* fix "Version 4.x does not fire connected event for subscriptions. #6252"
* update CHANGELOG.md files
* enable custom subscription
* refactor to simplify the inheritance from Web3Subscription
* add `CombinedEventMap` type to `Web3Subscription`
* remove unneeded casting inside `_buildSubscriptionParams`
* add a test
* fix "Version 4.x does not fire connected event for subscriptions. web3#6252"
* update CHANGELOG.md files
* enable custom subscription
* refactor to simplify the inheritance from Web3Subscription
* add `CombinedEventMap` type to `Web3Subscription`
* remove unneeded casting inside `_buildSubscriptionParams`
* add a test
* fix "Version 4.x does not fire connected event for subscriptions. web3#6252"
* update CHANGELOG.md files
According to 1.x documentation https://web3js.readthedocs.io/en/v1.2.11/web3-eth-subscribe.html there should be an event called
connected
that fires once after the subscription is successfully connected and should return the subscription id.But version 4.x does not implement that.
However, it is mentioned as a number. But should be a string. As the subscription id used in version 4.x is a string.
The text was updated successfully, but these errors were encountered: