@exodus/bitcoin-api 3.3.0 → 4.0.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 +14 -0
- package/package.json +2 -2
- package/src/index.js +0 -10
- package/src/tx-sign/taproot.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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
|
+
## [4.0.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@3.3.0...@exodus/bitcoin-api@4.0.0) (2025-08-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* remove old bitcoin-api exports (#6196)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
* feat!: remove old bitcoin-api exports (#6196)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [3.3.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-api@3.2.0...@exodus/bitcoin-api@3.3.0) (2025-07-23)
|
|
7
21
|
|
|
8
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Bitcoin transaction and fee monitors, RPC with the blockchain node, other networking code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "0610d4663af495d4400b1346a24d988d5779b5e9"
|
|
63
63
|
}
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ECPair } from '@exodus/bitcoinjs'
|
|
2
|
-
import { tiny_secp256k1_compat as ecc } from '@exodus/crypto/secp256k1'
|
|
3
|
-
|
|
4
1
|
export * from './account-state.js'
|
|
5
2
|
export * from './balances.js'
|
|
6
3
|
export * from './btc-address.js'
|
|
@@ -27,10 +24,3 @@ export * from './ordinals-utils.js'
|
|
|
27
24
|
export { signMessage, signMessageWithSigner } from './sign-message.js'
|
|
28
25
|
export { writePsbtBlockHeight, readPsbtBlockHeight } from './psbt-proprietary-types.js'
|
|
29
26
|
export { getActivityTxs } from './get-activity-txs.js'
|
|
30
|
-
|
|
31
|
-
// TODO: remove these, kept for compat
|
|
32
|
-
export { scriptClassify } from '@exodus/bitcoinjs'
|
|
33
|
-
export { tiny_secp256k1_compat as ecc } from '@exodus/crypto/secp256k1'
|
|
34
|
-
export const eccFactory = () => ecc
|
|
35
|
-
export const getECPair = () => ECPair
|
|
36
|
-
export const toXOnly = (publicKey) => publicKey.slice(1, 33)
|
package/src/tx-sign/taproot.js
CHANGED
|
@@ -66,7 +66,7 @@ export function toAsyncSigner({ privateKey, publicKey, isTaprootKeySpend }) {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
// signer: {
|
|
69
|
-
// sign: ({ data,
|
|
69
|
+
// sign: ({ data, enc, purpose, keyId, signatureType, tweak, extraEntropy }: KeychainSignerParams): Promise<any>
|
|
70
70
|
// getPublicKey: ({ keyId }) => Promise<Buffer>
|
|
71
71
|
// }
|
|
72
72
|
//
|