Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.34 KB

CHANGELOG.md

File metadata and controls

59 lines (44 loc) · 1.34 KB

CHANGELOG

v1.5.1

  • Fix mobile browser detection for Rainbow mobile wallet #190
    • Rename and update isMobileAppBrowser with isMobileBrowser

v1.5.0

  • Fix modal style on mobile
  • Fix hot reload issue in dev mode when importing walletconnect or coinbase. issue #162 pr #187
  • Fix connectTo error handling pr #188

v1.4.3

  • Update shortenAddress
test('shortenAddress', () => {
	expect(shortenAddress('0x9D75F4EbcB8e7669E59dcc27CBadC698E0F77187')).toBe('0x9D75...7187')
})

test('shortenAddress with custom start and end length', () => {
	expect(shortenAddress('0x9D75F4EbcB8e7669E59dcc27CBadC698E0F77187', 8, 5)).toBe('0x9D75F4...77187')
})

test('shortenAddress with invalid address', () => {
	expect(shortenAddress('')).toBe('')
	expect(shortenAddress(null as any)).toBe('')
	expect(shortenAddress(undefined as any)).toBe('')
})

v1.4.2

  • Feat: Don't auto-connect to MetaMask if it's locked #185

v1.4.1

  • Fix VueDappModal styles

v1.4.0

onConnected -> watchConnected
onAccountOrChainIdChanged -> watchAddressChainIdChanged
onWalletUpdated,watchConnect -> watchWalletChanged
onDisconnected -> watchDisconnect
  • Add new listeners
watchAddressChanged
watchChainIdChanged
  • Fix VueDappModal styles

v1.3.3

  • export useAutoConnect