@secondlayer/cli 19.4.1 → 19.4.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.
- package/dist/cli.js +8 -8
- package/dist/cli.js.map +5 -5
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -29443,7 +29443,7 @@ var init_git_status = () => {};
|
|
|
29443
29443
|
|
|
29444
29444
|
// ../../node_modules/typescript/lib/typescript.js
|
|
29445
29445
|
var require_typescript = __commonJS(function(exports, module) {
|
|
29446
|
-
var __dirname = "/Users/ryan/projects/secondlayer/node_modules/typescript/lib", __filename = "/Users/ryan/projects/secondlayer/node_modules/typescript/lib/typescript.js";
|
|
29446
|
+
var __dirname = "/Users/ryan/projects/secondlayer/.claude/worktrees/agent-af556fe64d015cdf5/node_modules/typescript/lib", __filename = "/Users/ryan/projects/secondlayer/.claude/worktrees/agent-af556fe64d015cdf5/node_modules/typescript/lib/typescript.js";
|
|
29447
29447
|
/*! *****************************************************************************
|
|
29448
29448
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29449
29449
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -202598,7 +202598,7 @@ var {
|
|
|
202598
202598
|
// package.json
|
|
202599
202599
|
var package_default = {
|
|
202600
202600
|
name: "@secondlayer/cli",
|
|
202601
|
-
version: "19.4.
|
|
202601
|
+
version: "19.4.3",
|
|
202602
202602
|
description: "Run a Stacks index on your own hardware — set it up, restore verified history, and keep it current.",
|
|
202603
202603
|
repository: {
|
|
202604
202604
|
type: "git",
|
|
@@ -202640,8 +202640,8 @@ var package_default = {
|
|
|
202640
202640
|
"@secondlayer/sdk": "^14.5.1",
|
|
202641
202641
|
"@secondlayer/shared": "^11.24.1",
|
|
202642
202642
|
"@secondlayer/stacks": "^6.2.0",
|
|
202643
|
-
"@secondlayer/subgraphs": "^6.
|
|
202644
|
-
"@secondlayer/verify": "^0.
|
|
202643
|
+
"@secondlayer/subgraphs": "^6.6.2",
|
|
202644
|
+
"@secondlayer/verify": "^0.4.0",
|
|
202645
202645
|
esbuild: "^0.28.2",
|
|
202646
202646
|
"smol-toml": "^1.8.0",
|
|
202647
202647
|
zod: "^4.3.6"
|
|
@@ -204121,7 +204121,7 @@ async function readCheckpoint(path) {
|
|
|
204121
204121
|
function defaultSource(node) {
|
|
204122
204122
|
const api = new SecondlayerProofSource({
|
|
204123
204123
|
baseUrl: resolveApiUrl(),
|
|
204124
|
-
apiKey: resolveDataPlaneKey()
|
|
204124
|
+
apiKey: resolveDataPlaneKey()
|
|
204125
204125
|
});
|
|
204126
204126
|
return node ? { ...api, ...new NodeRpcProofSource({ nodeUrl: node }) } : api;
|
|
204127
204127
|
}
|
|
@@ -208113,7 +208113,7 @@ async function runLoginFlow(options = {}) {
|
|
|
208113
208113
|
}
|
|
208114
208114
|
}
|
|
208115
208115
|
function registerLoginCommand(program) {
|
|
208116
|
-
program.command("login"
|
|
208116
|
+
program.command("login").description("Log in to Secondlayer (magic-link email)").option("--force", "Skip the already-logged-in check and re-run the flow").option("--with-token", "Read an API key from stdin (non-interactive)").option("--credits", "Log in to the archive credits account used by bootstrap, repair, and credits").addHelpText("after", `
|
|
208117
208117
|
Examples:
|
|
208118
208118
|
$ secondlayer login --credits
|
|
208119
208119
|
$ echo "$SECONDLAYER_API_KEY" | secondlayer login --with-token`).action((opts) => opts.withToken ? runTokenLogin({ credits: opts.credits }) : runLoginFlow({ force: opts.force, credits: opts.credits }));
|
|
@@ -208143,7 +208143,7 @@ async function runLogout(opts = {}) {
|
|
|
208143
208143
|
success(`Logged out (${target}).`);
|
|
208144
208144
|
}
|
|
208145
208145
|
function registerLogoutCommand(program) {
|
|
208146
|
-
program.command("logout"
|
|
208146
|
+
program.command("logout").description("Log out and revoke the local session").option("--credits", "Log out of the archive credits account used by bootstrap, repair, and credits").action((opts) => runLogout({ credits: opts.credits }));
|
|
208147
208147
|
}
|
|
208148
208148
|
// src/commands/uninstall.ts
|
|
208149
208149
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
@@ -209840,5 +209840,5 @@ registerCreditsCommand(program);
|
|
|
209840
209840
|
registerArchiveCommand(program);
|
|
209841
209841
|
program.parse();
|
|
209842
209842
|
|
|
209843
|
-
//# debugId=
|
|
209843
|
+
//# debugId=2DB2F04CDE6074B264756E2164756E21
|
|
209844
209844
|
//# sourceMappingURL=cli.js.map
|