@exodus/bitcoin-plugin 1.6.9-hiro.1 → 1.6.10

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-plugin",
3
- "version": "1.6.9-hiro.1",
3
+ "version": "1.6.10",
4
4
  "description": "Exodus bitcoin-plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -20,10 +20,11 @@
20
20
  "dependencies": {
21
21
  "@exodus/asset-lib": "^4.0.0",
22
22
  "@exodus/basic-utils": "^2.1.0",
23
- "@exodus/bitcoin-api": "^2.6.8-hiro.2",
23
+ "@exodus/bitcoin-api": "^2.7.0",
24
24
  "@exodus/bitcoin-lib": "^2.2.11",
25
25
  "@exodus/models": "^11.0.0",
26
26
  "@exodus/text-encoding-utf8": "^1.0.2",
27
27
  "minimalistic-assert": "^1.0.1"
28
- }
28
+ },
29
+ "gitHead": "5c306496cb4086ff823640e8eadb0d9750ac3683"
29
30
  }
@@ -19,6 +19,7 @@ import {
19
19
  moveFundsFactory,
20
20
  parseUnsignedTx,
21
21
  signTxFactory,
22
+ signHardwareFactory,
22
23
  } from '@exodus/bitcoin-api'
23
24
  import { bitcoinFeeDataFactory } from './fee-data'
24
25
  import BitcoinFeeMonitor from './fee-monitor'
@@ -149,6 +150,13 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl: defaultApiUrl, coinIn
149
150
  coinInfo,
150
151
  })
151
152
 
153
+ const signHardware = signHardwareFactory({
154
+ assetName: asset.name,
155
+ resolvePurpose: address.resolvePurpose,
156
+ keys,
157
+ coinInfo,
158
+ })
159
+
152
160
  const moveFunds = moveFundsFactory({
153
161
  asset: asset,
154
162
  insightClient,
@@ -290,6 +298,7 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl: defaultApiUrl, coinIn
290
298
  signUnsignedTx: (unsignedTx, privateKey, opts) => signTx({ unsignedTx, privateKey, ...opts }), // legacy
291
299
  sendTx,
292
300
  signTx,
301
+ signHardware,
293
302
  getFee,
294
303
  moveFunds,
295
304
  nfts,
@@ -51,6 +51,7 @@ export const nftsApiFactory = ({ ordinalChainIndex, asset }) => {
51
51
 
52
52
  const expandedNfts = nfts.map((nft) => ({
53
53
  ...nft,
54
+ collectionName: nft.collectionName || 'No Collection',
54
55
  inTransit: !utxosOutputs.includes(nft.output.toLowerCase()),
55
56
  }))
56
57