All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update
@venly/connect
to 2.3.5- Fixes issue with
windowMode
being overwritten by deprecatedsignUsing
option
- Fixes issue with
- Update
@venly/connect
to 2.3.2- Fixes issue with
executeNativeTransaction()
not opening popup
- Fixes issue with
- Rename exported
SECRET_TYPES
toCHAIN_CONFIGS
- Update
@venly/connect
to 2.3.1- Fixes issue with popup staying open during
getAccounts()
- Fixes issue with popup staying open during
- Update
chainId
to reflect change from Etherum Goerli -> Ethereum Sepolia
- Attach bearer token to fetch calls made by RPC middleware
- Fix issue with login url in prod environment
- Add section on build environments to README
- Provider emits
'disconnect'
event on logout. Can be captured usingprovider.on('disconnect', callback)
- Added
sandbox
environment
wallet_switchEthereumChain
RPC method andswitchSecretType()
no longer require reinitializing the provider.
- Built using
json-rpc-engine
instead of the deprecatedweb3-provider-engine
- Implement
provider.request
method from EIP-1193 - Added
wallet_switchEthereumChain
method - Added
options.authenticationOptions.closePopup
option. If set to false, Venly popup will be kept open after authenticating.- For cases when you need to perform an action immediately after authenticating (such as signing a message)
- BREAKING: Rename class from
VenlySubProvider
toVenlyProvider
- BREAKING: Rename options from
VenlySubProviderOptions
toVenlyProviderOptions
- BREAKING: Rename method from
createProviderEngine
tocreateProvider
options.skipAuthentication
is now an optional parameter that defaults to falseoptions.windowMode
now defaults toWindowMode.POPUP
- Remove
options.signMethod
as it has been deprecated for awhile. Useoptions.windowMode
instead - Remove
options.pollingInterval
- Added support for ethers.js
- Use
ethers.providers.Web3Provider(provider)
with created provider object
- Use