@secondlayer/cli 23.5.0 → 23.5.1
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 +5 -5
- package/dist/cli.js.map +3 -3
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -31916,7 +31916,7 @@ var {
|
|
|
31916
31916
|
// package.json
|
|
31917
31917
|
var package_default = {
|
|
31918
31918
|
name: "@secondlayer/cli",
|
|
31919
|
-
version: "23.5.
|
|
31919
|
+
version: "23.5.1",
|
|
31920
31920
|
description: "Run a Stacks index on your own hardware — set it up, restore verified history, and keep it current.",
|
|
31921
31921
|
repository: {
|
|
31922
31922
|
type: "git",
|
|
@@ -31965,8 +31965,8 @@ var package_default = {
|
|
|
31965
31965
|
"@inquirer/prompts": "^8.2.0",
|
|
31966
31966
|
"@secondlayer/bundler": "^0.7.3",
|
|
31967
31967
|
"@secondlayer/scaffold": "^1.6.3",
|
|
31968
|
-
"@secondlayer/sdk": "^16.3.
|
|
31969
|
-
"@secondlayer/shared": "^15.3.
|
|
31968
|
+
"@secondlayer/sdk": "^16.3.2",
|
|
31969
|
+
"@secondlayer/shared": "^15.3.2",
|
|
31970
31970
|
"@secondlayer/stacks": "^6.6.0",
|
|
31971
31971
|
"@secondlayer/subgraphs": "^8.1.0",
|
|
31972
31972
|
"@secondlayer/verify": "^0.6.3",
|
|
@@ -34537,7 +34537,7 @@ function registerCreditsCommand(program) {
|
|
|
34537
34537
|
credits.command("buy").description("Open a one-time Stripe checkout for credits").requiredOption("--email <email>", "Receipt email; becomes the account").option("--pack <usd>", `One of ${PACKS.join(", ")}`, "25").option("--json", "Output as JSON").action((opts) => runBuy(opts));
|
|
34538
34538
|
credits.command("balance").description("Show prepaid archive credit balance").option("--json", "Output as JSON").action((opts) => runBalance(opts));
|
|
34539
34539
|
credits.command("usage").description("Rows delivered per day: free vs paid, by source").option("--days <n>", "Days to show (max 30)", "30").option("--json", "Output as JSON").action((opts) => runUsage(opts));
|
|
34540
|
-
credits.command("refill").description("Opt-in auto-refill when the balance drops under a threshold").option("--below <usd>", "Trigger when balance is under this USD amount").option("--pack <usd>", `Pack to buy (${PACKS.join(", ")})`, "25").option("--off", "Turn auto-refill off").option("--json", "Output as JSON").action((opts) => runRefill(opts));
|
|
34540
|
+
credits.command("refill").description("Opt-in auto-refill when the balance drops under a threshold. Needs a signed-in session (`secondlayer login`), not an API key").option("--below <usd>", "Trigger when balance is under this USD amount").option("--pack <usd>", `Pack to buy (${PACKS.join(", ")})`, "25").option("--off", "Turn auto-refill off").option("--json", "Output as JSON").action((opts) => runRefill(opts));
|
|
34541
34541
|
}
|
|
34542
34542
|
async function runRefill(opts) {
|
|
34543
34543
|
if (!opts.off && opts.below === undefined) {
|
|
@@ -37768,5 +37768,5 @@ registerCreditsCommand(program);
|
|
|
37768
37768
|
registerArchiveCommand(program);
|
|
37769
37769
|
program.parse();
|
|
37770
37770
|
|
|
37771
|
-
//# debugId=
|
|
37771
|
+
//# debugId=2C10A69C0E77EE3B64756E2164756E21
|
|
37772
37772
|
//# sourceMappingURL=cli.js.map
|