@hardkas/cli 0.2.0-alpha → 0.2.2-alpha

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 (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +15 -15
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ function registerInitCommands(program) {
102
102
  const template = `import { defineHardkasConfig } from "@hardkas/sdk";
103
103
 
104
104
  export default defineHardkasConfig({
105
- // HardKAS v0.2-alpha Configuration
105
+ // HardKAS v0.2.2-alpha Configuration
106
106
  defaultNetwork: "simnet",
107
107
 
108
108
  networks: {
@@ -120,11 +120,11 @@ export default defineHardkasConfig({
120
120
  accounts: {
121
121
  alice: {
122
122
  kind: "simulated",
123
- address: "kaspasim:sim_alice"
123
+ address: "kaspa:sim_alice"
124
124
  },
125
125
  bob: {
126
126
  kind: "simulated",
127
- address: "kaspasim:sim_bob"
127
+ address: "kaspa:sim_bob"
128
128
  }
129
129
  }
130
130
  });
@@ -3338,7 +3338,7 @@ async function runDoctor() {
3338
3338
  UI.info(`Connecting to ${pc.cyan(rpcUrl)}...`);
3339
3339
  const rpc = new JsonWrpcKaspaClient3({ rpcUrl });
3340
3340
  const info = await rpc.getInfo();
3341
- UI.success(`RPC Alive: ${pc.bold(info.networkId)}`);
3341
+ UI.success(`RPC Alive: ${pc.bold(info.networkId || "active")}`);
3342
3342
  UI.field("Synced", info.isSynced ? pc.green("YES") : pc.yellow("NO"));
3343
3343
  if (info.serverVersion) UI.field("Version", info.serverVersion);
3344
3344
  } catch (e) {
@@ -3387,7 +3387,7 @@ async function runDoctor() {
3387
3387
  }
3388
3388
 
3389
3389
  // src/index.ts
3390
- var HARDKAS_VERSION4 = "0.2.0-alpha";
3390
+ var HARDKAS_VERSION4 = "0.2.2-alpha";
3391
3391
  async function main() {
3392
3392
  const program = new Command();
3393
3393
  program.name("hardkas").description("HardKAS: Kaspa-native developer operating environment").version(HARDKAS_VERSION4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/cli",
3
- "version": "0.2.0-alpha",
3
+ "version": "0.2.2-alpha",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -15,20 +15,20 @@
15
15
  "enquirer": "^2.4.1",
16
16
  "picocolors": "^1.1.1",
17
17
  "zod": "^3.23.8",
18
- "@hardkas/accounts": "0.2.0-alpha",
19
- "@hardkas/core": "0.2.0-alpha",
20
- "@hardkas/l2": "0.2.0-alpha",
21
- "@hardkas/artifacts": "0.2.0-alpha",
22
- "@hardkas/localnet": "0.2.0-alpha",
23
- "@hardkas/config": "0.2.0-alpha",
24
- "@hardkas/node-orchestrator": "0.2.0-alpha",
25
- "@hardkas/query": "0.2.0-alpha",
26
- "@hardkas/kaspa-rpc": "0.2.0-alpha",
27
- "@hardkas/sdk": "0.2.0-alpha",
28
- "@hardkas/tx-builder": "0.2.0-alpha",
29
- "@hardkas/node-runner": "0.2.0-alpha",
30
- "@hardkas/query-store": "0.2.0-alpha",
31
- "@hardkas/simulator": "0.2.0-alpha"
18
+ "@hardkas/kaspa-rpc": "0.2.2-alpha",
19
+ "@hardkas/accounts": "0.2.2-alpha",
20
+ "@hardkas/artifacts": "0.2.2-alpha",
21
+ "@hardkas/config": "0.2.2-alpha",
22
+ "@hardkas/core": "0.2.2-alpha",
23
+ "@hardkas/l2": "0.2.2-alpha",
24
+ "@hardkas/localnet": "0.2.2-alpha",
25
+ "@hardkas/query": "0.2.2-alpha",
26
+ "@hardkas/node-orchestrator": "0.2.2-alpha",
27
+ "@hardkas/node-runner": "0.2.2-alpha",
28
+ "@hardkas/query-store": "0.2.2-alpha",
29
+ "@hardkas/simulator": "0.2.2-alpha",
30
+ "@hardkas/sdk": "0.2.2-alpha",
31
+ "@hardkas/tx-builder": "0.2.2-alpha"
32
32
  },
33
33
  "devDependencies": {
34
34
  "tsup": "^8.3.5",