@settlemint/sdk-cli 0.6.34-prfde5cba → 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 -19
- package/dist/cli.js.map +16 -16
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -272103,7 +272103,6 @@ var DotEnvSchema = z4.object({
|
|
|
272103
272103
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema.optional(),
|
|
272104
272104
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema.optional(),
|
|
272105
272105
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
272106
|
-
NEXTAUTH_URL: UrlSchema,
|
|
272107
272106
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema.optional(),
|
|
272108
272107
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
272109
272108
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -272536,7 +272535,6 @@ async function writeEnvSpinner(prod, env2) {
|
|
|
272536
272535
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: env2.SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT,
|
|
272537
272536
|
SETTLEMINT_PORTAL_REST_ENDPOINT: env2.SETTLEMINT_PORTAL_REST_ENDPOINT,
|
|
272538
272537
|
SETTLEMINT_HD_PRIVATE_KEY: env2.SETTLEMINT_HD_PRIVATE_KEY,
|
|
272539
|
-
NEXTAUTH_URL: env2.NEXTAUTH_URL,
|
|
272540
272538
|
SETTLEMINT_MINIO: env2.SETTLEMINT_MINIO,
|
|
272541
272539
|
SETTLEMINT_MINIO_ENDPOINT: env2.SETTLEMINT_MINIO_ENDPOINT,
|
|
272542
272540
|
SETTLEMINT_MINIO_ACCESS_KEY: env2.SETTLEMINT_MINIO_ACCESS_KEY,
|
|
@@ -272766,7 +272764,6 @@ var DotEnvSchema2 = z4.object({
|
|
|
272766
272764
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema2.optional(),
|
|
272767
272765
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema2.optional(),
|
|
272768
272766
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
272769
|
-
NEXTAUTH_URL: UrlSchema2,
|
|
272770
272767
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema2.optional(),
|
|
272771
272768
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
272772
272769
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -275967,7 +275964,7 @@ async function blockchainNodePrompt(env2, nodes, accept) {
|
|
|
275967
275964
|
return;
|
|
275968
275965
|
}
|
|
275969
275966
|
const defaultNode = nodes.find((node2) => node2.id === env2.SETTLEMINT_BLOCKCHAIN_NODE) ?? (nodes.length === 1 ? nodes[0] : undefined);
|
|
275970
|
-
const defaultPossible = accept
|
|
275967
|
+
const defaultPossible = accept;
|
|
275971
275968
|
if (defaultPossible) {
|
|
275972
275969
|
return defaultNode;
|
|
275973
275970
|
}
|
|
@@ -275995,7 +275992,7 @@ async function blockscoutPrompt(env2, insights, accept) {
|
|
|
275995
275992
|
return;
|
|
275996
275993
|
}
|
|
275997
275994
|
const defaultBlockscout = insights.find((insight) => insight.id === env2.SETTLEMINT_BLOCKSCOUT) ?? (insights.length === 1 ? insights[0] : undefined);
|
|
275998
|
-
const defaultPossible = accept
|
|
275995
|
+
const defaultPossible = accept;
|
|
275999
275996
|
if (defaultPossible) {
|
|
276000
275997
|
return defaultBlockscout;
|
|
276001
275998
|
}
|
|
@@ -276022,7 +276019,7 @@ async function customDeploymentPrompt(env2, customDeployments, accept) {
|
|
|
276022
276019
|
return;
|
|
276023
276020
|
}
|
|
276024
276021
|
const defaultCustomDeployment = customDeployments.find((customDeployment) => customDeployment.id === env2.SETTLEMINT_CUSTOM_DEPLOYMENT) ?? (customDeployments.length === 1 ? customDeployments[0] : undefined);
|
|
276025
|
-
const defaultPossible = accept
|
|
276022
|
+
const defaultPossible = accept;
|
|
276026
276023
|
if (defaultPossible) {
|
|
276027
276024
|
return defaultCustomDeployment;
|
|
276028
276025
|
}
|
|
@@ -276050,7 +276047,7 @@ async function hasuraPrompt(env2, integrations, accept) {
|
|
|
276050
276047
|
return;
|
|
276051
276048
|
}
|
|
276052
276049
|
const defaultIntegration = possible.find((integration) => integration.id === env2.SETTLEMINT_HASURA) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276053
|
-
const defaultPossible = accept
|
|
276050
|
+
const defaultPossible = accept;
|
|
276054
276051
|
if (defaultPossible) {
|
|
276055
276052
|
return defaultIntegration;
|
|
276056
276053
|
}
|
|
@@ -276078,7 +276075,7 @@ async function hdPrivateKeyPrompt(env2, privateKeys, accept) {
|
|
|
276078
276075
|
return;
|
|
276079
276076
|
}
|
|
276080
276077
|
const defaultPrivateKey = possible.find((privateKey2) => privateKey2.uniqueName === env2.SETTLEMINT_HD_PRIVATE_KEY) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276081
|
-
const defaultPossible = accept
|
|
276078
|
+
const defaultPossible = accept;
|
|
276082
276079
|
if (defaultPossible) {
|
|
276083
276080
|
return defaultPrivateKey;
|
|
276084
276081
|
}
|
|
@@ -276128,7 +276125,7 @@ async function ipfsPrompt(env2, storages, accept) {
|
|
|
276128
276125
|
return;
|
|
276129
276126
|
}
|
|
276130
276127
|
const defaultStorage = possible.find((storage) => storage.id === env2.SETTLEMINT_IPFS) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276131
|
-
const defaultPossible = accept
|
|
276128
|
+
const defaultPossible = accept;
|
|
276132
276129
|
if (defaultPossible) {
|
|
276133
276130
|
return defaultStorage;
|
|
276134
276131
|
}
|
|
@@ -276156,7 +276153,7 @@ async function minioPrompt(env2, storages, accept) {
|
|
|
276156
276153
|
return;
|
|
276157
276154
|
}
|
|
276158
276155
|
const defaultStorage = possible.find((storage) => storage.id === env2.SETTLEMINT_MINIO) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276159
|
-
const defaultPossible = accept
|
|
276156
|
+
const defaultPossible = accept;
|
|
276160
276157
|
if (defaultPossible) {
|
|
276161
276158
|
return defaultStorage;
|
|
276162
276159
|
}
|
|
@@ -276184,7 +276181,7 @@ async function portalPrompt(env2, middlewares, accept) {
|
|
|
276184
276181
|
return;
|
|
276185
276182
|
}
|
|
276186
276183
|
const defaultMiddleware = possible.find((middleware2) => middleware2.id === env2.SETTLEMINT_PORTAL) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276187
|
-
const defaultPossible = accept
|
|
276184
|
+
const defaultPossible = accept;
|
|
276188
276185
|
if (defaultPossible) {
|
|
276189
276186
|
return defaultMiddleware;
|
|
276190
276187
|
}
|
|
@@ -276251,7 +276248,7 @@ async function theGraphPrompt(env2, middlewares, accept) {
|
|
|
276251
276248
|
return;
|
|
276252
276249
|
}
|
|
276253
276250
|
const defaultMiddleware = possible.find((middleware2) => middleware2.id === env2.SETTLEMINT_THEGRAPH) ?? (possible.length === 1 ? possible[0] : undefined);
|
|
276254
|
-
const defaultPossible = accept
|
|
276251
|
+
const defaultPossible = accept;
|
|
276255
276252
|
if (defaultPossible) {
|
|
276256
276253
|
return defaultMiddleware;
|
|
276257
276254
|
}
|
|
@@ -276357,7 +276354,7 @@ function connectCommand() {
|
|
|
276357
276354
|
var package_default = {
|
|
276358
276355
|
name: "@settlemint/sdk-cli",
|
|
276359
276356
|
description: "SettleMint SDK, integrate SettleMint into your application with ease.",
|
|
276360
|
-
version: "0.6.
|
|
276357
|
+
version: "0.6.35",
|
|
276361
276358
|
type: "module",
|
|
276362
276359
|
private: false,
|
|
276363
276360
|
license: "FSL-1.1-MIT",
|
|
@@ -276407,8 +276404,8 @@ var package_default = {
|
|
|
276407
276404
|
"@inquirer/input": "4.1.0",
|
|
276408
276405
|
"@inquirer/password": "4.0.3",
|
|
276409
276406
|
"@inquirer/select": "4.0.3",
|
|
276410
|
-
"@settlemint/sdk-js": "0.6.
|
|
276411
|
-
"@settlemint/sdk-utils": "0.6.
|
|
276407
|
+
"@settlemint/sdk-js": "0.6.35",
|
|
276408
|
+
"@settlemint/sdk-utils": "0.6.35",
|
|
276412
276409
|
"get-tsconfig": "4.8.1",
|
|
276413
276410
|
giget: "1.2.3"
|
|
276414
276411
|
},
|
|
@@ -277587,7 +277584,6 @@ var DotEnvSchema3 = z4.object({
|
|
|
277587
277584
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema3.optional(),
|
|
277588
277585
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema3.optional(),
|
|
277589
277586
|
SETTLEMINT_NEW_PROJECT_NAME: z4.string().optional(),
|
|
277590
|
-
NEXTAUTH_URL: UrlSchema3,
|
|
277591
277587
|
SETTLEMINT_SMART_CONTRACT_SET: IdSchema3.optional(),
|
|
277592
277588
|
SETTLEMINT_SMART_CONTRACT_SET_ADDRESS: z4.string().optional(),
|
|
277593
277589
|
SETTLEMINT_SMART_CONTRACT_SET_DEPLOYMENT_ID: z4.string().optional()
|
|
@@ -277781,8 +277777,6 @@ ${createExamples(examples)}`).argument("<name>", `The ${type4} name`).option("-a
|
|
|
277781
277777
|
const newEnv = isApplicationChanged ? {
|
|
277782
277778
|
SETTLEMINT_ACCESS_TOKEN: usePersonalAccessToken ? env2.SETTLEMINT_ACCESS_TOKEN : accessToken,
|
|
277783
277779
|
SETTLEMINT_INSTANCE: instance,
|
|
277784
|
-
SETTLEMINT_AUTH_SECRET: env2.SETTLEMINT_AUTH_SECRET,
|
|
277785
|
-
NEXTAUTH_URL: env2.NEXTAUTH_URL,
|
|
277786
277780
|
...updatedEnv
|
|
277787
277781
|
} : {
|
|
277788
277782
|
...env2,
|
|
@@ -279859,4 +279853,4 @@ sdkcli.parseAsync(process.argv).catch((reason) => {
|
|
|
279859
279853
|
cancel2(reason);
|
|
279860
279854
|
});
|
|
279861
279855
|
|
|
279862
|
-
//# debugId=
|
|
279856
|
+
//# debugId=5810A9296B051FFC64756E2164756E21
|