@secondlayer/cli 8.10.0 → 8.10.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 +11 -5
- package/dist/cli.js.map +3 -3
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -31811,7 +31811,7 @@ var {
|
|
|
31811
31811
|
// package.json
|
|
31812
31812
|
var package_default = {
|
|
31813
31813
|
name: "@secondlayer/cli",
|
|
31814
|
-
version: "8.10.
|
|
31814
|
+
version: "8.10.2",
|
|
31815
31815
|
repository: {
|
|
31816
31816
|
type: "git",
|
|
31817
31817
|
url: "git+https://github.com/ryanwaits/secondlayer.git",
|
|
@@ -31861,10 +31861,10 @@ var package_default = {
|
|
|
31861
31861
|
"@inquirer/prompts": "^8.2.0",
|
|
31862
31862
|
"@secondlayer/bundler": "^0.3.7",
|
|
31863
31863
|
"@secondlayer/scaffold": "^1.3.0",
|
|
31864
|
-
"@secondlayer/sdk": "^6.
|
|
31864
|
+
"@secondlayer/sdk": "^6.23.1",
|
|
31865
31865
|
"@secondlayer/shared": "^6.32.0",
|
|
31866
31866
|
"@secondlayer/stacks": "^2.5.1",
|
|
31867
|
-
"@secondlayer/subgraphs": "^3.14.
|
|
31867
|
+
"@secondlayer/subgraphs": "^3.14.1",
|
|
31868
31868
|
"@biomejs/js-api": "^0.7.0",
|
|
31869
31869
|
"@biomejs/wasm-nodejs": "^1.9.0",
|
|
31870
31870
|
esbuild: "^0.19.0",
|
|
@@ -32042,7 +32042,13 @@ async function getSubgraphGaps(name, opts) {
|
|
|
32042
32042
|
return (await getPlatformClient()).subgraphs.gaps(name, opts);
|
|
32043
32043
|
}
|
|
32044
32044
|
async function getContractPrintSchema(contractId) {
|
|
32045
|
-
|
|
32045
|
+
let client;
|
|
32046
|
+
try {
|
|
32047
|
+
client = await getPlatformClient();
|
|
32048
|
+
} catch {
|
|
32049
|
+
client = new SecondLayer({ baseUrl: resolveApiUrl() });
|
|
32050
|
+
}
|
|
32051
|
+
return client.index.printSchema(contractId);
|
|
32046
32052
|
}
|
|
32047
32053
|
async function getAccountProfile() {
|
|
32048
32054
|
return httpPlatform("/api/accounts/me");
|
|
@@ -38094,5 +38100,5 @@ registerAccountCommand(program);
|
|
|
38094
38100
|
registerKeysCommand(program);
|
|
38095
38101
|
program.parse();
|
|
38096
38102
|
|
|
38097
|
-
//# debugId=
|
|
38103
|
+
//# debugId=7E2863B5D8958DF264756E2164756E21
|
|
38098
38104
|
//# sourceMappingURL=cli.js.map
|