Releases: ethaccount/vue-dapp
Releases · ethaccount/vue-dapp
v1.5.6
- fix: expose types for ts #196 Thanks to @KianYang-Lee
v1.5.5
Update the styling of the modal
v1.5.2
Just remove the horizontal layout of the modal UI and "arrange the wallet options vertically" regardless of screen width.
v1.5.1
v1.5.0
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
v1.4.1
- Fix VueDappModal styles
v1.4.0
- Document add Listeners in https://vuedapp.xyz/overview
- Rename listeners
onConnected -> watchConnected
onAccountOrChainIdChanged -> watchAddressChainIdChanged
onWalletUpdated,watchConnect -> watchWalletChanged
onDisconnected -> watchDisconnect
- Add new listeners
watchAddressChanged
watchChainIdChanged
- Fix VueDappModal styles
v1.3.2
Rename watchWalletUpdated
with watchConnect