@settlemint/sdk-cli 2.4.0-pr88ac0d7d → 2.4.0-pr90e62ec4
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 +80 -87
- package/dist/cli.js.map +31 -37
- package/package.json +5 -5
package/dist/cli.js
CHANGED
@@ -263840,7 +263840,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263840
263840
|
var package_default = {
|
263841
263841
|
name: "@settlemint/sdk-cli",
|
263842
263842
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263843
|
-
version: "2.4.0-
|
263843
|
+
version: "2.4.0-pr90e62ec4",
|
263844
263844
|
type: "module",
|
263845
263845
|
private: false,
|
263846
263846
|
license: "FSL-1.1-MIT",
|
@@ -263891,10 +263891,10 @@ var package_default = {
|
|
263891
263891
|
"@inquirer/input": "4.1.12",
|
263892
263892
|
"@inquirer/password": "4.0.15",
|
263893
263893
|
"@inquirer/select": "4.2.3",
|
263894
|
-
"@settlemint/sdk-js": "2.4.0-
|
263895
|
-
"@settlemint/sdk-utils": "2.4.0-
|
263896
|
-
"@settlemint/sdk-viem": "2.4.0-
|
263897
|
-
"@types/node": "24.0.
|
263894
|
+
"@settlemint/sdk-js": "2.4.0-pr90e62ec4",
|
263895
|
+
"@settlemint/sdk-utils": "2.4.0-pr90e62ec4",
|
263896
|
+
"@settlemint/sdk-viem": "2.4.0-pr90e62ec4",
|
263897
|
+
"@types/node": "24.0.8",
|
263898
263898
|
"@types/semver": "7.7.0",
|
263899
263899
|
"@types/which": "3.0.4",
|
263900
263900
|
"get-tsconfig": "4.10.1",
|
@@ -326488,9 +326488,6 @@ function addClusterServiceArgs(cmd2) {
|
|
326488
326488
|
// src/commands/platform/utils/wait-for-completion.ts
|
326489
326489
|
class TimeoutError2 extends Error {
|
326490
326490
|
}
|
326491
|
-
|
326492
|
-
class DeploymentFailedError extends Error {
|
326493
|
-
}
|
326494
326491
|
async function waitForCompletion({
|
326495
326492
|
settlemint,
|
326496
326493
|
type: type4,
|
@@ -326508,7 +326505,6 @@ async function waitForCompletion({
|
|
326508
326505
|
if (!service || !("read" in service)) {
|
326509
326506
|
throw new Error(`Service ${serviceType} does not support status checking`);
|
326510
326507
|
}
|
326511
|
-
let hasRestarted = false;
|
326512
326508
|
function showSpinner() {
|
326513
326509
|
return spinner({
|
326514
326510
|
startMessage: `Waiting for ${type4} to be ${getActionLabel(action)}`,
|
@@ -326521,7 +326517,8 @@ async function waitForCompletion({
|
|
326521
326517
|
if (resource.status === "FAILED") {
|
326522
326518
|
updateStatus(spinner2, `${capitalizeFirstLetter2(type4)} failed to ${getActionLabel(action)}`);
|
326523
326519
|
if (restartOnError) {
|
326524
|
-
|
326520
|
+
note(`Restarting ${capitalizeFirstLetter2(type4)}`);
|
326521
|
+
await service.restart(uniqueName);
|
326525
326522
|
}
|
326526
326523
|
return false;
|
326527
326524
|
}
|
@@ -326544,24 +326541,15 @@ async function waitForCompletion({
|
|
326544
326541
|
try {
|
326545
326542
|
return await showSpinner();
|
326546
326543
|
} catch (error45) {
|
326547
|
-
|
326544
|
+
const isTimeoutError = error45 instanceof SpinnerError && error45.originalError instanceof TimeoutError2;
|
326545
|
+
if (restartIfTimeout && isTimeoutError) {
|
326548
326546
|
note(`Restarting ${capitalizeFirstLetter2(type4)}`);
|
326549
|
-
hasRestarted = true;
|
326550
326547
|
await service.restart(uniqueName);
|
326551
326548
|
return showSpinner();
|
326552
326549
|
}
|
326553
326550
|
throw error45;
|
326554
326551
|
}
|
326555
326552
|
}
|
326556
|
-
function shouldRestart(error45, restartIfTimeout) {
|
326557
|
-
const isSpinnerError = error45 instanceof SpinnerError;
|
326558
|
-
const isDeploymentFailedError = error45 instanceof DeploymentFailedError || isSpinnerError && error45.originalError instanceof DeploymentFailedError;
|
326559
|
-
if (isDeploymentFailedError) {
|
326560
|
-
return true;
|
326561
|
-
}
|
326562
|
-
const isTimeoutError = error45 instanceof TimeoutError2 || isSpinnerError && error45.originalError instanceof TimeoutError2;
|
326563
|
-
return restartIfTimeout && isTimeoutError;
|
326564
|
-
}
|
326565
326553
|
function updateStatus(spinner2, message) {
|
326566
326554
|
if (spinner2) {
|
326567
326555
|
spinner2.text = message;
|
@@ -328199,22 +328187,21 @@ function deleteCommand() {
|
|
328199
328187
|
function getPauseCommand({
|
328200
328188
|
name: name3,
|
328201
328189
|
type: type4,
|
328190
|
+
subType,
|
328202
328191
|
alias,
|
328203
328192
|
envKey,
|
328204
328193
|
pauseFunction,
|
328205
328194
|
usePersonalAccessToken = true
|
328206
328195
|
}) {
|
328207
328196
|
const commandName = sanitizeCommandName(name3);
|
328208
|
-
const typeCommandName = sanitizeCommandName(type4);
|
328209
|
-
const exampleCommandPrefix = `platform pause ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
|
328210
328197
|
return new Command(commandName).alias(alias).description(`Pause a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to pause the default ${type4} from your .env file.`).usage(createExamples([
|
328211
328198
|
{
|
328212
328199
|
description: `Pauses the specified ${type4} by unique name`,
|
328213
|
-
command:
|
328200
|
+
command: `platform pause ${commandName} <${type4}-id>`
|
328214
328201
|
},
|
328215
328202
|
{
|
328216
328203
|
description: `Pauses the default ${type4} in the production environment`,
|
328217
|
-
command:
|
328204
|
+
command: `platform pause ${commandName} default --prod`
|
328218
328205
|
}
|
328219
328206
|
])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to pause the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until paused").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
|
328220
328207
|
intro(`Pausing ${type4} in the SettleMint platform`);
|
@@ -328300,6 +328287,7 @@ function blockscoutPauseCommand() {
|
|
328300
328287
|
return getPauseCommand({
|
328301
328288
|
name: "blockscout",
|
328302
328289
|
type: "insights",
|
328290
|
+
subType: "blockscout",
|
328303
328291
|
alias: "bs",
|
328304
328292
|
envKey: "SETTLEMINT_BLOCKSCOUT",
|
328305
328293
|
pauseFunction: async (settlemint, id) => {
|
@@ -328308,16 +328296,12 @@ function blockscoutPauseCommand() {
|
|
328308
328296
|
});
|
328309
328297
|
}
|
328310
328298
|
|
328311
|
-
// src/commands/platform/insights/pause.ts
|
328312
|
-
function insightsPauseCommand() {
|
328313
|
-
return new Command("insights").alias("in").description("Pause an insights service in the SettleMint platform").addCommand(blockscoutPauseCommand());
|
328314
|
-
}
|
328315
|
-
|
328316
328299
|
// src/commands/platform/integration-tools/hasura/pause.ts
|
328317
328300
|
function hasuraPauseCommand() {
|
328318
328301
|
return getPauseCommand({
|
328319
328302
|
name: "hasura",
|
328320
328303
|
type: "integration tool",
|
328304
|
+
subType: "hasura",
|
328321
328305
|
alias: "ha",
|
328322
328306
|
envKey: "SETTLEMINT_HASURA",
|
328323
328307
|
pauseFunction: async (settlemint, id) => {
|
@@ -328326,16 +328310,12 @@ function hasuraPauseCommand() {
|
|
328326
328310
|
});
|
328327
328311
|
}
|
328328
328312
|
|
328329
|
-
// src/commands/platform/
|
328330
|
-
function
|
328331
|
-
return new Command("integration-tool").alias("it").description("Pause an integration tool service in the SettleMint platform").addCommand(hasuraPauseCommand());
|
328332
|
-
}
|
328333
|
-
|
328334
|
-
// src/commands/platform/load-balancer/pause.ts
|
328335
|
-
function loadBalancerPauseCommand() {
|
328313
|
+
// src/commands/platform/load-balancer/evm/pause.ts
|
328314
|
+
function evmLoadBalancerPauseCommand() {
|
328336
328315
|
return getPauseCommand({
|
328337
328316
|
name: "evm",
|
328338
328317
|
type: "load balancer",
|
328318
|
+
subType: "evm",
|
328339
328319
|
alias: "lb",
|
328340
328320
|
envKey: "SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER",
|
328341
328321
|
pauseFunction: async (settlemint, id) => {
|
@@ -328349,6 +328329,7 @@ function graphMiddlewarePauseCommand() {
|
|
328349
328329
|
return getPauseCommand({
|
328350
328330
|
name: "graph",
|
328351
328331
|
type: "middleware",
|
328332
|
+
subType: "graph",
|
328352
328333
|
alias: "gr",
|
328353
328334
|
envKey: "SETTLEMINT_THEGRAPH",
|
328354
328335
|
pauseFunction: async (settlemint, id) => {
|
@@ -328362,6 +328343,7 @@ function smartContractPortalMiddlewarePauseCommand() {
|
|
328362
328343
|
return getPauseCommand({
|
328363
328344
|
name: "smart-contract-portal",
|
328364
328345
|
type: "middleware",
|
328346
|
+
subType: "smart-contract-portal",
|
328365
328347
|
alias: "scp",
|
328366
328348
|
envKey: "SETTLEMINT_PORTAL",
|
328367
328349
|
pauseFunction: async (settlemint, id) => {
|
@@ -328370,18 +328352,28 @@ function smartContractPortalMiddlewarePauseCommand() {
|
|
328370
328352
|
});
|
328371
328353
|
}
|
328372
328354
|
|
328373
|
-
// src/commands/platform/
|
328374
|
-
function
|
328375
|
-
return
|
328355
|
+
// src/commands/platform/private-key/accessible-ecdsa-p256/pause.ts
|
328356
|
+
function accessibleEcdsaP256PrivateKeyPauseCommand() {
|
328357
|
+
return getPauseCommand({
|
328358
|
+
name: "accessible-ecdsa-p256",
|
328359
|
+
type: "private key",
|
328360
|
+
subType: "accessible-ecdsa-p256",
|
328361
|
+
alias: "acc",
|
328362
|
+
envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
|
328363
|
+
pauseFunction: async (settlemint, id) => {
|
328364
|
+
return settlemint.privateKey.pause(id);
|
328365
|
+
}
|
328366
|
+
});
|
328376
328367
|
}
|
328377
328368
|
|
328378
|
-
// src/commands/platform/private-key/pause.ts
|
328379
|
-
function
|
328369
|
+
// src/commands/platform/private-key/hd-ecdsa-p256/pause.ts
|
328370
|
+
function hdEcdsaP256PrivateKeyPauseCommand() {
|
328380
328371
|
return getPauseCommand({
|
328381
|
-
name: "
|
328372
|
+
name: "hd-ecdsa-p256",
|
328382
328373
|
type: "private key",
|
328383
|
-
|
328384
|
-
|
328374
|
+
subType: "hd-ecdsa-p256",
|
328375
|
+
alias: "hd",
|
328376
|
+
envKey: "SETTLEMINT_HD_PRIVATE_KEY",
|
328385
328377
|
pauseFunction: async (settlemint, id) => {
|
328386
328378
|
return settlemint.privateKey.pause(id);
|
328387
328379
|
}
|
@@ -328393,6 +328385,7 @@ function ipfsStoragePauseCommand() {
|
|
328393
328385
|
return getPauseCommand({
|
328394
328386
|
name: "ipfs",
|
328395
328387
|
type: "storage",
|
328388
|
+
subType: "ipfs",
|
328396
328389
|
alias: "ip",
|
328397
328390
|
envKey: "SETTLEMINT_IPFS",
|
328398
328391
|
pauseFunction: async (settlemint, id) => {
|
@@ -328406,6 +328399,7 @@ function minioStoragePauseCommand() {
|
|
328406
328399
|
return getPauseCommand({
|
328407
328400
|
name: "minio",
|
328408
328401
|
type: "storage",
|
328402
|
+
subType: "minio",
|
328409
328403
|
alias: "m",
|
328410
328404
|
envKey: "SETTLEMINT_MINIO",
|
328411
328405
|
pauseFunction: async (settlemint, id) => {
|
@@ -328414,14 +328408,9 @@ function minioStoragePauseCommand() {
|
|
328414
328408
|
});
|
328415
328409
|
}
|
328416
328410
|
|
328417
|
-
// src/commands/platform/storage/pause.ts
|
328418
|
-
function storagePauseCommand() {
|
328419
|
-
return new Command("storage").alias("st").description("Pause a storage service in the SettleMint platform").addCommand(ipfsStoragePauseCommand()).addCommand(minioStoragePauseCommand());
|
328420
|
-
}
|
328421
|
-
|
328422
328411
|
// src/commands/platform/pause.ts
|
328423
328412
|
function pauseCommand() {
|
328424
|
-
const cmd2 = new Command("pause").description("Pause a resource in the SettleMint platform").addCommand(blockchainNodePauseCommand()).addCommand(blockchainNetworkPauseCommand()).addCommand(customDeploymentPauseCommand()).addCommand(
|
328413
|
+
const cmd2 = new Command("pause").description("Pause a resource in the SettleMint platform").addCommand(blockchainNodePauseCommand()).addCommand(blockchainNetworkPauseCommand()).addCommand(customDeploymentPauseCommand()).addCommand(blockscoutPauseCommand()).addCommand(hasuraPauseCommand()).addCommand(evmLoadBalancerPauseCommand()).addCommand(graphMiddlewarePauseCommand()).addCommand(smartContractPortalMiddlewarePauseCommand()).addCommand(accessibleEcdsaP256PrivateKeyPauseCommand()).addCommand(hdEcdsaP256PrivateKeyPauseCommand()).addCommand(ipfsStoragePauseCommand()).addCommand(minioStoragePauseCommand());
|
328425
328414
|
return cmd2;
|
328426
328415
|
}
|
328427
328416
|
|
@@ -328429,22 +328418,21 @@ function pauseCommand() {
|
|
328429
328418
|
function getRestartCommand({
|
328430
328419
|
name: name3,
|
328431
328420
|
type: type4,
|
328421
|
+
subType,
|
328432
328422
|
alias,
|
328433
328423
|
envKey,
|
328434
328424
|
restartFunction,
|
328435
328425
|
usePersonalAccessToken = true
|
328436
328426
|
}) {
|
328437
328427
|
const commandName = sanitizeCommandName(name3);
|
328438
|
-
const typeCommandName = sanitizeCommandName(type4);
|
328439
|
-
const exampleCommandPrefix = `platform restart ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
|
328440
328428
|
return new Command(commandName).alias(alias).description(`Restart a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to restart the default ${type4} from your .env file.`).usage(createExamples([
|
328441
328429
|
{
|
328442
328430
|
description: `Restarts the specified ${type4} by unique name`,
|
328443
|
-
command:
|
328431
|
+
command: `platform restart ${commandName}${subType ? ` ${subType}` : ""} <${type4}-id>`
|
328444
328432
|
},
|
328445
328433
|
{
|
328446
328434
|
description: `Restarts the default ${type4} in the production environment`,
|
328447
|
-
command:
|
328435
|
+
command: `platform restart ${commandName}${subType ? ` ${subType}` : ""} default --prod`
|
328448
328436
|
}
|
328449
328437
|
])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to restart the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until restarted").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
|
328450
328438
|
intro(`Restarting ${type4} in the SettleMint platform`);
|
@@ -328531,6 +328519,7 @@ function blockscoutRestartCommand() {
|
|
328531
328519
|
return getRestartCommand({
|
328532
328520
|
name: "blockscout",
|
328533
328521
|
type: "insights",
|
328522
|
+
subType: "blockscout",
|
328534
328523
|
alias: "bs",
|
328535
328524
|
envKey: "SETTLEMINT_BLOCKSCOUT",
|
328536
328525
|
restartFunction: async (settlemint, uniqueName) => {
|
@@ -328549,6 +328538,7 @@ function hasuraRestartCommand() {
|
|
328549
328538
|
return getRestartCommand({
|
328550
328539
|
name: "hasura",
|
328551
328540
|
type: "integration tool",
|
328541
|
+
subType: "hasura",
|
328552
328542
|
alias: "ha",
|
328553
328543
|
envKey: "SETTLEMINT_HASURA",
|
328554
328544
|
restartFunction: async (settlemint, uniqueName) => {
|
@@ -328580,6 +328570,7 @@ function graphRestartCommand() {
|
|
328580
328570
|
return getRestartCommand({
|
328581
328571
|
name: "graph",
|
328582
328572
|
type: "middleware",
|
328573
|
+
subType: "graph",
|
328583
328574
|
alias: "gr",
|
328584
328575
|
envKey: "SETTLEMINT_THEGRAPH",
|
328585
328576
|
restartFunction: async (settlemint, id) => {
|
@@ -328593,6 +328584,7 @@ function smartContractPortalRestartCommand() {
|
|
328593
328584
|
return getRestartCommand({
|
328594
328585
|
name: "smart-contract-portal",
|
328595
328586
|
type: "middleware",
|
328587
|
+
subType: "smart-contract-portal",
|
328596
328588
|
alias: "scp",
|
328597
328589
|
envKey: "SETTLEMINT_PORTAL",
|
328598
328590
|
restartFunction: async (settlemint, uniqueName) => {
|
@@ -328647,22 +328639,21 @@ function restartCommand() {
|
|
328647
328639
|
function getResumeCommand({
|
328648
328640
|
name: name3,
|
328649
328641
|
type: type4,
|
328642
|
+
subType,
|
328650
328643
|
alias,
|
328651
328644
|
envKey,
|
328652
328645
|
resumeFunction,
|
328653
328646
|
usePersonalAccessToken = true
|
328654
328647
|
}) {
|
328655
328648
|
const commandName = sanitizeCommandName(name3);
|
328656
|
-
const typeCommandName = sanitizeCommandName(type4);
|
328657
|
-
const exampleCommandPrefix = `platform resume ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
|
328658
328649
|
return new Command(commandName).alias(alias).description(`Resume a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to resume the default ${type4} from your .env file.`).usage(createExamples([
|
328659
328650
|
{
|
328660
328651
|
description: `Resumes the specified ${type4} by unique name`,
|
328661
|
-
command:
|
328652
|
+
command: `platform resume ${commandName} <${type4}-id>`
|
328662
328653
|
},
|
328663
328654
|
{
|
328664
328655
|
description: `Resumes the default ${type4} in the production environment`,
|
328665
|
-
command:
|
328656
|
+
command: `platform resume ${commandName} default --prod`
|
328666
328657
|
}
|
328667
328658
|
])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to resume the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until resumed").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
|
328668
328659
|
intro(`Resuming ${type4} in the SettleMint platform`);
|
@@ -328748,6 +328739,7 @@ function blockscoutResumeCommand() {
|
|
328748
328739
|
return getResumeCommand({
|
328749
328740
|
name: "blockscout",
|
328750
328741
|
type: "insights",
|
328742
|
+
subType: "blockscout",
|
328751
328743
|
alias: "bs",
|
328752
328744
|
envKey: "SETTLEMINT_BLOCKSCOUT",
|
328753
328745
|
resumeFunction: async (settlemint, id) => {
|
@@ -328756,16 +328748,12 @@ function blockscoutResumeCommand() {
|
|
328756
328748
|
});
|
328757
328749
|
}
|
328758
328750
|
|
328759
|
-
// src/commands/platform/insights/resume.ts
|
328760
|
-
function insightsResumeCommand() {
|
328761
|
-
return new Command("insights").alias("in").description("Resume an insights service in the SettleMint platform").addCommand(blockscoutResumeCommand());
|
328762
|
-
}
|
328763
|
-
|
328764
328751
|
// src/commands/platform/integration-tools/hasura/resume.ts
|
328765
328752
|
function hasuraResumeCommand() {
|
328766
328753
|
return getResumeCommand({
|
328767
328754
|
name: "hasura",
|
328768
328755
|
type: "integration tool",
|
328756
|
+
subType: "hasura",
|
328769
328757
|
alias: "ha",
|
328770
328758
|
envKey: "SETTLEMINT_HASURA",
|
328771
328759
|
resumeFunction: async (settlemint, id) => {
|
@@ -328774,16 +328762,12 @@ function hasuraResumeCommand() {
|
|
328774
328762
|
});
|
328775
328763
|
}
|
328776
328764
|
|
328777
|
-
// src/commands/platform/
|
328778
|
-
function
|
328779
|
-
return new Command("integration-tool").alias("it").description("Resume an integration tool service in the SettleMint platform").addCommand(hasuraResumeCommand());
|
328780
|
-
}
|
328781
|
-
|
328782
|
-
// src/commands/platform/load-balancer/resume.ts
|
328783
|
-
function loadBalancerResumeCommand() {
|
328765
|
+
// src/commands/platform/load-balancer/evm/resume.ts
|
328766
|
+
function evmLoadBalancerResumeCommand() {
|
328784
328767
|
return getResumeCommand({
|
328785
|
-
name: "
|
328768
|
+
name: "evm",
|
328786
328769
|
type: "load balancer",
|
328770
|
+
subType: "evm",
|
328787
328771
|
alias: "lb",
|
328788
328772
|
envKey: "SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER",
|
328789
328773
|
resumeFunction: async (settlemint, id) => {
|
@@ -328797,6 +328781,7 @@ function graphMiddlewareResumeCommand() {
|
|
328797
328781
|
return getResumeCommand({
|
328798
328782
|
name: "graph",
|
328799
328783
|
type: "middleware",
|
328784
|
+
subType: "graph",
|
328800
328785
|
alias: "gr",
|
328801
328786
|
envKey: "SETTLEMINT_THEGRAPH",
|
328802
328787
|
resumeFunction: async (settlemint, id) => {
|
@@ -328810,6 +328795,7 @@ function smartContractPortalMiddlewareResumeCommand() {
|
|
328810
328795
|
return getResumeCommand({
|
328811
328796
|
name: "smart-contract-portal",
|
328812
328797
|
type: "middleware",
|
328798
|
+
subType: "smart-contract-portal",
|
328813
328799
|
alias: "scp",
|
328814
328800
|
envKey: "SETTLEMINT_PORTAL",
|
328815
328801
|
resumeFunction: async (settlemint, id) => {
|
@@ -328818,18 +328804,28 @@ function smartContractPortalMiddlewareResumeCommand() {
|
|
328818
328804
|
});
|
328819
328805
|
}
|
328820
328806
|
|
328821
|
-
// src/commands/platform/
|
328822
|
-
function
|
328823
|
-
return
|
328807
|
+
// src/commands/platform/private-key/accessible-ecdsa-p256/resume.ts
|
328808
|
+
function accessibleEcdsaP256PrivateKeyResumeCommand() {
|
328809
|
+
return getResumeCommand({
|
328810
|
+
name: "accessible-ecdsa-p256",
|
328811
|
+
type: "private key",
|
328812
|
+
subType: "accessible-ecdsa-p256",
|
328813
|
+
alias: "acc",
|
328814
|
+
envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
|
328815
|
+
resumeFunction: async (settlemint, id) => {
|
328816
|
+
return settlemint.privateKey.resume(id);
|
328817
|
+
}
|
328818
|
+
});
|
328824
328819
|
}
|
328825
328820
|
|
328826
|
-
// src/commands/platform/private-key/resume.ts
|
328827
|
-
function
|
328821
|
+
// src/commands/platform/private-key/hd-ecdsa-p256/resume.ts
|
328822
|
+
function hdEcdsaP256PrivateKeyResumeCommand() {
|
328828
328823
|
return getResumeCommand({
|
328829
|
-
name: "
|
328824
|
+
name: "hd-ecdsa-p256",
|
328830
328825
|
type: "private key",
|
328831
|
-
|
328832
|
-
|
328826
|
+
subType: "hd-ecdsa-p256",
|
328827
|
+
alias: "hd",
|
328828
|
+
envKey: "SETTLEMINT_HD_PRIVATE_KEY",
|
328833
328829
|
resumeFunction: async (settlemint, id) => {
|
328834
328830
|
return settlemint.privateKey.resume(id);
|
328835
328831
|
}
|
@@ -328841,6 +328837,7 @@ function ipfsStorageResumeCommand() {
|
|
328841
328837
|
return getResumeCommand({
|
328842
328838
|
name: "ipfs",
|
328843
328839
|
type: "storage",
|
328840
|
+
subType: "ipfs",
|
328844
328841
|
alias: "ip",
|
328845
328842
|
envKey: "SETTLEMINT_IPFS",
|
328846
328843
|
resumeFunction: async (settlemint, id) => {
|
@@ -328854,6 +328851,7 @@ function minioStorageResumeCommand() {
|
|
328854
328851
|
return getResumeCommand({
|
328855
328852
|
name: "minio",
|
328856
328853
|
type: "storage",
|
328854
|
+
subType: "minio",
|
328857
328855
|
alias: "m",
|
328858
328856
|
envKey: "SETTLEMINT_MINIO",
|
328859
328857
|
resumeFunction: async (settlemint, id) => {
|
@@ -328862,14 +328860,9 @@ function minioStorageResumeCommand() {
|
|
328862
328860
|
});
|
328863
328861
|
}
|
328864
328862
|
|
328865
|
-
// src/commands/platform/storage/resume.ts
|
328866
|
-
function storageResumeCommand() {
|
328867
|
-
return new Command("storage").alias("st").description("Resume a storage service in the SettleMint platform").addCommand(ipfsStorageResumeCommand()).addCommand(minioStorageResumeCommand());
|
328868
|
-
}
|
328869
|
-
|
328870
328863
|
// src/commands/platform/resume.ts
|
328871
328864
|
function resumeCommand() {
|
328872
|
-
const cmd2 = new Command("resume").description("Resume a resource in the SettleMint platform").addCommand(blockchainNodeResumeCommand()).addCommand(blockchainNetworkResumeCommand()).addCommand(customDeploymentResumeCommand()).addCommand(
|
328865
|
+
const cmd2 = new Command("resume").description("Resume a resource in the SettleMint platform").addCommand(blockchainNodeResumeCommand()).addCommand(blockchainNetworkResumeCommand()).addCommand(customDeploymentResumeCommand()).addCommand(blockscoutResumeCommand()).addCommand(hasuraResumeCommand()).addCommand(evmLoadBalancerResumeCommand()).addCommand(graphMiddlewareResumeCommand()).addCommand(smartContractPortalMiddlewareResumeCommand()).addCommand(accessibleEcdsaP256PrivateKeyResumeCommand()).addCommand(hdEcdsaP256PrivateKeyResumeCommand()).addCommand(ipfsStorageResumeCommand()).addCommand(minioStorageResumeCommand());
|
328873
328866
|
return cmd2;
|
328874
328867
|
}
|
328875
328868
|
|
@@ -330794,4 +330787,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
330794
330787
|
// src/cli.ts
|
330795
330788
|
sdkCliCommand();
|
330796
330789
|
|
330797
|
-
//# debugId=
|
330790
|
+
//# debugId=BD3D3E45C69BB58F64756E2164756E21
|