@secondlayer/cli 8.6.1 → 8.6.2
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 -7
- package/dist/cli.js.map +4 -4
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -32354,7 +32354,7 @@ var {
|
|
|
32354
32354
|
// package.json
|
|
32355
32355
|
var package_default = {
|
|
32356
32356
|
name: "@secondlayer/cli",
|
|
32357
|
-
version: "8.6.
|
|
32357
|
+
version: "8.6.2",
|
|
32358
32358
|
repository: {
|
|
32359
32359
|
type: "git",
|
|
32360
32360
|
url: "git+https://github.com/ryanwaits/secondlayer.git",
|
|
@@ -32403,9 +32403,9 @@ var package_default = {
|
|
|
32403
32403
|
dependencies: {
|
|
32404
32404
|
"@inquirer/prompts": "^8.2.0",
|
|
32405
32405
|
"@secondlayer/bundler": "^0.3.7",
|
|
32406
|
-
"@secondlayer/sdk": "^6.
|
|
32407
|
-
"@secondlayer/shared": "^6.
|
|
32408
|
-
"@secondlayer/stacks": "^2.
|
|
32406
|
+
"@secondlayer/sdk": "^6.18.0",
|
|
32407
|
+
"@secondlayer/shared": "^6.28.0",
|
|
32408
|
+
"@secondlayer/stacks": "^2.4.0",
|
|
32409
32409
|
"@secondlayer/subgraphs": "^3.10.0",
|
|
32410
32410
|
"@biomejs/js-api": "^0.7.0",
|
|
32411
32411
|
"@biomejs/wasm-nodejs": "^1.9.0",
|
|
@@ -34631,6 +34631,7 @@ import { dirname as dirname5, join as join7, resolve as resolve2 } from "node:pa
|
|
|
34631
34631
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
34632
34632
|
import { confirm as confirm3 } from "@inquirer/prompts";
|
|
34633
34633
|
import { ByoBreakingChangeError } from "@secondlayer/sdk";
|
|
34634
|
+
import { TRAIT_STANDARDS } from "@secondlayer/stacks/clarity";
|
|
34634
34635
|
|
|
34635
34636
|
// src/generators/subgraph-scaffold.ts
|
|
34636
34637
|
init_format();
|
|
@@ -36348,8 +36349,8 @@ Examples:
|
|
|
36348
36349
|
process.exit(1);
|
|
36349
36350
|
}
|
|
36350
36351
|
const trait = options2.trait;
|
|
36351
|
-
if (trait && !
|
|
36352
|
-
error(
|
|
36352
|
+
if (trait && !TRAIT_STANDARDS.includes(trait)) {
|
|
36353
|
+
error(`--trait must be one of: ${TRAIT_STANDARDS.join(", ")}`);
|
|
36353
36354
|
process.exit(1);
|
|
36354
36355
|
}
|
|
36355
36356
|
if (!trait && !contractAddress) {
|
|
@@ -38458,5 +38459,5 @@ registerAccountCommand(program);
|
|
|
38458
38459
|
registerKeysCommand(program);
|
|
38459
38460
|
program.parse();
|
|
38460
38461
|
|
|
38461
|
-
//# debugId=
|
|
38462
|
+
//# debugId=A3ACB9F171C1F73C64756E2164756E21
|
|
38462
38463
|
//# sourceMappingURL=cli.js.map
|