Browse Source

module type

master
peter 2 years ago
parent
commit
c1925214a5
2 changed files with 3 additions and 4 deletions
  1. 2
    3
      index.ts
  2. 1
    1
      package-lock.json

+ 2
- 3
index.ts View File

@@ -1,6 +1,5 @@
1
-import * as HDKey from 'hdkey';
2
-import * as bitcoin from 'bitcoinjs-lib';
3
-
1
+const HDKey = require('hdkey');
2
+const bitcoin = require('bitcoinjs-lib');
4 3
 const bip39 = require('bip39')
5 4
 const assert = require('bsert');
6 5
 

+ 1
- 1
package-lock.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "btc-hdkey",
3
-  "version": "0.0.1",
3
+  "version": "0.0.2",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {

Loading…
Cancel
Save