Jorge Luis
Jorge Luis
~Changed `fetchJson` to `fetch` so other tests don't accidentally send external requests.~ Added a jest mock for `fetchJson` so that it uses fetch if it's ever called within tests. Also...
When using Dexie.js, [it caches the global indexedDB variable](https://github.com/dexie/Dexie.js/blob/88f0c6bde0f76f5a7c2428b9f1b3301cb3c86841/src/classes/dexie/dexie-dom-dependencies.ts#L9), so resetting the db state won't work as expected. An easy fix is to manually handle each constructor call to explicitly...
The last asset on the list is never fully visible, tested on polygon with: `testertesting.eth`
Latest build: [extension-builds-3481](https://github.com/tahowallet/extension/suites/13634377927/artifacts/752334594) (as of Thu, 15 Jun 2023 15:51:26 GMT).
Prevents pairing failures by replacing the hardcoded productId list with vendorId based querying. This automatically supports new Ledger devices and firmware updates that can change internal productIds. Added a helper...
Code updated to work on v2, keeping this on draft while I test it...
This updates fork tests to run on anvil instead of hardhat. The change significantly improves test speed and prevents hangups. Even for simple cases anvil performs better without a cache....
Prevents infinite balances on networks where `alchemy_getTokenBalances` is not available and fallbacks to multicall balance lookups if it fails. For some tokens, the returned value when calling `balanceOf` included extra...
Introduces "DisplayCurrency" which stores a user selected currency to use as reference for displaying and formatting balances and values across the wallet, e.g. fiat currencies or assets (e.g. BTC). ##...
Window provider is not emitting the event when changing networks through the wallet.