@yerofey/cryptowallet-cli 1.37.2 → 1.38.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.
Files changed (3) hide show
  1. package/README.md +6 -3
  2. package/cli.js +11 -1
  3. package/package.json +1 -2
package/README.md CHANGED
@@ -28,14 +28,17 @@
28
28
  ## Install
29
29
 
30
30
  ```bash
31
- # via NPM
31
+ # via npm
32
32
  $ npm i -g @yerofey/cryptowallet-cli
33
33
 
34
- # via PNPM
34
+ # via pnpm
35
35
  $ pnpm add -g @yerofey/cryptowallet-cli
36
36
 
37
- # via Yarn
37
+ # via yarn
38
38
  $ yarn global add @yerofey/cryptowallet-cli
39
+
40
+ # via bun
41
+ $ bun add -g @yerofey/cryptowallet-cli
39
42
  ```
40
43
 
41
44
  ## Usage
package/cli.js CHANGED
@@ -1,6 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
+ // filter out unwanted "bigint" warning messages
5
+ const originalStderrWrite = process.stderr.write;
6
+ process.stderr.write = function (chunk, encoding, callback) {
7
+ const msg = chunk.toString();
8
+ if (msg.includes('bigint: Failed to load bindings')) return;
9
+ originalStderrWrite.apply(process.stderr, arguments);
10
+ };
11
+
4
12
  import os from 'node:os';
5
13
  import {
6
14
  Worker,
@@ -84,7 +92,9 @@ if (isMainThread) {
84
92
  );
85
93
  } else {
86
94
  console.log(
87
- chalk.green(`🏎️💨 Using ${numThreads}/${allMachineThreads} threads to generate a wallet...`)
95
+ chalk.green(
96
+ `⚡ Using ${numThreads}/${allMachineThreads} threads to generate a wallet...`
97
+ )
88
98
  );
89
99
  }
90
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yerofey/cryptowallet-cli",
3
- "version": "1.37.2",
3
+ "version": "1.38.0",
4
4
  "description": "Crypto wallet generator CLI tool",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/yerofey/cryptowallet-cli",
@@ -50,7 +50,6 @@
50
50
  "scripts": {
51
51
  "dev:npm": "npm i --package-lock-only",
52
52
  "dev:pnpm": "pnpm install --lockfile-only",
53
- "dev:yarn": "yarn install --mode=skip-build --no-node-modules",
54
53
  "lint": "pnpm exec eslint src/*.js",
55
54
  "test": "ava"
56
55
  },