@profullstack/coinpay 0.4.2 → 0.4.4
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/bin/coinpay.js +2 -2
- package/package.json +1 -1
package/bin/coinpay.js
CHANGED
|
@@ -22,7 +22,7 @@ import { homedir } from 'os';
|
|
|
22
22
|
import { join } from 'path';
|
|
23
23
|
import { tmpdir } from 'os';
|
|
24
24
|
|
|
25
|
-
const VERSION = '
|
|
25
|
+
const VERSION = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version;
|
|
26
26
|
const CONFIG_FILE = join(homedir(), '.coinpay.json');
|
|
27
27
|
const DEFAULT_WALLET_FILE = join(homedir(), '.coinpay-wallet.gpg');
|
|
28
28
|
|
|
@@ -1547,4 +1547,4 @@ async function main() {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
|
-
main();
|
|
1550
|
+
main().then(() => process.exit(0));
|
package/package.json
CHANGED