@exodus/bitcoin-api 2.21.2 → 2.21.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.21.3](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.21.2...@exodus/bitcoin-api@2.21.3) (2024-07-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * pass compatibility mode to getKeyIdentifier ([#3048](https://github.com/ExodusMovement/assets/issues/3048)) ([61066f9](https://github.com/ExodusMovement/assets/commit/61066f958cafb59ab3b9be9234e9c8360ea51841))
12
+
13
+
14
+
6
15
  ## [2.21.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@2.21.1...@exodus/bitcoin-api@2.21.2) (2024-07-26)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "2.21.2",
3
+ "version": "2.21.3",
4
4
  "description": "Exodus bitcoin-api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -66,5 +66,5 @@
66
66
  "type": "git",
67
67
  "url": "git+https://github.com/ExodusMovement/assets.git"
68
68
  },
69
- "gitHead": "139dd9f87ac7299463ce64a4a53f1daa4542fd2c"
69
+ "gitHead": "a9a07ce549e5e911d65a75e2d768a6ff5a1d854e"
70
70
  }
@@ -28,7 +28,7 @@ export const signTxFactory = ({
28
28
  'hdkeys or privateKeysAddressMap or signer is required'
29
29
  )
30
30
 
31
- const { addressPathsMap, accountIndex } = unsignedTx.txMeta
31
+ const { addressPathsMap, accountIndex, compatibilityMode } = unsignedTx.txMeta
32
32
 
33
33
  const psbt = prepareForSigning({ unsignedTx })
34
34
 
@@ -46,7 +46,7 @@ export const signTxFactory = ({
46
46
  !('accountIndex' in args) || args.accountIndex === accountIndex,
47
47
  '`accountIndex` mismatch'
48
48
  )
49
- return getKeyIdentifier({ ...args, accountIndex })
49
+ return getKeyIdentifier({ compatibilityMode, ...args, accountIndex })
50
50
  },
51
51
  })
52
52