@exodus/address-provider
Advanced tools
Comparing version 9.1.0 to 9.2.0
@@ -6,2 +6,12 @@ # Change Log | ||
## [9.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/address-provider@9.1.0...@exodus/address-provider@9.2.0) (2024-01-25) | ||
### Features | ||
- remove wallet accounts dependency from wallet ([#5471](https://github.com/ExodusMovement/exodus-hydra/issues/5471)) ([65559fc](https://github.com/ExodusMovement/exodus-hydra/commit/65559fc7d2ab6b6f881db843a4af73644cb172b2)) | ||
### Bug Fixes | ||
- missing dependencies ([#5322](https://github.com/ExodusMovement/exodus-hydra/issues/5322)) ([01efedc](https://github.com/ExodusMovement/exodus-hydra/commit/01efedc7508fb14925277fdcd388afb721ac3dd1)) | ||
## [9.1.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/address-provider@9.0.1...@exodus/address-provider@9.1.0) (2023-12-22) | ||
@@ -8,0 +18,0 @@ |
@@ -17,6 +17,6 @@ import { AddressSet } from '@exodus/models' | ||
: address.meta.isNestedSegwit | ||
? 49 | ||
: address.meta.isTaproot | ||
? 86 | ||
: null | ||
? 49 | ||
: address.meta.isTaproot | ||
? 86 | ||
: null | ||
@@ -23,0 +23,0 @@ if (purposeFromIndividualFlags !== null) { |
{ | ||
"name": "@exodus/address-provider", | ||
"version": "9.1.0", | ||
"version": "9.2.0", | ||
"description": "Address provider for deriving and tracking used and unused addresses.", | ||
@@ -34,4 +34,5 @@ "author": "Exodus Movement Inc.", | ||
"@exodus/address-cache": "^2.1.1", | ||
"@exodus/atoms": "^7.0.0", | ||
"@exodus/atoms": "^7.0.1", | ||
"@exodus/basic-utils": "^2.1.0", | ||
"@exodus/bip32": "^2.0.0", | ||
"@exodus/key-identifier-provider": "^1.4.0", | ||
@@ -53,7 +54,6 @@ "@exodus/key-utils": "^3.0.0", | ||
"@exodus/bgold-plugin": "^1.3.3", | ||
"@exodus/bip32": "^2.0.0", | ||
"@exodus/bip44-constants": "^195.0.0", | ||
"@exodus/bitcoin-meta": "^1.0.1", | ||
"@exodus/bitcoin-plugin": "^1.0.14", | ||
"@exodus/blockchain-metadata": "^15.0.0", | ||
"@exodus/blockchain-metadata": "^15.1.0", | ||
"@exodus/cardano-lib": "^2.1.1", | ||
@@ -84,3 +84,3 @@ "@exodus/dash-plugin": "^1.3.3", | ||
}, | ||
"gitHead": "b1ff8c5a4cefde7d97918413c639f870e3055ec4" | ||
"gitHead": "5052dcafa0b903350e25ed7df175a6d65ce37afe" | ||
} |
import typeforce from '@exodus/typeforce' | ||
import { WalletAccount } from '@exodus/models' | ||
import { getTrezorMeta } from './trezor' | ||
@@ -10,3 +9,2 @@ import assert from 'minimalistic-assert' | ||
asset: 'Object', | ||
walletAccount: 'Object', | ||
compatibilityMode: (value) => !value || typeof value === 'string', | ||
@@ -22,3 +20,4 @@ }, | ||
typeforceParams(opts) | ||
const { asset, walletAccount } = opts | ||
const { asset, compatibilityMode } = opts | ||
const baseAsset = asset.baseAsset | ||
@@ -35,3 +34,3 @@ | ||
if (walletAccount.source === WalletAccount.TREZOR_SRC) { | ||
if (compatibilityMode === 'trezor') { | ||
const trezorMeta = getTrezorMeta(baseAsset) | ||
@@ -38,0 +37,0 @@ return [ |
67043
33
13
1225
+ Added@exodus/bip32@^2.0.0
+ Added@exodus/bip32@2.1.1(transitive)
+ Added@exodus/hdkey@2.1.0-exodus.0(transitive)
+ Added@exodus/secp256k1@4.0.2-exodus.0(transitive)
+ Addedbn.js@4.12.1(transitive)
+ Addedbrorand@1.1.0(transitive)
+ Addedelliptic@6.6.1(transitive)
+ Addedhash.js@1.1.7(transitive)
+ Addedhmac-drbg@1.0.1(transitive)
+ Addedminimalistic-crypto-utils@1.0.1(transitive)
Updated@exodus/atoms@^7.0.1