@alchemy/cli 0.9.2 → 0.9.3

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.
@@ -2,14 +2,14 @@
2
2
  if(process.argv.includes("--no-color"))process.env.NO_COLOR="1";
3
3
  import {
4
4
  getSetupMethod
5
- } from "./chunk-P56HOTPV.js";
6
- import "./chunk-75ICFV5K.js";
5
+ } from "./chunk-VN5JUWHO.js";
6
+ import "./chunk-3GBDYROJ.js";
7
7
  import {
8
8
  getRPCNetworkIds
9
- } from "./chunk-SIIZGMK5.js";
9
+ } from "./chunk-ANONMDDZ.js";
10
10
  import {
11
11
  getUpdateNoticeLines
12
- } from "./chunk-HGFU4JCS.js";
12
+ } from "./chunk-NUSUQI7X.js";
13
13
  import {
14
14
  bold,
15
15
  brand,
@@ -17,18 +17,18 @@ import {
17
17
  dim,
18
18
  green,
19
19
  setBrandedHelpSuppressed
20
- } from "./chunk-MV7O3XBG.js";
20
+ } from "./chunk-PMNRIXJI.js";
21
21
  import {
22
22
  configDir,
23
23
  load
24
- } from "./chunk-GDLPBPG3.js";
24
+ } from "./chunk-GLKB4JM7.js";
25
25
  import {
26
26
  bgRgb,
27
27
  isJSONMode,
28
28
  noColor,
29
29
  rgb,
30
30
  setReplMode
31
- } from "./chunk-OVLQH6KL.js";
31
+ } from "./chunk-CTTW4PA4.js";
32
32
 
33
33
  // src/commands/interactive.ts
34
34
  import * as readline from "readline";
@@ -2,7 +2,7 @@
2
2
  if(process.argv.includes("--no-color"))process.env.NO_COLOR="1";
3
3
  import {
4
4
  getUpdateNoticeLines
5
- } from "./chunk-HGFU4JCS.js";
5
+ } from "./chunk-NUSUQI7X.js";
6
6
  import {
7
7
  bold,
8
8
  brand,
@@ -10,12 +10,12 @@ import {
10
10
  dim,
11
11
  green,
12
12
  promptText
13
- } from "./chunk-MV7O3XBG.js";
13
+ } from "./chunk-PMNRIXJI.js";
14
14
  import {
15
15
  load,
16
16
  save
17
- } from "./chunk-GDLPBPG3.js";
18
- import "./chunk-OVLQH6KL.js";
17
+ } from "./chunk-GLKB4JM7.js";
18
+ import "./chunk-CTTW4PA4.js";
19
19
 
20
20
  // src/commands/onboarding.ts
21
21
  async function runOnboarding(_program, latestUpdate = null) {
@@ -38,7 +38,7 @@ async function runOnboarding(_program, latestUpdate = null) {
38
38
  if (answer === null) {
39
39
  return false;
40
40
  }
41
- const { performBrowserLogin, AUTH_PORT, getLoginUrl } = await import("./auth-IAM4AMBK.js");
41
+ const { performBrowserLogin, AUTH_PORT, getLoginUrl } = await import("./auth-KS6VPHHU.js");
42
42
  console.log(` Opening browser to log in...`);
43
43
  console.log(` ${dim(getLoginUrl(AUTH_PORT))}`);
44
44
  console.log(` ${dim("Waiting for authentication...")}`);
@@ -51,7 +51,7 @@ async function runOnboarding(_program, latestUpdate = null) {
51
51
  auth_token_expires_at: result.expiresAt
52
52
  });
53
53
  console.log(` ${green("\u2713")} Logged in successfully`);
54
- const { selectAppAfterAuth } = await import("./auth-6BBITIOZ.js");
54
+ const { selectAppAfterAuth } = await import("./auth-23OYLRWN.js");
55
55
  await selectAppAfterAuth(result.token);
56
56
  return true;
57
57
  } catch (err) {
@@ -5,11 +5,11 @@ import {
5
5
  errNotLoggedInForPolicyLookup,
6
6
  errSponsorshipNeedsPolicy,
7
7
  selectOrCreatePolicy
8
- } from "./chunk-TTWOBNJP.js";
9
- import "./chunk-SIIZGMK5.js";
10
- import "./chunk-MV7O3XBG.js";
11
- import "./chunk-GDLPBPG3.js";
12
- import "./chunk-OVLQH6KL.js";
8
+ } from "./chunk-D2RUM2DD.js";
9
+ import "./chunk-ANONMDDZ.js";
10
+ import "./chunk-PMNRIXJI.js";
11
+ import "./chunk-GLKB4JM7.js";
12
+ import "./chunk-CTTW4PA4.js";
13
13
  export {
14
14
  createPolicyInteractive,
15
15
  errNotLoggedInForPolicyLookup,
@@ -24,9 +24,9 @@ import {
24
24
  resolveWalletSession,
25
25
  resolveX402,
26
26
  resolveX402Client
27
- } from "./chunk-SIIZGMK5.js";
28
- import "./chunk-GDLPBPG3.js";
29
- import "./chunk-OVLQH6KL.js";
27
+ } from "./chunk-ANONMDDZ.js";
28
+ import "./chunk-GLKB4JM7.js";
29
+ import "./chunk-CTTW4PA4.js";
30
30
  export {
31
31
  adminClientFromFlags,
32
32
  clientFromFlags,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alchemy/cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Alchemy CLI — interact with blockchain data",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,17 +37,17 @@
37
37
  "zod": "^4.3.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@changesets/changelog-github": "^0.6.0",
41
- "@changesets/cli": "^2.30.0",
42
40
  "@types/node": "^25.3.0",
43
41
  "@types/qrcode": "^1.5.6",
44
42
  "@vitest/coverage-v8": "^4.0.18",
45
43
  "tsup": "^8.5.1",
46
44
  "tsx": "^4.21.0",
47
45
  "typescript": "^5.9.3",
48
- "vitest": "^4.0.18"
46
+ "vitest": "^4.0.18",
47
+ "@alchemy/sdk": "0.0.0"
49
48
  },
50
49
  "scripts": {
50
+ "prebuild": "pnpm --filter @alchemy/sdk build",
51
51
  "build": "tsup",
52
52
  "dev": "tsup --watch",
53
53
  "live:check": "node --env-file-if-exists=.env.local --import=tsx scripts/live-check.ts",
@@ -59,9 +59,6 @@
59
59
  "test:e2e": "pnpm build && vitest run --config vitest.e2e.config.ts",
60
60
  "test:live": "pnpm build && node --env-file-if-exists=.env.local ./node_modules/vitest/vitest.mjs run --config vitest.live.config.ts",
61
61
  "test:watch": "vitest",
62
- "lint": "tsc --noEmit",
63
- "changeset": "changeset",
64
- "version-packages": "changeset version",
65
- "release": "pnpm build && changeset publish"
62
+ "lint": "tsc --noEmit"
66
63
  }
67
64
  }
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env node
2
- if(process.argv.includes("--no-color"))process.env.NO_COLOR="1";
3
- import {
4
- registerAuth,
5
- selectAppAfterAuth
6
- } from "./chunk-L2WODD2D.js";
7
- import "./chunk-RGVM5SNE.js";
8
- import "./chunk-75ICFV5K.js";
9
- import "./chunk-SIIZGMK5.js";
10
- import "./chunk-MV7O3XBG.js";
11
- import "./chunk-GDLPBPG3.js";
12
- import "./chunk-OVLQH6KL.js";
13
- export {
14
- registerAuth,
15
- selectAppAfterAuth
16
- };