Skip to content

v1.3.0

Compare
Choose a tag to compare
@johnson86tw johnson86tw released this 30 Apr 15:05
· 82 commits to main since this release
export type ProviderTarget = 'window.ethereum' | 'rdns' // only for BrowserWalletConnector
  • Change enum RDNS to enum RdnsEnum & type RDNS

deprecated

export enum RDNS {
	'rabby' = 'io.rabby',
	'metamask' = 'io.metamask',
	'brave' = 'com.brave.wallet',
	'coinbase' = 'com.coinbase.wallet',
	'bitget' = 'com.bitget.web3wallet',
}

>= v1.3.0

export enum RdnsEnum {
	'rabby' = 'io.rabby',
	'metamask' = 'io.metamask',
	'brave' = 'com.brave.wallet',
	'coinbase' = 'com.coinbase.wallet',
	'bitget' = 'com.bitget.web3wallet',
}

export type RDNS = string
  • #177 Export onDisconnect, onAccountsChanged, and onChainChanged
  • #175 Ensure correct disconnection when browser wallet disconnects