@secondlayer/cli 1.6.2 → 1.6.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 +4 -3
- package/dist/cli.js.map +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -32552,7 +32552,7 @@ var {
|
|
|
32552
32552
|
// package.json
|
|
32553
32553
|
var package_default = {
|
|
32554
32554
|
name: "@secondlayer/cli",
|
|
32555
|
-
version: "1.6.
|
|
32555
|
+
version: "1.6.3",
|
|
32556
32556
|
description: "CLI for streams, subgraphs, and real-time blockchain indexing on Stacks",
|
|
32557
32557
|
type: "module",
|
|
32558
32558
|
bin: {
|
|
@@ -35412,11 +35412,12 @@ Stopped watching.`);
|
|
|
35412
35412
|
write: false
|
|
35413
35413
|
});
|
|
35414
35414
|
const handlerCode = new TextDecoder().decode(buildResult.outputFiles[0].contents);
|
|
35415
|
+
const { sourceKey } = await import("@secondlayer/subgraphs");
|
|
35415
35416
|
const result = await deploySubgraphApi({
|
|
35416
35417
|
name: def.name,
|
|
35417
35418
|
version: def.version,
|
|
35418
35419
|
description: def.description,
|
|
35419
|
-
sources: def.sources,
|
|
35420
|
+
sources: def.sources.map(sourceKey),
|
|
35420
35421
|
schema: def.schema,
|
|
35421
35422
|
handlerCode,
|
|
35422
35423
|
reindex: options2.reindex
|
|
@@ -36782,5 +36783,5 @@ registerWhoamiCommand(program);
|
|
|
36782
36783
|
registerReceiverCommand(program);
|
|
36783
36784
|
program.parse();
|
|
36784
36785
|
|
|
36785
|
-
//# debugId=
|
|
36786
|
+
//# debugId=02594D245228FE5164756E2164756E21
|
|
36786
36787
|
//# sourceMappingURL=cli.js.map
|