Releases: DePayFi/web3-client
v7.0.0
Differentiates between setProvider
and setProviderEndpoints
. Also renaming to @depay/web3-client
Migration Guide:
Rename all setProvider
to setProviderEndpoints
.
v6.0.0
removes estimate
as it has been moved to depay-web3-wallets
v5.1.0
adds setProvider
set providers
In order to set RPC provider endpoints you can use setProvider
:
import { setProvider } from 'depay-web3-client'
setProvider('ethreum', ['http://localhost:8545'])
Make sure you pass an array of endpoints to setProvider.
Currently, we only connect to the first provider of that array, but for future reasons, we might introduce RPC endpoint fallbacks eventually.
v5.0.1
fix provider: static, batch, non-async
v5.0.0
JsonRpcBatchProvider is the new default provider
v4.0.5
fix circular dependency
v4.0.3
await account fix
v4.0.2
fix rejecting queued promises
v4.0.1
fix resolving queued promises
v4.0.0
resolves pending requests/responses from queued promises (reduce amount of requests if done in parallel)