@exodus/bitcoin-plugin 1.29.0 → 1.29.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/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@
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
+ ## [1.29.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.29.1...@exodus/bitcoin-plugin@1.29.2) (2024-12-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: bitcoin use utxo.derivationPath path to resolve purpose (#4541)
13
+
14
+ * fix: fetch and require raw txs for segwit inputs (#4399)
15
+
16
+
17
+
18
+ ## [1.29.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.29.0...@exodus/bitcoin-plugin@1.29.1) (2024-10-31)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * stringify sent amount NU's ([#4433](https://github.com/ExodusMovement/assets/issues/4433)) ([f2886a8](https://github.com/ExodusMovement/assets/commit/f2886a85060f5e347df9bb2bf892bb52257ece6b)), closes [#4437](https://github.com/ExodusMovement/assets/issues/4437)
24
+
25
+
26
+
6
27
  ## [1.29.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.28.0...@exodus/bitcoin-plugin@1.29.0) (2024-10-17)
7
28
 
8
29
 
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @exodus/bitcoin-plugin
2
+
3
+ Bitcoin plugin for Exodus SDK powered wallets. See [Asset Packages](../../docs/asset-packages.md) for more detail on this package's role.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "1.29.0",
4
- "description": "Exodus bitcoin-plugin",
3
+ "version": "1.29.2",
4
+ "description": "Bitcoin plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "files": [
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@exodus/asset-lib": "^5.0.0",
25
25
  "@exodus/bip44-constants": "^195.0.0",
26
- "@exodus/bitcoin-api": "^2.27.0",
26
+ "@exodus/bitcoin-api": "^2.28.0",
27
27
  "@exodus/bitcoin-lib": "^2.4.2",
28
28
  "@exodus/bitcoin-meta": "^2.0.0",
29
29
  "@exodus/bitcoinjs": "^1.1.0",
@@ -31,7 +31,7 @@
31
31
  "@exodus/fetch": "^1.3.0",
32
32
  "@exodus/models": "^12.0.1",
33
33
  "@exodus/text-encoding-utf8": "^1.0.2",
34
- "@exodus/web3-bitcoin-utils": "^2.1.0",
34
+ "@exodus/web3-bitcoin-utils": "^2.3.0",
35
35
  "coininfo": "^5.1.0",
36
36
  "lodash": "^4.17.21",
37
37
  "minimalistic-assert": "^1.0.1",
@@ -42,7 +42,7 @@
42
42
  "@exodus/bip32": "^3.3.0",
43
43
  "@exodus/bitcoinregtest-meta": "^2.0.0",
44
44
  "@exodus/bitcointestnet-meta": "^2.0.0",
45
- "@exodus/currency": "^5.0.2",
45
+ "@exodus/currency": "^6.0.1",
46
46
  "@exodus/key-identifier": "^1.3.0",
47
47
  "@exodus/key-utils": "^3.7.0",
48
48
  "@exodus/keychain": "^7.3.0",
@@ -58,5 +58,5 @@
58
58
  "type": "git",
59
59
  "url": "git+https://github.com/ExodusMovement/assets.git"
60
60
  },
61
- "gitHead": "3218754fdfad087b6d789eb81f7fe9f21b636fef"
61
+ "gitHead": "94b6b798534f6b0587f6940248ab612513bfc34f"
62
62
  }
@@ -360,6 +360,7 @@ export const createBitcoinAssetFactory =
360
360
  getSupportedPurposes: createGetSupportedPurposes({ omitPurposes: omitSupportedPurposes }),
361
361
  hasFeature: (feature) => !!features[feature], // @deprecated use api.features instead
362
362
  createAccountState: () => accountStateClass,
363
+ privateKeyEncodingDefinition: { encoding: 'wif', version: [coinInfo.versions.private] },
363
364
  sendTx,
364
365
  signTx,
365
366
  signHardware,
@@ -24,7 +24,7 @@ const toTxLog = ({ historyItem, baseAsset, asset }) => {
24
24
  sent: [
25
25
  {
26
26
  address: historyItem.transferTo,
27
- amount,
27
+ amount: amount.toDefaultString({ unit: true }),
28
28
  },
29
29
  ],
30
30
  }