@exodus/bitcoin-api 2.5.1 → 2.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-api",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Exodus bitcoin-api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -43,5 +43,5 @@
43
43
  "@scure/btc-signer": "^1.1.0",
44
44
  "jest-when": "^3.5.1"
45
45
  },
46
- "gitHead": "562c288cde1c1d7c7ab2c7bc6b1804ccca9b37f2"
46
+ "gitHead": "6cdfe274e480b791993b5d9336ee42d590473de3"
47
47
  }
@@ -111,7 +111,7 @@ export const signTxFactory = ({ assetName, resolvePurpose, keys, coinInfo, netwo
111
111
  const publicKey = secp256k1.publicKeyCreate(key.privateKey, true)
112
112
  return { key, purpose, publicKey }
113
113
  }
114
- const path = addressPathsMap[address]
114
+ const path = getOwnProperty(addressPathsMap, address, 'string')
115
115
  assert(hdkeys, 'hdkeys must be provided')
116
116
  assert(purpose, `purpose for address ${address} could not be resolved`)
117
117
  const hdkey = hdkeys[purpose]