Browse Source

npm bump

master
peter 2 years ago
parent
commit
508d75e6a5
2 changed files with 2 additions and 3 deletions
  1. 1
    2
      hdkey.ts
  2. 1
    1
      package.json

+ 1
- 2
hdkey.ts View File

@@ -130,7 +130,7 @@ export function  addressFromHDKey(hdkey:string, net: network = "mainnet"){
130 130
     return <string>bitcoin.payments.p2pkh({ pubkey: Buffer.from(hdkey), network: bitcoin.networks[net] }).address
131 131
 }
132 132
 
133
-const hdKey = {
133
+export default {
134 134
     addressFromHDKey: addressFromHDKey,
135 135
     deriveAccount: deriveAccount,
136 136
     deriveAddress: deriveAddress,
@@ -140,4 +140,3 @@ const hdKey = {
140 140
     randomMenemonic: randomMenemonic,
141 141
     checkHDKey: checkHDKey
142 142
 }
143
-exports = hdKey

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "btc-hdkey",
3
-  "version": "0.0.9",
3
+  "version": "0.0.10",
4 4
   "description": "Hierarchical Deterministic Wallet support for BTC",
5 5
   "main": "hdkey.min.js",
6 6
   "types": "hdkey.d.ts",

Loading…
Cancel
Save