@settlemint/sdk-cli 1.0.2-main6d0266bb → 1.0.2-main87285977
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 +125 -48
- package/dist/cli.js.map +28 -29
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -19613,7 +19613,7 @@ var require_lib4 = __commonJS((exports, module) => {
|
|
|
19613
19613
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
19614
19614
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
19615
19615
|
var getPathInfo = (cmd, {
|
|
19616
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19616
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
19617
19617
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
19618
19618
|
delimiter: optDelimiter = delimiter
|
|
19619
19619
|
}) => {
|
|
@@ -19817,7 +19817,7 @@ var require_lib5 = __commonJS((exports, module) => {
|
|
|
19817
19817
|
let pathToInitial;
|
|
19818
19818
|
try {
|
|
19819
19819
|
pathToInitial = which.sync(initialCmd, {
|
|
19820
|
-
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19820
|
+
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
19821
19821
|
pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
|
|
19822
19822
|
}).toLowerCase();
|
|
19823
19823
|
} catch (err) {
|
|
@@ -20534,7 +20534,7 @@ var require_lib6 = __commonJS((exports, module) => {
|
|
|
20534
20534
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
20535
20535
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
20536
20536
|
var getPathInfo = (cmd, {
|
|
20537
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
20537
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
20538
20538
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
20539
20539
|
delimiter: optDelimiter = delimiter
|
|
20540
20540
|
}) => {
|
|
@@ -223327,7 +223327,7 @@ ${Bt.cyan(Yt)}
|
|
|
223327
223327
|
code: "ENOENT"
|
|
223328
223328
|
}), getPathInfo = (e9, t7) => {
|
|
223329
223329
|
var r6 = t7.colon || or;
|
|
223330
|
-
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
223330
|
+
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
|
|
223331
223331
|
var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
223332
223332
|
var a5 = nr ? n6.split(r6) : [""];
|
|
223333
223333
|
if (nr) {
|
|
@@ -226464,7 +226464,7 @@ ${whileRunning(e9)}`;
|
|
|
226464
226464
|
};
|
|
226465
226465
|
ni = Object.assign(async function _main() {
|
|
226466
226466
|
var e9 = new Cli({
|
|
226467
|
-
binaryVersion: "1.0.2-
|
|
226467
|
+
binaryVersion: "1.0.2-main87285977",
|
|
226468
226468
|
binaryLabel: "gql.tada CLI",
|
|
226469
226469
|
binaryName: "gql.tada"
|
|
226470
226470
|
});
|
|
@@ -234964,7 +234964,7 @@ var require_which2 = __commonJS((exports, module) => {
|
|
|
234964
234964
|
const colon = opt2.colon || COLON;
|
|
234965
234965
|
const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
|
|
234966
234966
|
...isWindows2 ? [process.cwd()] : [],
|
|
234967
|
-
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
234967
|
+
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
|
|
234968
234968
|
];
|
|
234969
234969
|
const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
234970
234970
|
const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
@@ -267198,6 +267198,7 @@ var DotEnvSchema = z.object({
|
|
|
267198
267198
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: UrlSchema.optional(),
|
|
267199
267199
|
SETTLEMINT_PORTAL_REST_ENDPOINT: UrlSchema.optional(),
|
|
267200
267200
|
SETTLEMINT_HD_PRIVATE_KEY: UniqueNameSchema.optional(),
|
|
267201
|
+
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY: UniqueNameSchema.optional(),
|
|
267201
267202
|
SETTLEMINT_MINIO: UniqueNameSchema.optional(),
|
|
267202
267203
|
SETTLEMINT_MINIO_ENDPOINT: UrlSchema.optional(),
|
|
267203
267204
|
SETTLEMINT_MINIO_ACCESS_KEY: z.string().optional(),
|
|
@@ -267467,7 +267468,7 @@ var spinner = async (options) => {
|
|
|
267467
267468
|
}
|
|
267468
267469
|
const spinner2 = yoctoSpinner().start(options.startMessage);
|
|
267469
267470
|
try {
|
|
267470
|
-
const result = await options.task();
|
|
267471
|
+
const result = await options.task(spinner2);
|
|
267471
267472
|
spinner2.success(options.stopMessage);
|
|
267472
267473
|
return result;
|
|
267473
267474
|
} catch (error) {
|
|
@@ -267481,7 +267482,7 @@ ${error.stack}`));
|
|
|
267481
267482
|
var package_default = {
|
|
267482
267483
|
name: "@settlemint/sdk-cli",
|
|
267483
267484
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
267484
|
-
version: "1.0.2-
|
|
267485
|
+
version: "1.0.2-main87285977",
|
|
267485
267486
|
type: "module",
|
|
267486
267487
|
private: false,
|
|
267487
267488
|
license: "FSL-1.1-MIT",
|
|
@@ -267534,8 +267535,8 @@ var package_default = {
|
|
|
267534
267535
|
"@inquirer/input": "4.1.3",
|
|
267535
267536
|
"@inquirer/password": "4.0.6",
|
|
267536
267537
|
"@inquirer/select": "4.0.6",
|
|
267537
|
-
"@settlemint/sdk-js": "1.0.2-
|
|
267538
|
-
"@settlemint/sdk-utils": "1.0.2-
|
|
267538
|
+
"@settlemint/sdk-js": "1.0.2-main87285977",
|
|
267539
|
+
"@settlemint/sdk-utils": "1.0.2-main87285977",
|
|
267539
267540
|
"get-tsconfig": "4.8.1",
|
|
267540
267541
|
giget: "1.2.3"
|
|
267541
267542
|
},
|
|
@@ -267835,7 +267836,7 @@ var et = l((Re, tt) => {
|
|
|
267835
267836
|
var g = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y = h("path"), Bt = g ? ";" : ":", V = U(), J = (t) => Object.assign(new Error(`not found: ${t}`), { code: "ENOENT" }), Q = (t, e) => {
|
|
267836
267837
|
let n = e.colon || Bt, r = t.match(/\//) || g && t.match(/\\/) ? [""] : [
|
|
267837
267838
|
...g ? [process.cwd()] : [],
|
|
267838
|
-
...(e.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
267839
|
+
...(e.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.6toNhE4gLn:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(n)
|
|
267839
267840
|
], s = g ? e.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "", o = g ? s.split(n) : [""];
|
|
267840
267841
|
return g && t.indexOf(".") !== -1 && o[0] !== "" && o.unshift(""), {
|
|
267841
267842
|
pathEnv: r,
|
|
@@ -268394,6 +268395,7 @@ var DotEnvSchema2 = z.object({
|
|
|
268394
268395
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: UrlSchema2.optional(),
|
|
268395
268396
|
SETTLEMINT_PORTAL_REST_ENDPOINT: UrlSchema2.optional(),
|
|
268396
268397
|
SETTLEMINT_HD_PRIVATE_KEY: UniqueNameSchema2.optional(),
|
|
268398
|
+
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY: UniqueNameSchema2.optional(),
|
|
268397
268399
|
SETTLEMINT_MINIO: UniqueNameSchema2.optional(),
|
|
268398
268400
|
SETTLEMINT_MINIO_ENDPOINT: UrlSchema2.optional(),
|
|
268399
268401
|
SETTLEMINT_MINIO_ACCESS_KEY: z.string().optional(),
|
|
@@ -271346,6 +271348,7 @@ var DotEnvSchema3 = z.object({
|
|
|
271346
271348
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: UrlSchema3.optional(),
|
|
271347
271349
|
SETTLEMINT_PORTAL_REST_ENDPOINT: UrlSchema3.optional(),
|
|
271348
271350
|
SETTLEMINT_HD_PRIVATE_KEY: UniqueNameSchema3.optional(),
|
|
271351
|
+
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY: UniqueNameSchema3.optional(),
|
|
271349
271352
|
SETTLEMINT_MINIO: UniqueNameSchema3.optional(),
|
|
271350
271353
|
SETTLEMINT_MINIO_ENDPOINT: UrlSchema3.optional(),
|
|
271351
271354
|
SETTLEMINT_MINIO_ACCESS_KEY: z.string().optional(),
|
|
@@ -273567,13 +273570,13 @@ async function applicationAccessTokenPrompt(env2, application, settlemint, accep
|
|
|
273567
273570
|
}
|
|
273568
273571
|
}
|
|
273569
273572
|
return esm_default5({
|
|
273570
|
-
message: "What is the application access token for your application in SettleMint?",
|
|
273573
|
+
message: "What is the application access token for your application in SettleMint? (format: sm_aat_...)",
|
|
273571
273574
|
validate(value4) {
|
|
273572
273575
|
try {
|
|
273573
273576
|
validate3(ApplicationAccessTokenSchema3, value4);
|
|
273574
273577
|
return true;
|
|
273575
273578
|
} catch (error5) {
|
|
273576
|
-
return "Invalid application access token";
|
|
273579
|
+
return "Invalid application access token, it should start with sm_aat_...";
|
|
273577
273580
|
}
|
|
273578
273581
|
}
|
|
273579
273582
|
});
|
|
@@ -273601,7 +273604,7 @@ async function applicationPrompt(env2, applications, accept) {
|
|
|
273601
273604
|
const application = await esm_default2({
|
|
273602
273605
|
message: "Which application do you want to connect to?",
|
|
273603
273606
|
choices: applications.map((applications2) => ({
|
|
273604
|
-
name: applications2.name
|
|
273607
|
+
name: `${applications2.name} (${applications2.uniqueName})`,
|
|
273605
273608
|
value: applications2
|
|
273606
273609
|
})),
|
|
273607
273610
|
default: defaultApplication
|
|
@@ -273637,7 +273640,7 @@ async function servicePrompt({
|
|
|
273637
273640
|
return services[0];
|
|
273638
273641
|
}
|
|
273639
273642
|
const choices = services.map((service) => ({
|
|
273640
|
-
name: service.name
|
|
273643
|
+
name: `${service.name} (${service.uniqueName})`,
|
|
273641
273644
|
value: service
|
|
273642
273645
|
}));
|
|
273643
273646
|
if (!isRequired) {
|
|
@@ -273972,7 +273975,7 @@ async function workspacePrompt(env2, workspaces, accept) {
|
|
|
273972
273975
|
const workspace = await esm_default2({
|
|
273973
273976
|
message: "Which workspace do you want to connect to?",
|
|
273974
273977
|
choices: workspaces.map((workspace2) => ({
|
|
273975
|
-
name: workspace2.name
|
|
273978
|
+
name: `${workspace2.name} (${workspace2.uniqueName})`,
|
|
273976
273979
|
value: workspace2
|
|
273977
273980
|
})),
|
|
273978
273981
|
default: defaultWorkspace
|
|
@@ -274961,13 +274964,13 @@ async function personalAccessTokenPrompt(env2, instance, accept) {
|
|
|
274961
274964
|
}
|
|
274962
274965
|
}
|
|
274963
274966
|
return esm_default5({
|
|
274964
|
-
message: "What is your personal access token in SettleMint?",
|
|
274967
|
+
message: "What is your personal access token in SettleMint? (format: sm_pat_...)",
|
|
274965
274968
|
validate(value4) {
|
|
274966
274969
|
try {
|
|
274967
274970
|
validate3(PersonalAccessTokenSchema3, value4);
|
|
274968
274971
|
return true;
|
|
274969
274972
|
} catch (error5) {
|
|
274970
|
-
return "Invalid personal access token";
|
|
274973
|
+
return "Invalid personal access token, it should start with sm_pat_...";
|
|
274971
274974
|
}
|
|
274972
274975
|
}
|
|
274973
274976
|
});
|
|
@@ -275110,22 +275113,38 @@ async function waitForCompletion({
|
|
|
275110
275113
|
return spinner({
|
|
275111
275114
|
startMessage: `Waiting for ${type4} to be ${getActionLabel(action)}`,
|
|
275112
275115
|
stopMessage: `Waiting for ${type4} to be ${getActionLabel(action)}`,
|
|
275113
|
-
task: async () => {
|
|
275116
|
+
task: async (spinner2) => {
|
|
275114
275117
|
const startTime = Date.now();
|
|
275115
275118
|
while (true) {
|
|
275116
275119
|
try {
|
|
275117
275120
|
const resource = await service.read(uniqueName);
|
|
275118
275121
|
if (resource.status === "COMPLETED") {
|
|
275119
|
-
|
|
275122
|
+
if (spinner2) {
|
|
275123
|
+
spinner2.text = `${capitalizeFirstLetter(type4)} is ${getActionLabel(action)}`;
|
|
275124
|
+
} else {
|
|
275125
|
+
note(`${capitalizeFirstLetter(type4)} is ${getActionLabel(action)}`);
|
|
275126
|
+
}
|
|
275120
275127
|
return true;
|
|
275121
275128
|
}
|
|
275122
275129
|
if (resource.status === "FAILED") {
|
|
275123
|
-
|
|
275130
|
+
if (spinner2) {
|
|
275131
|
+
spinner2.text = `${capitalizeFirstLetter(type4)} failed to ${getActionLabel(action)}`;
|
|
275132
|
+
} else {
|
|
275133
|
+
note(`${capitalizeFirstLetter(type4)} failed to ${getActionLabel(action)}`);
|
|
275134
|
+
}
|
|
275124
275135
|
return true;
|
|
275125
275136
|
}
|
|
275126
|
-
|
|
275137
|
+
if (spinner2) {
|
|
275138
|
+
spinner2.text = `${capitalizeFirstLetter(type4)} is not ready yet (status: ${resource.status})`;
|
|
275139
|
+
} else {
|
|
275140
|
+
note(`${capitalizeFirstLetter(type4)} is not ready yet (status: ${resource.status})`);
|
|
275141
|
+
}
|
|
275127
275142
|
} catch (error5) {
|
|
275128
|
-
|
|
275143
|
+
if (spinner2) {
|
|
275144
|
+
spinner2.text = `${capitalizeFirstLetter(type4)} is not ready yet (status: UNKNOWN)`;
|
|
275145
|
+
} else {
|
|
275146
|
+
note(`${capitalizeFirstLetter(type4)} is not ready yet (status: UNKNOWN)`);
|
|
275147
|
+
}
|
|
275129
275148
|
}
|
|
275130
275149
|
if (Date.now() - startTime > maxTimeout) {
|
|
275131
275150
|
throw new TimeoutError(`Operation timed out after ${maxTimeout / 60000} minutes for ${type4} with unique name ${uniqueName}`);
|
|
@@ -275222,13 +275241,14 @@ async function regionPrompt(provider, argument) {
|
|
|
275222
275241
|
function getCreateCommand({
|
|
275223
275242
|
name: name2,
|
|
275224
275243
|
type: type4,
|
|
275244
|
+
subType,
|
|
275225
275245
|
alias,
|
|
275226
275246
|
examples,
|
|
275227
275247
|
execute: execute2,
|
|
275228
275248
|
usePersonalAccessToken = true,
|
|
275229
275249
|
requiresDeployment = true
|
|
275230
275250
|
}) {
|
|
275231
|
-
const cmd2 = new Command(sanitizeCommandName(name2)).alias(alias).description(`Create a new ${type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("--prod", "Connect to production environment");
|
|
275251
|
+
const cmd2 = new Command(sanitizeCommandName(name2)).alias(alias).description(`Create a new ${subType ? `${subType} ${type4}` : type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${subType ? `${subType} ${type4}` : type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("--prod", "Connect to production environment");
|
|
275232
275252
|
if (requiresDeployment) {
|
|
275233
275253
|
cmd2.option("-w, --wait", "Wait until deployed").option("-r, --restart-if-timeout", "Restart if wait time is exceeded");
|
|
275234
275254
|
}
|
|
@@ -275306,6 +275326,7 @@ function blockchainNetworkBesuCreateCommand() {
|
|
|
275306
275326
|
return getCreateCommand({
|
|
275307
275327
|
name: "besu",
|
|
275308
275328
|
type: "blockchain network",
|
|
275329
|
+
subType: "Besu",
|
|
275309
275330
|
alias: "b",
|
|
275310
275331
|
execute: (cmd2, baseAction) => {
|
|
275311
275332
|
addClusterServiceArgs(cmd2).option("-a, --application <application>", "The unique name of the application to create the network in (defaults to application from env)").requiredOption("--node-name <name>", "Name of the node").option("--chain-id <chainId>", "The chain ID for the network", parseNumber).option("--contract-size-limit <limit>", "Maximum contract size limit", parseNumber).option("--evm-stack-size <size>", "EVM stack size", parseNumber).option("--gas-limit <limit>", "Block gas limit").option("--gas-price <price>", "Gas price in wei", parseNumber).option("--seconds-per-block <seconds>", "Block time in seconds", parseNumber).action(async (name2, {
|
|
@@ -275701,6 +275722,7 @@ function blockchainNodeBesuCreateCommand() {
|
|
|
275701
275722
|
return getCreateCommand({
|
|
275702
275723
|
name: "besu",
|
|
275703
275724
|
type: "blockchain node",
|
|
275725
|
+
subType: "Besu",
|
|
275704
275726
|
alias: "b",
|
|
275705
275727
|
execute: (cmd2, baseAction) => {
|
|
275706
275728
|
addClusterServiceArgs(cmd2).option("-a, --application <application>", "The application unique name to create the node in (defaults to application from env)").option("--blockchain-network <blockchainNetwork>", "Blockchain network unique name to add this node to").option("--node-identity <nodeIdentity>", "EC DSA P256 private key to use as the node identity").addOption(new Option("--node-type <nodeType>", "Type of the node").choices(["VALIDATOR", "NON_VALIDATOR"]).makeOptionMandatory()).action(async (name2, {
|
|
@@ -275789,6 +275811,7 @@ function blockscoutInsightsCreateCommand() {
|
|
|
275789
275811
|
return getCreateCommand({
|
|
275790
275812
|
name: "blockscout",
|
|
275791
275813
|
type: "insights",
|
|
275814
|
+
subType: "Blockscout",
|
|
275792
275815
|
alias: "bs",
|
|
275793
275816
|
execute: (cmd2, baseAction) => {
|
|
275794
275817
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--load-balancer <loadBalancer>", "Load Balancer unique name (mutually exclusive with blockchain-node)").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name (mutually exclusive with load-balancer)").action(async (name2, { application, provider, region, size, type: type4, blockchainNode, loadBalancer, acceptDefaults, ...defaultArgs }) => {
|
|
@@ -275866,6 +275889,7 @@ function hasuraIntegrationCreateCommand() {
|
|
|
275866
275889
|
return getCreateCommand({
|
|
275867
275890
|
name: "hasura",
|
|
275868
275891
|
type: "integration tool",
|
|
275892
|
+
subType: "Hasura",
|
|
275869
275893
|
alias: "ha",
|
|
275870
275894
|
execute: (cmd2, baseAction) => {
|
|
275871
275895
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").action(async (name2, { application, provider, region, size, type: type4, ...defaultArgs }) => {
|
|
@@ -275925,6 +275949,7 @@ function graphMiddlewareCreateCommand() {
|
|
|
275925
275949
|
return getCreateCommand({
|
|
275926
275950
|
name: "graph",
|
|
275927
275951
|
type: "middleware",
|
|
275952
|
+
subType: "The Graph",
|
|
275928
275953
|
alias: "gr",
|
|
275929
275954
|
execute: (cmd2, baseAction) => {
|
|
275930
275955
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name").action(async (name2, { application, blockchainNode, provider, region, size, type: type4, acceptDefaults, ...defaultArgs }) => {
|
|
@@ -275995,6 +276020,7 @@ function smartContractPortalMiddlewareCreateCommand() {
|
|
|
275995
276020
|
return getCreateCommand({
|
|
275996
276021
|
name: "smart-contract-portal",
|
|
275997
276022
|
type: "middleware",
|
|
276023
|
+
subType: "Smart Contract Portal",
|
|
275998
276024
|
alias: "scp",
|
|
275999
276025
|
execute: (cmd2, baseAction) => {
|
|
276000
276026
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--load-balancer <loadBalancer>", "Load Balancer unique name (mutually exclusive with blockchain-node)").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name (mutually exclusive with load-balancer)").option("--abis <abis...>", "Path to abi file(s)").option("--include-predeployed-abis <includePredeployedAbis...>", "Include pre-deployed abis (run `settlemint platform config` to see available pre-deployed abis)").action(async (name2, {
|
|
@@ -276100,11 +276126,78 @@ function middlewareCreateCommand() {
|
|
|
276100
276126
|
return new Command("middleware").alias("mw").description("Create a middleware service in the SettleMint platform").addCommand(graphMiddlewareCreateCommand()).addCommand(smartContractPortalMiddlewareCreateCommand());
|
|
276101
276127
|
}
|
|
276102
276128
|
|
|
276129
|
+
// src/commands/platform/private-key/accessible-ecdsa-p256/create.ts
|
|
276130
|
+
function privateKeyAccessibleCreateCommand() {
|
|
276131
|
+
return getCreateCommand({
|
|
276132
|
+
name: "ACCESSIBLE-ECDSA-P256",
|
|
276133
|
+
type: "private key",
|
|
276134
|
+
subType: "ACCESSIBLE-ECDSA-P256",
|
|
276135
|
+
alias: "acc",
|
|
276136
|
+
execute: (cmd2, baseAction) => {
|
|
276137
|
+
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name").action(async (name2, { application, blockchainNode, provider, region, size, type: type4, acceptDefaults, ...defaultArgs }) => {
|
|
276138
|
+
return baseAction({
|
|
276139
|
+
...defaultArgs,
|
|
276140
|
+
acceptDefaults,
|
|
276141
|
+
provider,
|
|
276142
|
+
region
|
|
276143
|
+
}, async (settlemint, env2) => {
|
|
276144
|
+
const applicationUniqueName = application ?? env2.SETTLEMINT_APPLICATION;
|
|
276145
|
+
if (!applicationUniqueName) {
|
|
276146
|
+
return missingApplication();
|
|
276147
|
+
}
|
|
276148
|
+
let blockchainNodeUniqueName = blockchainNode;
|
|
276149
|
+
if (!blockchainNodeUniqueName) {
|
|
276150
|
+
const blockchainNodes = await settlemint.blockchainNode.list(applicationUniqueName);
|
|
276151
|
+
const node = await blockchainNodePrompt({
|
|
276152
|
+
env: env2,
|
|
276153
|
+
nodes: blockchainNodes,
|
|
276154
|
+
accept: acceptDefaults,
|
|
276155
|
+
isRequired: true
|
|
276156
|
+
});
|
|
276157
|
+
if (!node) {
|
|
276158
|
+
return nothingSelectedError("blockchain node");
|
|
276159
|
+
}
|
|
276160
|
+
blockchainNodeUniqueName = node.uniqueName;
|
|
276161
|
+
}
|
|
276162
|
+
const result = await settlemint.privateKey.create({
|
|
276163
|
+
name: name2,
|
|
276164
|
+
applicationUniqueName,
|
|
276165
|
+
privateKeyType: "ACCESSIBLE_ECDSA_P256",
|
|
276166
|
+
blockchainNodeUniqueNames: blockchainNodeUniqueName ? [blockchainNodeUniqueName] : [],
|
|
276167
|
+
provider,
|
|
276168
|
+
region,
|
|
276169
|
+
size,
|
|
276170
|
+
type: type4
|
|
276171
|
+
});
|
|
276172
|
+
return {
|
|
276173
|
+
result
|
|
276174
|
+
};
|
|
276175
|
+
});
|
|
276176
|
+
});
|
|
276177
|
+
},
|
|
276178
|
+
examples: [
|
|
276179
|
+
{
|
|
276180
|
+
description: "Create a private key and save as default",
|
|
276181
|
+
command: "platform create private-key accessible-ecdsa-p256 my-key --accept-defaults -d"
|
|
276182
|
+
},
|
|
276183
|
+
{
|
|
276184
|
+
description: "Create a private key in a different application",
|
|
276185
|
+
command: "platform create private-key accessible-ecdsa-p256 my-key --application my-app"
|
|
276186
|
+
},
|
|
276187
|
+
{
|
|
276188
|
+
description: "Create a private key linked to a blockchain node",
|
|
276189
|
+
command: "platform create private-key accessible-ecdsa-p256 my-key --blockchain-node node-123"
|
|
276190
|
+
}
|
|
276191
|
+
]
|
|
276192
|
+
});
|
|
276193
|
+
}
|
|
276194
|
+
|
|
276103
276195
|
// src/commands/platform/private-key/hd-ecdsa-p256/create.ts
|
|
276104
276196
|
function privateKeyHdCreateCommand() {
|
|
276105
276197
|
return getCreateCommand({
|
|
276106
276198
|
name: "HD-ECDSA-P256",
|
|
276107
276199
|
type: "private key",
|
|
276200
|
+
subType: "HD-ECDSA-P256",
|
|
276108
276201
|
alias: "hd",
|
|
276109
276202
|
execute: (cmd2, baseAction) => {
|
|
276110
276203
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name").action(async (name2, { application, blockchainNode, provider, region, size, type: type4, acceptDefaults, ...defaultArgs }) => {
|
|
@@ -276176,7 +276269,8 @@ function privateKeyHsmCreateCommand() {
|
|
|
276176
276269
|
return getCreateCommand({
|
|
276177
276270
|
name: "HSM-ECDSA-P256",
|
|
276178
276271
|
type: "private key",
|
|
276179
|
-
|
|
276272
|
+
subType: "HSM-ECDSA-P256",
|
|
276273
|
+
alias: "hsm",
|
|
276180
276274
|
execute: (cmd2, baseAction) => {
|
|
276181
276275
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name").action(async (name2, { application, blockchainNode, provider, region, size, type: type4, acceptDefaults, ...defaultArgs }) => {
|
|
276182
276276
|
return baseAction({
|
|
@@ -276238,7 +276332,7 @@ function privateKeyHsmCreateCommand() {
|
|
|
276238
276332
|
|
|
276239
276333
|
// src/commands/platform/private-key/create.ts
|
|
276240
276334
|
function privateKeyCreateCommand() {
|
|
276241
|
-
return new Command("private-key").alias("pk").description("Create a private key in the SettleMint platform").addCommand(privateKeyHdCreateCommand()).addCommand(privateKeyHsmCreateCommand());
|
|
276335
|
+
return new Command("private-key").alias("pk").description("Create a private key in the SettleMint platform").addCommand(privateKeyHdCreateCommand()).addCommand(privateKeyHsmCreateCommand()).addCommand(privateKeyAccessibleCreateCommand());
|
|
276242
276336
|
}
|
|
276243
276337
|
|
|
276244
276338
|
// src/commands/platform/storage/ipfs/create.ts
|
|
@@ -276246,6 +276340,7 @@ function ipfsStorageCreateCommand() {
|
|
|
276246
276340
|
return getCreateCommand({
|
|
276247
276341
|
name: "ipfs",
|
|
276248
276342
|
type: "storage",
|
|
276343
|
+
subType: "IPFS",
|
|
276249
276344
|
alias: "ip",
|
|
276250
276345
|
execute: (cmd2, baseAction) => {
|
|
276251
276346
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").action(async (name2, { application, provider, region, size, type: type4, ...defaultArgs }) => {
|
|
@@ -276298,6 +276393,7 @@ function minioStorageCreateCommand() {
|
|
|
276298
276393
|
return getCreateCommand({
|
|
276299
276394
|
name: "minio",
|
|
276300
276395
|
type: "storage",
|
|
276396
|
+
subType: "MinIO",
|
|
276301
276397
|
alias: "m",
|
|
276302
276398
|
execute: (cmd2, baseAction) => {
|
|
276303
276399
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").action(async (name2, { application, provider, region, size, type: type4, ...defaultArgs }) => {
|
|
@@ -276625,25 +276721,6 @@ function middlewareRestartCommand() {
|
|
|
276625
276721
|
return new Command("middleware").alias("mw").description("Restart a middleware service in the SettleMint platform").addCommand(graphRestartCommand()).addCommand(smartContractPortalRestartCommand());
|
|
276626
276722
|
}
|
|
276627
276723
|
|
|
276628
|
-
// src/commands/platform/private-key/hd-ecdsa-p256/restart.ts
|
|
276629
|
-
function hdEcdsaP256RestartCommand() {
|
|
276630
|
-
return getRestartCommand({
|
|
276631
|
-
name: "hd-ecdsa-p256",
|
|
276632
|
-
type: "private key",
|
|
276633
|
-
subType: "hd-ecdsa-p256",
|
|
276634
|
-
alias: "hd",
|
|
276635
|
-
envKey: "SETTLEMINT_HD_PRIVATE_KEY",
|
|
276636
|
-
restartFunction: async (settlemint, uniqueName) => {
|
|
276637
|
-
return settlemint.privateKey.restart(uniqueName);
|
|
276638
|
-
}
|
|
276639
|
-
});
|
|
276640
|
-
}
|
|
276641
|
-
|
|
276642
|
-
// src/commands/platform/private-key/restart.ts
|
|
276643
|
-
function privateKeyRestartCommand() {
|
|
276644
|
-
return new Command("private-key").alias("pk").description("Restart a private key in the SettleMint platform").addCommand(hdEcdsaP256RestartCommand());
|
|
276645
|
-
}
|
|
276646
|
-
|
|
276647
276724
|
// src/commands/platform/storage/ipfs/restart.ts
|
|
276648
276725
|
function ipfsRestartCommand() {
|
|
276649
276726
|
return getRestartCommand({
|
|
@@ -276677,7 +276754,7 @@ function storageRestartCommand() {
|
|
|
276677
276754
|
|
|
276678
276755
|
// src/commands/platform/restart.ts
|
|
276679
276756
|
function restartCommand() {
|
|
276680
|
-
const cmd2 = new Command("restart").description("Restart a resource in the SettleMint platform").addCommand(blockchainNetworkRestartCommand()).addCommand(customDeploymentRestartCommand()).addCommand(insightsRestartCommand()).addCommand(integrationToolRestartCommand()).addCommand(middlewareRestartCommand()).addCommand(
|
|
276757
|
+
const cmd2 = new Command("restart").description("Restart a resource in the SettleMint platform").addCommand(blockchainNetworkRestartCommand()).addCommand(customDeploymentRestartCommand()).addCommand(insightsRestartCommand()).addCommand(integrationToolRestartCommand()).addCommand(middlewareRestartCommand()).addCommand(storageRestartCommand());
|
|
276681
276758
|
return cmd2;
|
|
276682
276759
|
}
|
|
276683
276760
|
|
|
@@ -277072,7 +277149,7 @@ async function addressPrompt({
|
|
|
277072
277149
|
return defaultAddress;
|
|
277073
277150
|
}
|
|
277074
277151
|
if (possiblePrivateKeys.length === 0) {
|
|
277075
|
-
cancel3("No private key is activated on the node to sign the transaction.");
|
|
277152
|
+
cancel3("No ECDSA P256 or HSM ECDSA P256 private key is activated on the node to sign the transaction.");
|
|
277076
277153
|
}
|
|
277077
277154
|
const address = await esm_default2({
|
|
277078
277155
|
message: "Which private key do you want to deploy from?",
|
|
@@ -277746,4 +277823,4 @@ function sdkCliCommand(exitOverride = undefined) {
|
|
|
277746
277823
|
ascii();
|
|
277747
277824
|
sdkCliCommand();
|
|
277748
277825
|
|
|
277749
|
-
//# debugId=
|
|
277826
|
+
//# debugId=88DFB33D04D0295664756E2164756E21
|