Skip to content

Releases: AmbireTech/ambire-common

v2.89.6

Choose a tag to compare

@superKalo superKalo released this 17 Mar 15:31
fae1c11

Changelog:

  • Added: Show a warning when doing a batch to a non-whitelisted Safe multicall address #2244
  • Added: Label to every primary banner action #2245
  • Changed: batchMaxCount to 20 for Invictus #2248
  • Fixed: Portfolio simulation race conditions #2242
    • Adjusts the portfolio so the simulation doesn't have to be passed with every update.
    • Adds a function that discards specific account ops after they have been broadcasted/rejected.
    • Adds a bunch of tests

Full Changelog: v2.89.5...v2.89.6

v2.89.5

Choose a tag to compare

@gergana95 gergana95 released this 13 Mar 14:39
c7a86f3

Changelog:

  • Fix/ formatDecimals value > 10,000 formatting #2231
  • Add: a humanization for rejecting safe txns #2235
  • Fix: prevent the hardware modal from flashing if the first chosen signer is actually not a hardware wallet #2236
  • Add: morpho app humanization #2240
  • Config/ change source url ambire logo sponsored swap #2238
  • Fix: do not persist the swap & bridge screen if the request is moved to signAccountOp #2237
  • Add: a checker for safe api failures #2241

Full Changelog: v2.89.4...v2.89.5

v2.89.4

Choose a tag to compare

@superKalo superKalo released this 11 Mar 15:59
7e970a7

Changelog:

  • Added: Safe humanization + fix nonce 0 estimation for safe accounts (it was 20k lower) #2233

Full Changelog: v2.89.3...v2.89.4

v2.89.3

Choose a tag to compare

@superKalo superKalo released this 10 Mar 15:32
fdb2b48

Changelog:

  • Added: ENS v2 early support (prepares us for ENS v2 by implementing ENS's ethers monkey patch, deletes custom logic as it's now handled by the monkey patch) #2220
  • Fixed: Safe & Trezor improvements #2230
    • an unbrick mechanism for trezor;
    • do not fetch safe txns from safe global multiple times;
    • fix signAccountOp updates from safe global - do not allow them in a signing state

Full Changelog: v2.89.2...v2.89.3

v2.89.2

Choose a tag to compare

@superKalo superKalo released this 09 Mar 13:38
5d6cf6e

Changelog:

  • Changed: Safe sign improvements - change safe accounts to a universal signinig: always display all possible signers, and make the user decide which ones he wants to use #2228
  • Changed: Token market and metadata, fetch exchanges #2227
    • Refactors the TokenResult type to make more sense
    • Adds more properties to marketDataIn
    • Adds meta and moves exchanges, adds website to meta
    • Adds exchangeState to the portfolio controller

Full Changelog: v2.89.1...v2.89.2

v2.88.10

Choose a tag to compare

@superKalo superKalo released this 09 Mar 10:33
2438397

Changelog:

  • Fixed: Format number - decimals get messed up and rounded sometimes #2176

Full Changelog: v2.88.9...v2.88.10

v2.89.1

Choose a tag to compare

@superKalo superKalo released this 06 Mar 15:34
e0af85b

Changelog:

  • Added: Gelato v2 bundler implementation #2224
    • Fix front running by relying on pimlico to fetch the original txn
  • Changed: Tweak a bit the banner messaging for DeFi positions found on disabled networks #2223
  • Fixed: TS errors from marketData introduction (tokenResult) #2222
  • Fixed: Safe-integration-related fixes #2225
    • allow calls to self for safe accounts as owner & threshold changes are a major part of the safe
    • safe txn encoding when sending native is involved
    • enforce broadcast if available
  • Fixed: Do not persist the portfolio update if it's overriding the latest simulation #2219
  • Fixed: Always fetch the latest safe nonce before signing #2226

Full Changelog: v2.89.0...v2.89.1

v2.89.0

Choose a tag to compare

@superKalo superKalo released this 04 Mar 13:53
230c047

Changelog:

  • Added: Humanizer: permit2 typed message from Coinbase bridge #2166
  • Added: Report to Sentry if the portfolio was not updated after a confirmed AccountOp #2188
  • Added: Support for Safe smart accounts related changes and additions #2178
    • ability to recognize a Safe account and import it in the extension
    • add a safeCreation property to Account.ts with specific safe account data
    • Account state now tracks the Safe account state and Safe specific properties like owners
    • exclude safe accounts from relayer submissions for checking account data
    • make signMessage & signTransaction work with safe accounts
    • add the safe global API
    • add a safe controller that fetches transactions & messages from the safe global API
    • add continuous updates for fetching and updating statuses (confirmations) of safe transactions and messages
    • add the ability to push a safe txns that was signed & broadcast from another place to Ambire's activity
    • do not open benzina if the txn has been completed elsewhere (safe global)
    • ability to create safe txn & message requests with data from safe global
    • the ability to reject forever a safe txn that came from safe global (it gets hidden and no longer displayed in Ambire)
    • forbid bridge to a network the safe is not deployed on
    • forbid txns for undeployed safes
    • use state override for estimating & simulating safe transactions
    • Refactor: imported account keys are part of the account state as they are no longer a constant
    • Refactor: getBaseAccount to take the keys from the state instead of the keystore
  • Added: Token market data #2218
    • Adds market data to tokens - market cap, volume, exchanges etc.
    • Refactors priceCache to store all tokenData
    • Fixes the portfolio lib test
    • Fixes console errors (from getTotal)
  • Changed: Rewards dashboard - token prices fallback #2162
  • Changed: Remove info2 and replace it with info #2163
  • Changed: Update package.json libs to match the parent (extension) #2165
    • Changed: Strictly pin all devDependencies to further reduce supply-chain risk, similar to AmbireTech/ambire-app#6446 (but keep the peer deps a bit more flexible)
    • Changed: Remove some obsolete ones.
  • Changed: Replace "on-chain" with "onchain" #2177
  • Changed: Refactor - make the MainController compatible for different environments #2168
    • Decoupled the ProvidersController from the NetworksController, enabling it to operate as a standalone controller that initializes providers using only a list of networks
  • Changed: Refactor banner actions and remove sign account op banner text #2183
  • Changed: Replace info3 with info #2182
  • Changed: Refactor - dispatch replacement #2194
    • Add: callSignAccountOpMethod to the transfer and swapAndBridge controllers
    • Fix: providers.sendUiMessage bug that was causing an infinite load in the Benzin
  • Changed: No approvals if not needed (check for the pre-approved amount the user has and do not add an approve call if it's above it and there's no need for a revoke) #2199
  • Changed: Tweaks and fixes needed for initing the mobile apps #2201
  • Changed: Remove the obsolete and temporarily a.out file #2209
  • Changed: Migrate the Candide URLs to their v3 #2215
  • Changed: Move the AccountPicker set params from private key or seed function from the background to main so there is no need of extra action to maintain #2212
  • Fixed: Make sure the selected portfolio account exists before it is used. Even though we have account validation at the top-level method (updateSelectedAccount), it does not guarantee that the account is still present in the method below due to the asynchronous logic #2174
  • Fixed: Humanizer: Aerodome uni v2 different ABI #2184
  • Fixed: Humanizer: fix type checking in Uni reduce util function #2187
  • Fixed: Format number fix - decimals get messed up and rounded sometimes #2176
  • Fixed: Providers does not update after networks default RPC update (revert accidental removal of a logic responsible for updating the providers on adding a new network or updating an existing one) #2202
  • Fixed: Transfer window size with Trezor (it was being rendered with the default window size - 720*800, it should be the same as Swap & Bridge) #2206
  • Fixed: A bug where Safe confirmations weren't update if sign account op was opened on the foreground #2211
  • Fixed: Safe debug trace call, safe messages, silent error #2213
    • set the correct state override when using debug trace call for safe accounts
    • exclude null messages from safe messages array
    • do not show "Recurring task failed" error to the user
  • Fixed: formatDecimals noDecimal type when the value is 0 #2210

Full Changelog: v2.88.9...v2.89.0

v2.88.9

Choose a tag to compare

@superKalo superKalo released this 02 Mar 11:49
3172b3a

Changelog:

  • Fixed: Add the missing activator call when EOA is used as a deployment #2214

Full Changelog: v2.88.8...v2.88.9

v2.88.8

Choose a tag to compare

@superKalo superKalo released this 25 Feb 15:01
475871c

Changelog:

  • Added: DefiLlama, Ethena and Zora to the Apps Catalog #2207
  • Fixed: Portfolio discovery is done before loading is set to true #2205

Full Changelog: v2.88.7...v2.88.8