@secondlayer/cli 19.0.2 → 19.1.0
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 +5 -5
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -28930,7 +28930,7 @@ function withErrorHandling(fn, options) {
|
|
|
28930
28930
|
};
|
|
28931
28931
|
}
|
|
28932
28932
|
async function getPlatformClient() {
|
|
28933
|
-
const { apiUrl, ephemeralKey } = await
|
|
28933
|
+
const { apiUrl, ephemeralKey } = await resolveHostedAuth();
|
|
28934
28934
|
return new SecondLayer2({ baseUrl: apiUrl, apiKey: ephemeralKey });
|
|
28935
28935
|
}
|
|
28936
28936
|
async function listSubgraphsApi() {
|
|
@@ -199226,7 +199226,7 @@ function formatSubgraphSync(sync) {
|
|
|
199226
199226
|
}
|
|
199227
199227
|
function registerSubgraphsCommand(program) {
|
|
199228
199228
|
const subgraphs = program.command("subgraphs").description("Manage materialized subgraphs");
|
|
199229
|
-
subgraphs.hook("preAction", () =>
|
|
199229
|
+
subgraphs.hook("preAction", () => assertInstanceOrAccountKey());
|
|
199230
199230
|
subgraphs.command("create <name>").description("Start here: create a new subgraph definition file (see also: subgraphs scaffold)").option("--from-contract <contractId>", "Generate sources/schema/handlers from the contract's observed print events (requires network)").option("--trait <std>", "Trait-scoped source (sip-009|sip-010|sip-013) — no contract id").option("--blank", "Write a minimal stx_transfer starter (native STX, not every FT)").option("--table-per-topic", "With --from-contract: one table per print topic instead of a single wide table").addHelpText("after", `
|
|
199231
199231
|
create requires one of --from-contract, --trait, or --blank. Prefer
|
|
199232
199232
|
--from-contract: it infers sources/schema/handlers from print events already
|
|
@@ -202502,7 +202502,7 @@ var {
|
|
|
202502
202502
|
// package.json
|
|
202503
202503
|
var package_default = {
|
|
202504
202504
|
name: "@secondlayer/cli",
|
|
202505
|
-
version: "19.0
|
|
202505
|
+
version: "19.1.0",
|
|
202506
202506
|
description: "Run a Stacks index on your own hardware — set it up, restore verified history, and keep it current.",
|
|
202507
202507
|
repository: {
|
|
202508
202508
|
type: "git",
|
|
@@ -202544,7 +202544,7 @@ var package_default = {
|
|
|
202544
202544
|
"@secondlayer/sdk": "^14.0.0",
|
|
202545
202545
|
"@secondlayer/shared": "^11.19.1",
|
|
202546
202546
|
"@secondlayer/stacks": "^6.1.1",
|
|
202547
|
-
"@secondlayer/subgraphs": "^6.3.
|
|
202547
|
+
"@secondlayer/subgraphs": "^6.3.3",
|
|
202548
202548
|
esbuild: "^0.28.2",
|
|
202549
202549
|
"smol-toml": "^1.8.0",
|
|
202550
202550
|
zod: "^4.3.6"
|
|
@@ -209282,5 +209282,5 @@ registerCreditsCommand(program);
|
|
|
209282
209282
|
registerArchiveCommand(program);
|
|
209283
209283
|
program.parse();
|
|
209284
209284
|
|
|
209285
|
-
//# debugId=
|
|
209285
|
+
//# debugId=908AD424E2D6EC7C64756E2164756E21
|
|
209286
209286
|
//# sourceMappingURL=cli.js.map
|