@cogcoin/client 1.1.12 → 1.1.13

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/README.md CHANGED
@@ -1,16 +1,19 @@
1
1
  # `@cogcoin/client`
2
2
 
3
- `@cogcoin/client@1.1.12` is the reference Cogcoin client package for applications that want a local wallet, durable SQLite-backed state, and a managed Bitcoin Core integration around `@cogcoin/indexer`. It publishes the reusable client APIs, the SQLite adapter, the managed `bitcoind` integration, and the first-party `cogcoin` CLI in one package.
3
+ `@cogcoin/client@1.1.13` is the reference Cogcoin client package for applications that want a local wallet, durable SQLite-backed state, and a managed Bitcoin Core integration around `@cogcoin/indexer`. It publishes the reusable client APIs, the SQLite adapter, the managed `bitcoind` integration, and the first-party `cogcoin` CLI in one package.
4
4
 
5
5
  Use Node 22 or newer.
6
6
 
7
7
  ## Quick Start
8
8
 
9
- Install the package:
9
+ Install Cogcoin:
10
10
 
11
11
  ```bash
12
- npm install -g @cogcoin/client
13
- cogcoin init
12
+ curl -fsSL https://cogcoin.org/install.sh | bash
13
+ # or on Windows PowerShell:
14
+ powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://cogcoin.org/install.ps1 | iex"
15
+
16
+ # `cogcoin init` starts automatically in an interactive terminal and continues into sync.
14
17
  cogcoin address # Send 0.0015 BTC to address
15
18
  cogcoin register <domainname> # 6+ character domain for 0.001 BTC
16
19
  cogcoin anchor <domainname> # You can leave a founding message permanently on Bitcoin!
@@ -23,7 +23,9 @@ async function ensureMiningProviderSetup(options) {
23
23
  paths: options.runtimePaths,
24
24
  });
25
25
  if (!setupReady) {
26
- throw new Error("Built-in mining provider is not configured. Run `cogcoin mine setup`.");
26
+ throw new Error(options.prompter.isInteractive
27
+ ? "Built-in mining provider is not configured. Run `cogcoin mine setup`."
28
+ : "mine_setup_requires_tty");
27
29
  }
28
30
  }
29
31
  function sleep(ms, signal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cogcoin/client",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Store-backed Cogcoin client with wallet flows, SQLite persistence, and managed Bitcoin Core integration.",
5
5
  "license": "MIT",
6
6
  "type": "module",