@secondlayer/cli 1.6.2 → 1.6.4

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 CHANGED
@@ -32552,7 +32552,7 @@ var {
32552
32552
  // package.json
32553
32553
  var package_default = {
32554
32554
  name: "@secondlayer/cli",
32555
- version: "1.6.2",
32555
+ version: "1.6.4",
32556
32556
  description: "CLI for streams, subgraphs, and real-time blockchain indexing on Stacks",
32557
32557
  type: "module",
32558
32558
  bin: {
@@ -32596,7 +32596,7 @@ var package_default = {
32596
32596
  "@secondlayer/sdk": "^0.6.0",
32597
32597
  "@secondlayer/shared": "^0.5.0",
32598
32598
  "@secondlayer/stacks": "^0.2.0",
32599
- "@secondlayer/subgraphs": "^0.5.0",
32599
+ "@secondlayer/subgraphs": "^0.5.1",
32600
32600
  "@biomejs/js-api": "^0.7.0",
32601
32601
  "@biomejs/wasm-nodejs": "^1.9.0",
32602
32602
  esbuild: "^0.19.0",
@@ -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=2EB552BA8CA7A84564756E2164756E21
36786
+ //# debugId=391F98E6D21B846664756E2164756E21
36786
36787
  //# sourceMappingURL=cli.js.map