@exodus/bitcoin-plugin 1.30.1 → 1.31.0

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,26 @@
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.31.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.30.2...@exodus/bitcoin-plugin@1.31.0) (2024-12-13)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: add activity index (#4708)
13
+
14
+
15
+
16
+ ## [1.30.2](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.30.1...@exodus/bitcoin-plugin@1.30.2) (2024-12-13)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+
22
+ * fix: allow uncompressed private key import (#4705)
23
+
24
+
25
+
6
26
  ## [1.30.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.30.0...@exodus/bitcoin-plugin@1.30.1) (2024-12-12)
7
27
 
8
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "1.30.1",
3
+ "version": "1.31.0",
4
4
  "description": "Bitcoin plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -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.28.0",
26
+ "@exodus/bitcoin-api": "^2.29.4",
27
27
  "@exodus/bitcoin-lib": "^2.4.2",
28
28
  "@exodus/bitcoin-meta": "^2.0.1",
29
29
  "@exodus/bitcoinjs": "^1.1.0",
@@ -58,5 +58,5 @@
58
58
  "type": "git",
59
59
  "url": "git+https://github.com/ExodusMovement/assets.git"
60
60
  },
61
- "gitHead": "4e0c2eef1da9441e0f0c6f91f79e1ebea2222723"
61
+ "gitHead": "80ee129820d60eb1e98ec363191e8a2beddbf241"
62
62
  }
@@ -321,6 +321,7 @@ export const createBitcoinAssetFactory =
321
321
  data: {
322
322
  ...current.data,
323
323
  sentIndex: i,
324
+ activityIndex: i,
324
325
  },
325
326
  coinAmount: to.amount
326
327
  ? parseCurrency(to.amount, asset.currency).negate()
@@ -205,7 +205,8 @@ export const inscriptionsServiceFactory = ({ network, ordinalChainIndex }) => {
205
205
  ...commitTxData,
206
206
  })
207
207
 
208
- await psbt.signInputAsync(0, toAsyncSigner({ privateKey }))
208
+ const publicKey = privateKeyToPublicKey({ privateKey, format: 'buffer' })
209
+ await psbt.signInputAsync(0, toAsyncSigner({ privateKey, publicKey }))
209
210
 
210
211
  const signature = psbt.data.inputs[0].tapScriptSig[0].signature.toString('hex')
211
212