@exodus/bitcoin-plugin 1.26.1 → 1.27.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,15 @@
|
|
|
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.27.0](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.26.1...@exodus/bitcoin-plugin@1.27.0) (2024-09-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **bitcoin-plugin:** normalize secp256k1 usage ([#3959](https://github.com/ExodusMovement/assets/issues/3959)) ([40bd79d](https://github.com/ExodusMovement/assets/commit/40bd79d78d3865e5148f3c448ac293669a5f14b0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [1.26.1](https://github.com/ExodusMovement/assets/compare/@exodus/bitcoin-plugin@1.26.0...@exodus/bitcoin-plugin@1.26.1) (2024-09-13)
|
|
7
16
|
|
|
8
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "Exodus bitcoin-plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"lodash": "^4.17.21",
|
|
38
38
|
"minimalistic-assert": "^1.0.1",
|
|
39
39
|
"ms": "^2.1.3",
|
|
40
|
-
"
|
|
40
|
+
"secp256k1": "^3.4.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@exodus/assets-testing": "^1.0.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"type": "git",
|
|
62
62
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "fab5429fe99be08b08575100e4be6f151ce9638f"
|
|
65
65
|
}
|
|
@@ -5,7 +5,7 @@ import { witnessStackToScriptWitness } from '@exodus/bitcoinjs-lib/src/psbt/psbt
|
|
|
5
5
|
import { randomBytes } from '@exodus/crypto/randomBytes'
|
|
6
6
|
import { TextEncoder } from '@exodus/text-encoding-utf8'
|
|
7
7
|
import assert from 'minimalistic-assert'
|
|
8
|
-
import
|
|
8
|
+
import secp256k1 from 'secp256k1'
|
|
9
9
|
|
|
10
10
|
import { DEFAULT_BRC20_POSTAGE, DEFAULT_ORDINAL_POSTAGE } from './ordinals-constants.js'
|
|
11
11
|
|
|
@@ -280,7 +280,7 @@ export const inscriptionsServiceFactory = ({ network, ordinalChainIndex }) => {
|
|
|
280
280
|
|
|
281
281
|
const postage = inscription.postage
|
|
282
282
|
|
|
283
|
-
const publicKey = secp256k1.
|
|
283
|
+
const publicKey = secp256k1.publicKeyCreate(privateKey, false)
|
|
284
284
|
const commitTxData = createCommitTxData({ publicKey, inscription })
|
|
285
285
|
|
|
286
286
|
const feeData = await assetClientInterface.getFeeConfig({ assetName })
|