@settlemint/sdk-cli 0.6.34 → 0.6.35
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 +13 -108
- package/dist/cli.js.map +19 -22
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -272097,17 +272097,12 @@ var DotEnvSchema = z4.object({
|
|
|
272097
272097
|
SETTLEMINT_IPFS_API_ENDPOINT: UrlSchema.optional(),
|
|
272098
272098
|
SETTLEMINT_IPFS_PINNING_ENDPOINT: UrlSchema.optional(),
|
|
272099
272099
|
SETTLEMINT_IPFS_GATEWAY_ENDPOINT: UrlSchema.optional(),
|
|
272100
|
-
SETTLEMINT_AUTH_SECRET: z4.string(),
|
|
272101
272100
|
SETTLEMINT_CUSTOM_DEPLOYMENT: IdSchema.optional(),
|
|
272102
272101
|
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT: UrlSchema.optional(),
|
|
272103
272102
|
SETTLEMINT_BLOCKSCOUT: IdSchema.optional(),
|
|
272104
272103
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema.optional(),
|
|
272105
272104
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema.optional(),
|
|
272106
272105
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
272107
|
-
NEXTAUTH_URL: UrlSchema,
|
|
272108
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY: z4.literal("0x5e771e1417100000000000000000000000000001"),
|
|
272109
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000002"),
|
|
272110
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000003"),
|
|
272111
272106
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema.optional(),
|
|
272112
272107
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
272113
272108
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -272540,7 +272535,6 @@ async function writeEnvSpinner(prod, env2) {
|
|
|
272540
272535
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: env2.SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT,
|
|
272541
272536
|
SETTLEMINT_PORTAL_REST_ENDPOINT: env2.SETTLEMINT_PORTAL_REST_ENDPOINT,
|
|
272542
272537
|
SETTLEMINT_HD_PRIVATE_KEY: env2.SETTLEMINT_HD_PRIVATE_KEY,
|
|
272543
|
-
NEXTAUTH_URL: env2.NEXTAUTH_URL,
|
|
272544
272538
|
SETTLEMINT_MINIO: env2.SETTLEMINT_MINIO,
|
|
272545
272539
|
SETTLEMINT_MINIO_ENDPOINT: env2.SETTLEMINT_MINIO_ENDPOINT,
|
|
272546
272540
|
SETTLEMINT_MINIO_ACCESS_KEY: env2.SETTLEMINT_MINIO_ACCESS_KEY,
|
|
@@ -272548,9 +272542,6 @@ async function writeEnvSpinner(prod, env2) {
|
|
|
272548
272542
|
SETTLEMINT_IPFS_API_ENDPOINT: env2.SETTLEMINT_IPFS_API_ENDPOINT,
|
|
272549
272543
|
SETTLEMINT_IPFS_PINNING_ENDPOINT: env2.SETTLEMINT_IPFS_PINNING_ENDPOINT,
|
|
272550
272544
|
SETTLEMINT_IPFS_GATEWAY_ENDPOINT: env2.SETTLEMINT_IPFS_GATEWAY_ENDPOINT,
|
|
272551
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY: env2.SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY,
|
|
272552
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY: env2.SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY,
|
|
272553
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: env2.SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY,
|
|
272554
272545
|
SETTLEMINT_CUSTOM_DEPLOYMENT: env2.SETTLEMINT_CUSTOM_DEPLOYMENT,
|
|
272555
272546
|
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT: env2.SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT,
|
|
272556
272547
|
SETTLEMINT_BLOCKSCOUT: env2.SETTLEMINT_BLOCKSCOUT,
|
|
@@ -272563,20 +272554,12 @@ async function writeEnvSpinner(prod, env2) {
|
|
|
272563
272554
|
await writeEnv(prod, {
|
|
272564
272555
|
SETTLEMINT_ACCESS_TOKEN: env2.SETTLEMINT_ACCESS_TOKEN,
|
|
272565
272556
|
SETTLEMINT_HASURA_ADMIN_SECRET: env2.SETTLEMINT_HASURA_ADMIN_SECRET,
|
|
272566
|
-
SETTLEMINT_AUTH_SECRET: env2.SETTLEMINT_AUTH_SECRET,
|
|
272567
272557
|
SETTLEMINT_MINIO_SECRET_KEY: env2.SETTLEMINT_MINIO_SECRET_KEY
|
|
272568
272558
|
}, true);
|
|
272569
272559
|
}
|
|
272570
272560
|
});
|
|
272571
272561
|
}
|
|
272572
272562
|
|
|
272573
|
-
// src/constants/predeployed-contracts.ts
|
|
272574
|
-
var PRE_DEPLOYED_CONTRACTS = {
|
|
272575
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY: "0x5e771e1417100000000000000000000000000001",
|
|
272576
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY: "0x5e771e1417100000000000000000000000000002",
|
|
272577
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"
|
|
272578
|
-
};
|
|
272579
|
-
|
|
272580
272563
|
// src/error/missing-config-error.ts
|
|
272581
272564
|
function missingAccessTokenError() {
|
|
272582
272565
|
return cancel2("No access token found, please run `settlemint connect` to connect to your instance");
|
|
@@ -272775,17 +272758,12 @@ var DotEnvSchema2 = z4.object({
|
|
|
272775
272758
|
SETTLEMINT_IPFS_API_ENDPOINT: UrlSchema2.optional(),
|
|
272776
272759
|
SETTLEMINT_IPFS_PINNING_ENDPOINT: UrlSchema2.optional(),
|
|
272777
272760
|
SETTLEMINT_IPFS_GATEWAY_ENDPOINT: UrlSchema2.optional(),
|
|
272778
|
-
SETTLEMINT_AUTH_SECRET: z4.string(),
|
|
272779
272761
|
SETTLEMINT_CUSTOM_DEPLOYMENT: IdSchema2.optional(),
|
|
272780
272762
|
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT: UrlSchema2.optional(),
|
|
272781
272763
|
SETTLEMINT_BLOCKSCOUT: IdSchema2.optional(),
|
|
272782
272764
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema2.optional(),
|
|
272783
272765
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema2.optional(),
|
|
272784
272766
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
272785
|
-
NEXTAUTH_URL: UrlSchema2,
|
|
272786
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY: z4.literal("0x5e771e1417100000000000000000000000000001"),
|
|
272787
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000002"),
|
|
272788
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000003"),
|
|
272789
272767
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema2.optional(),
|
|
272790
272768
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
272791
272769
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -275980,73 +275958,13 @@ async function applicationPrompt(env2, applications, accept) {
|
|
|
275980
275958
|
return application;
|
|
275981
275959
|
}
|
|
275982
275960
|
|
|
275983
|
-
// src/commands/connect/auth-secret.prompt.ts
|
|
275984
|
-
import { randomBytes } from "node:crypto";
|
|
275985
|
-
async function authSecretPrompt(env2, accept) {
|
|
275986
|
-
const defaultAuthSecret = env2.SETTLEMINT_AUTH_SECRET;
|
|
275987
|
-
const defaultPossible = accept && defaultAuthSecret;
|
|
275988
|
-
if (defaultPossible) {
|
|
275989
|
-
return defaultAuthSecret;
|
|
275990
|
-
}
|
|
275991
|
-
if (defaultAuthSecret) {
|
|
275992
|
-
const keep = await esm_default2({
|
|
275993
|
-
message: "Do you want to use the existing auth secret?",
|
|
275994
|
-
default: true
|
|
275995
|
-
});
|
|
275996
|
-
if (keep) {
|
|
275997
|
-
return defaultAuthSecret;
|
|
275998
|
-
}
|
|
275999
|
-
}
|
|
276000
|
-
const authSecret = randomBytes(32).toString("hex");
|
|
276001
|
-
const random = await esm_default2({
|
|
276002
|
-
message: "Do you want to use a randomly generated auth secret?",
|
|
276003
|
-
default: true
|
|
276004
|
-
});
|
|
276005
|
-
if (random) {
|
|
276006
|
-
return authSecret;
|
|
276007
|
-
}
|
|
276008
|
-
return esm_default4({
|
|
276009
|
-
message: "What is the auth secret to encrypt your user sessions?",
|
|
276010
|
-
validate(value4) {
|
|
276011
|
-
try {
|
|
276012
|
-
validate2(z4.string(), value4);
|
|
276013
|
-
return true;
|
|
276014
|
-
} catch (error5) {
|
|
276015
|
-
return "Invalid access token";
|
|
276016
|
-
}
|
|
276017
|
-
}
|
|
276018
|
-
});
|
|
276019
|
-
}
|
|
276020
|
-
|
|
276021
|
-
// src/commands/connect/auth-url.prompt.ts
|
|
276022
|
-
async function authUrlPrompt(env2, accept, prod) {
|
|
276023
|
-
const defaultAuthUrl = env2.NEXTAUTH_URL ?? (prod ? undefined : "http://localhost:3000");
|
|
276024
|
-
const defaultPossible = accept && defaultAuthUrl;
|
|
276025
|
-
if (defaultPossible) {
|
|
276026
|
-
return defaultAuthUrl;
|
|
276027
|
-
}
|
|
276028
|
-
return esm_default3({
|
|
276029
|
-
message: prod ? "What is the production URL of your application?" : "What is the development URL of your application?",
|
|
276030
|
-
default: defaultAuthUrl,
|
|
276031
|
-
required: true,
|
|
276032
|
-
validate(value4) {
|
|
276033
|
-
try {
|
|
276034
|
-
validate2(UrlSchema2, value4);
|
|
276035
|
-
return true;
|
|
276036
|
-
} catch (error5) {
|
|
276037
|
-
return "Invalid URL";
|
|
276038
|
-
}
|
|
276039
|
-
}
|
|
276040
|
-
});
|
|
276041
|
-
}
|
|
276042
|
-
|
|
276043
275961
|
// src/commands/connect/blockchain-node.prompt.ts
|
|
276044
275962
|
async function blockchainNodePrompt(env2, nodes, accept) {
|
|
276045
275963
|
if (nodes.length === 0) {
|
|
276046
275964
|
return;
|
|
276047
275965
|
}
|
|
276048
275966
|
const defaultNode = nodes.find((node2) => node2.id === env2.SETTLEMINT_BLOCKCHAIN_NODE) ?? (nodes.length === 1 ? nodes[0] : undefined);
|
|
276049
|
-
const defaultPossible = accept
|
|
275967
|
+
const defaultPossible = accept;
|
|
276050
275968
|
if (defaultPossible) {
|
|
276051
275969
|
return defaultNode;
|
|
276052
275970
|
}
|
|
@@ -276074,7 +275992,7 @@ async function blockscoutPrompt(env2, insights, accept) {
|
|
|
276074
275992
|
return;
|
|
276075
275993
|
}
|
|
276076
275994
|
const defaultBlockscout = insights.find((insight) => insight.id === env2.SETTLEMINT_BLOCKSCOUT) ?? (insights.length === 1 ? insights[0] : undefined);
|
|
276077
|
-
const defaultPossible = accept
|
|
275995
|
+
const defaultPossible = accept;
|
|
276078
275996
|
if (defaultPossible) {
|
|
276079
275997
|
return defaultBlockscout;
|
|
276080
275998
|
}
|
|
@@ -276101,7 +276019,7 @@ async function customDeploymentPrompt(env2, customDeployments, accept) {
|
|
|
276101
276019
|
return;
|
|
276102
276020
|
}
|
|
276103
276021
|
const defaultCustomDeployment = customDeployments.find((customDeployment) => customDeployment.id === env2.SETTLEMINT_CUSTOM_DEPLOYMENT) ?? (customDeployments.length === 1 ? customDeployments[0] : undefined);
|
|
276104
|
-
const defaultPossible = accept
|
|
276022
|
+
const defaultPossible = accept;
|
|
276105
276023
|
if (defaultPossible) {
|
|
276106
276024
|
return defaultCustomDeployment;
|
|
276107
276025
|
}
|
|
@@ -276129,7 +276047,7 @@ async function hasuraPrompt(env2, integrations, accept) {
|
|
|
276129
276047
|
return;
|
|
276130
276048
|
}
|
|
276131
276049
|
const defaultIntegration = possible.find((integration) => integration.id === env2.SETTLEMINT_HASURA) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276132
|
-
const defaultPossible = accept
|
|
276050
|
+
const defaultPossible = accept;
|
|
276133
276051
|
if (defaultPossible) {
|
|
276134
276052
|
return defaultIntegration;
|
|
276135
276053
|
}
|
|
@@ -276157,7 +276075,7 @@ async function hdPrivateKeyPrompt(env2, privateKeys, accept) {
|
|
|
276157
276075
|
return;
|
|
276158
276076
|
}
|
|
276159
276077
|
const defaultPrivateKey = possible.find((privateKey2) => privateKey2.uniqueName === env2.SETTLEMINT_HD_PRIVATE_KEY) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276160
|
-
const defaultPossible = accept
|
|
276078
|
+
const defaultPossible = accept;
|
|
276161
276079
|
if (defaultPossible) {
|
|
276162
276080
|
return defaultPrivateKey;
|
|
276163
276081
|
}
|
|
@@ -276207,7 +276125,7 @@ async function ipfsPrompt(env2, storages, accept) {
|
|
|
276207
276125
|
return;
|
|
276208
276126
|
}
|
|
276209
276127
|
const defaultStorage = possible.find((storage) => storage.id === env2.SETTLEMINT_IPFS) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276210
|
-
const defaultPossible = accept
|
|
276128
|
+
const defaultPossible = accept;
|
|
276211
276129
|
if (defaultPossible) {
|
|
276212
276130
|
return defaultStorage;
|
|
276213
276131
|
}
|
|
@@ -276235,7 +276153,7 @@ async function minioPrompt(env2, storages, accept) {
|
|
|
276235
276153
|
return;
|
|
276236
276154
|
}
|
|
276237
276155
|
const defaultStorage = possible.find((storage) => storage.id === env2.SETTLEMINT_MINIO) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276238
|
-
const defaultPossible = accept
|
|
276156
|
+
const defaultPossible = accept;
|
|
276239
276157
|
if (defaultPossible) {
|
|
276240
276158
|
return defaultStorage;
|
|
276241
276159
|
}
|
|
@@ -276263,7 +276181,7 @@ async function portalPrompt(env2, middlewares, accept) {
|
|
|
276263
276181
|
return;
|
|
276264
276182
|
}
|
|
276265
276183
|
const defaultMiddleware = possible.find((middleware2) => middleware2.id === env2.SETTLEMINT_PORTAL) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276266
|
-
const defaultPossible = accept
|
|
276184
|
+
const defaultPossible = accept;
|
|
276267
276185
|
if (defaultPossible) {
|
|
276268
276186
|
return defaultMiddleware;
|
|
276269
276187
|
}
|
|
@@ -276330,7 +276248,7 @@ async function theGraphPrompt(env2, middlewares, accept) {
|
|
|
276330
276248
|
return;
|
|
276331
276249
|
}
|
|
276332
276250
|
const defaultMiddleware = possible.find((middleware2) => middleware2.id === env2.SETTLEMINT_THEGRAPH) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276333
|
-
const defaultPossible = accept
|
|
276251
|
+
const defaultPossible = accept;
|
|
276334
276252
|
if (defaultPossible) {
|
|
276335
276253
|
return defaultMiddleware;
|
|
276336
276254
|
}
|
|
@@ -276405,10 +276323,7 @@ function connectCommand() {
|
|
|
276405
276323
|
const hdPrivateKey = await hdPrivateKeyPrompt(env2, privateKey, autoAccept);
|
|
276406
276324
|
const cDeployment = await customDeploymentPrompt(env2, customDeployment, autoAccept);
|
|
276407
276325
|
const blockscout = await blockscoutPrompt(env2, insights, autoAccept);
|
|
276408
|
-
const authUrl = await authUrlPrompt(env2, autoAccept, !!prod);
|
|
276409
|
-
const authSecret = await authSecretPrompt(env2, autoAccept);
|
|
276410
276326
|
await writeEnvSpinner(!!prod, {
|
|
276411
|
-
...PRE_DEPLOYED_CONTRACTS,
|
|
276412
276327
|
SETTLEMINT_ACCESS_TOKEN: aatToken,
|
|
276413
276328
|
SETTLEMINT_INSTANCE: instance,
|
|
276414
276329
|
SETTLEMINT_WORKSPACE: workspace.id,
|
|
@@ -276421,8 +276336,6 @@ function connectCommand() {
|
|
|
276421
276336
|
...await getGraphEndpoint(thegraph, env2),
|
|
276422
276337
|
...getPortalEndpoints(portal),
|
|
276423
276338
|
SETTLEMINT_HD_PRIVATE_KEY: hdPrivateKey?.uniqueName,
|
|
276424
|
-
NEXTAUTH_URL: authUrl,
|
|
276425
|
-
SETTLEMINT_AUTH_SECRET: authSecret,
|
|
276426
276339
|
SETTLEMINT_MINIO: minio?.id,
|
|
276427
276340
|
SETTLEMINT_MINIO_ENDPOINT: minio?.endpoints.find((endpoint) => endpoint.id.includes("s3-api"))?.displayValue,
|
|
276428
276341
|
SETTLEMINT_MINIO_ACCESS_KEY: minio?.credentials.find((credential) => credential.id.includes("access-key"))?.displayValue,
|
|
@@ -276441,7 +276354,7 @@ function connectCommand() {
|
|
|
276441
276354
|
var package_default = {
|
|
276442
276355
|
name: "@settlemint/sdk-cli",
|
|
276443
276356
|
description: "SettleMint SDK, integrate SettleMint into your application with ease.",
|
|
276444
|
-
version: "0.6.
|
|
276357
|
+
version: "0.6.35",
|
|
276445
276358
|
type: "module",
|
|
276446
276359
|
private: false,
|
|
276447
276360
|
license: "FSL-1.1-MIT",
|
|
@@ -276491,8 +276404,8 @@ var package_default = {
|
|
|
276491
276404
|
"@inquirer/input": "4.1.0",
|
|
276492
276405
|
"@inquirer/password": "4.0.3",
|
|
276493
276406
|
"@inquirer/select": "4.0.3",
|
|
276494
|
-
"@settlemint/sdk-js": "0.6.
|
|
276495
|
-
"@settlemint/sdk-utils": "0.6.
|
|
276407
|
+
"@settlemint/sdk-js": "0.6.35",
|
|
276408
|
+
"@settlemint/sdk-utils": "0.6.35",
|
|
276496
276409
|
"get-tsconfig": "4.8.1",
|
|
276497
276410
|
giget: "1.2.3"
|
|
276498
276411
|
},
|
|
@@ -277665,17 +277578,12 @@ var DotEnvSchema3 = z4.object({
|
|
|
277665
277578
|
SETTLEMINT_IPFS_API_ENDPOINT: UrlSchema3.optional(),
|
|
277666
277579
|
SETTLEMINT_IPFS_PINNING_ENDPOINT: UrlSchema3.optional(),
|
|
277667
277580
|
SETTLEMINT_IPFS_GATEWAY_ENDPOINT: UrlSchema3.optional(),
|
|
277668
|
-
SETTLEMINT_AUTH_SECRET: z4.string(),
|
|
277669
277581
|
SETTLEMINT_CUSTOM_DEPLOYMENT: IdSchema3.optional(),
|
|
277670
277582
|
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT: UrlSchema3.optional(),
|
|
277671
277583
|
SETTLEMINT_BLOCKSCOUT: IdSchema3.optional(),
|
|
277672
277584
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema3.optional(),
|
|
277673
277585
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema3.optional(),
|
|
277674
277586
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
277675
|
-
NEXTAUTH_URL: UrlSchema3,
|
|
277676
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_REGISTRY: z4.literal("0x5e771e1417100000000000000000000000000001"),
|
|
277677
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000002"),
|
|
277678
|
-
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: z4.literal("0x5e771e1417100000000000000000000000000003"),
|
|
277679
277587
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema3.optional(),
|
|
277680
277588
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
277681
277589
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -277869,8 +277777,6 @@ ${createExamples(examples)}`).argument("<name>", `The ${type4} name`).option("-a
|
|
|
277869
277777
|
const newEnv = isApplicationChanged ? {
|
|
277870
277778
|
SETTLEMINT_ACCESS_TOKEN: usePersonalAccessToken ? env2.SETTLEMINT_ACCESS_TOKEN : accessToken,
|
|
277871
277779
|
SETTLEMINT_INSTANCE: instance,
|
|
277872
|
-
SETTLEMINT_AUTH_SECRET: env2.SETTLEMINT_AUTH_SECRET,
|
|
277873
|
-
NEXTAUTH_URL: env2.NEXTAUTH_URL,
|
|
277874
277780
|
...updatedEnv
|
|
277875
277781
|
} : {
|
|
277876
277782
|
...env2,
|
|
@@ -277939,7 +277845,6 @@ function blockchainNetworkBesuCreateCommand() {
|
|
|
277939
277845
|
} : undefined,
|
|
277940
277846
|
mapDefaultEnv: () => {
|
|
277941
277847
|
return {
|
|
277942
|
-
...PRE_DEPLOYED_CONTRACTS,
|
|
277943
277848
|
SETTLEMINT_APPLICATION: application,
|
|
277944
277849
|
SETTLEMINT_BLOCKCHAIN_NETWORK: result.id,
|
|
277945
277850
|
SETTLEMINT_BLOCKCHAIN_NODE: blockchainNode?.id
|
|
@@ -279948,4 +279853,4 @@ sdkcli.parseAsync(process.argv).catch((reason) => {
|
|
|
279948
279853
|
cancel2(reason);
|
|
279949
279854
|
});
|
|
279950
279855
|
|
|
279951
|
-
//# debugId=
|
|
279856
|
+
//# debugId=5810A9296B051FFC64756E2164756E21
|