@teleportdao/bitcoin 1.4.6 → 1.4.7
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/dist/bitcoin-base.js +28 -5
- package/dist/bitcoin-base.js.map +1 -1
- package/dist/bundle.js +1 -1
- package/package.json +2 -2
- package/src/bitcoin-base.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teleportdao/bitcoin",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "teleswap bitcoin package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"browser": "dist/bundle.js",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "a32e568d407d5718e12599fabc55ee0166918f40"
|
|
37
37
|
}
|
package/src/bitcoin-base.ts
CHANGED
|
@@ -5,8 +5,8 @@ import TransactionBuilder, {
|
|
|
5
5
|
import type { ExtendedUtxo, SignerInfo, Target } from "./transaction-builder/transaction-builder"
|
|
6
6
|
import BitcoinSign from "./sign/sign-transaction"
|
|
7
7
|
|
|
8
|
-
import bip39 from "bip39"
|
|
9
|
-
import bip32 from "bip32"
|
|
8
|
+
import * as bip39 from "bip39"
|
|
9
|
+
import * as bip32 from "bip32"
|
|
10
10
|
import { hdWalletPath } from "@teleportdao/configs"
|
|
11
11
|
import { getPubKeyFromPrivateKeyHex } from "./bitcoin-utils"
|
|
12
12
|
import networks from "./utils/networks"
|