@settlemint/sdk-cli 2.3.5-maina2fdb41b → 2.3.5-maina56b2e84
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 +23 -19
- package/dist/cli.js.map +10 -10
- package/package.json +5 -5
package/dist/cli.js
CHANGED
@@ -231606,7 +231606,7 @@ function size(value4) {
|
|
231606
231606
|
var init_size = () => {};
|
231607
231607
|
|
231608
231608
|
// ../../node_modules/viem/_esm/errors/version.js
|
231609
|
-
var version5 = "2.
|
231609
|
+
var version5 = "2.31.0";
|
231610
231610
|
|
231611
231611
|
// ../../node_modules/viem/_esm/errors/base.js
|
231612
231612
|
function walk(err, fn) {
|
@@ -257487,7 +257487,8 @@ var DotEnvSchema = object({
|
|
257487
257487
|
"warn",
|
257488
257488
|
"error",
|
257489
257489
|
"none"
|
257490
|
-
]).default("warn")
|
257490
|
+
]).default("warn"),
|
257491
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum(["0", "1"]).optional()
|
257491
257492
|
});
|
257492
257493
|
var DotEnvSchemaPartial = DotEnvSchema.partial();
|
257493
257494
|
var IdSchema = union([string().uuid(), string().regex(/^[0-9a-fA-F]{24}$/)]);
|
@@ -263128,7 +263129,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263128
263129
|
var package_default = {
|
263129
263130
|
name: "@settlemint/sdk-cli",
|
263130
263131
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263131
|
-
version: "2.3.5-
|
263132
|
+
version: "2.3.5-maina56b2e84",
|
263132
263133
|
type: "module",
|
263133
263134
|
private: false,
|
263134
263135
|
license: "FSL-1.1-MIT",
|
@@ -263177,9 +263178,9 @@ var package_default = {
|
|
263177
263178
|
"@inquirer/input": "4.1.12",
|
263178
263179
|
"@inquirer/password": "4.0.15",
|
263179
263180
|
"@inquirer/select": "4.2.3",
|
263180
|
-
"@settlemint/sdk-js": "2.3.5-
|
263181
|
-
"@settlemint/sdk-utils": "2.3.5-
|
263182
|
-
"@types/node": "22.15.
|
263181
|
+
"@settlemint/sdk-js": "2.3.5-maina56b2e84",
|
263182
|
+
"@settlemint/sdk-utils": "2.3.5-maina56b2e84",
|
263183
|
+
"@types/node": "22.15.31",
|
263183
263184
|
"@types/semver": "7.7.0",
|
263184
263185
|
"@types/which": "3.0.4",
|
263185
263186
|
"get-tsconfig": "4.10.1",
|
@@ -263187,7 +263188,7 @@ var package_default = {
|
|
263187
263188
|
"is-in-ci": "1.0.0",
|
263188
263189
|
semver: "7.7.2",
|
263189
263190
|
slugify: "1.6.6",
|
263190
|
-
viem: "2.
|
263191
|
+
viem: "2.31.0",
|
263191
263192
|
which: "5.0.0",
|
263192
263193
|
yaml: "2.8.0",
|
263193
263194
|
yoctocolors: "2.1.1"
|
@@ -275251,7 +275252,8 @@ var DotEnvSchema2 = object2({
|
|
275251
275252
|
"warn",
|
275252
275253
|
"error",
|
275253
275254
|
"none"
|
275254
|
-
]).default("warn")
|
275255
|
+
]).default("warn"),
|
275256
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum2(["0", "1"]).optional()
|
275255
275257
|
});
|
275256
275258
|
var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
|
275257
275259
|
var IdSchema2 = union2([string2().uuid(), string2().regex(/^[0-9a-fA-F]{24}$/)]);
|
@@ -302712,11 +302714,7 @@ function decodeEventLog(parameters) {
|
|
302712
302714
|
const [signature, ...argTopics] = topics;
|
302713
302715
|
if (!signature)
|
302714
302716
|
throw new AbiEventSignatureEmptyTopicsError({ docsPath: docsPath3 });
|
302715
|
-
const abiItem = (() =>
|
302716
|
-
if (abi.length === 1)
|
302717
|
-
return abi[0];
|
302718
|
-
return abi.find((x6) => x6.type === "event" && signature === toEventSelector(formatAbiItem2(x6)));
|
302719
|
-
})();
|
302717
|
+
const abiItem = abi.find((x6) => x6.type === "event" && signature === toEventSelector(formatAbiItem2(x6)));
|
302720
302718
|
if (!(abiItem && ("name" in abiItem)) || abiItem.type !== "event")
|
302721
302719
|
throw new AbiEventSignatureNotFoundError(signature, { docsPath: docsPath3 });
|
302722
302720
|
const { name: name3, inputs } = abiItem;
|
@@ -303403,8 +303401,11 @@ function uid(length = 11) {
|
|
303403
303401
|
|
303404
303402
|
// ../../node_modules/viem/_esm/clients/createClient.js
|
303405
303403
|
function createClient(parameters) {
|
303406
|
-
const { batch,
|
303407
|
-
const
|
303404
|
+
const { batch, chain, ccipRead, key: key2 = "base", name: name3 = "Base Client", type: type4 = "base" } = parameters;
|
303405
|
+
const blockTime = chain?.blockTime ?? 12000;
|
303406
|
+
const defaultPollingInterval = Math.min(Math.max(Math.floor(blockTime / 2), 500), 4000);
|
303407
|
+
const pollingInterval = parameters.pollingInterval ?? defaultPollingInterval;
|
303408
|
+
const cacheTime = parameters.cacheTime ?? pollingInterval;
|
303408
303409
|
const account = parameters.account ? parseAccount(parameters.account) : undefined;
|
303409
303410
|
const { config: config4, request: request2, value: value4 } = parameters.transport({
|
303410
303411
|
chain,
|
@@ -318669,7 +318670,8 @@ async function writeEnvSpinner(prod, env2) {
|
|
318669
318670
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: env2.SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT,
|
318670
318671
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: env2.SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT,
|
318671
318672
|
SETTLEMINT_NEW_PROJECT_NAME: env2.SETTLEMINT_NEW_PROJECT_NAME,
|
318672
|
-
SETTLEMINT_LOG_LEVEL: env2.SETTLEMINT_LOG_LEVEL
|
318673
|
+
SETTLEMINT_LOG_LEVEL: env2.SETTLEMINT_LOG_LEVEL,
|
318674
|
+
NODE_TLS_REJECT_UNAUTHORIZED: env2.NODE_TLS_REJECT_UNAUTHORIZED
|
318673
318675
|
};
|
318674
318676
|
await writeEnv({
|
318675
318677
|
prod,
|
@@ -319226,7 +319228,8 @@ async function connectToPlatform(env2, selectedInstance, acceptDefaults, prod) {
|
|
319226
319228
|
SETTLEMINT_CUSTOM_DEPLOYMENT: cDeployment?.uniqueName,
|
319227
319229
|
...getCustomDeploymentEnv(cDeployment),
|
319228
319230
|
SETTLEMINT_BLOCKSCOUT: blockscout?.uniqueName,
|
319229
|
-
...getBlockscoutEnv(blockscout)
|
319231
|
+
...getBlockscoutEnv(blockscout),
|
319232
|
+
NODE_TLS_REJECT_UNAUTHORIZED: "1"
|
319230
319233
|
});
|
319231
319234
|
}
|
319232
319235
|
async function connectToStandalone(env2, acceptDefaults, prod) {
|
@@ -319385,7 +319388,8 @@ async function connectToStandalone(env2, acceptDefaults, prod) {
|
|
319385
319388
|
SETTLEMINT_MINIO_ACCESS_KEY: selectedServices.minioAccessKey?.result,
|
319386
319389
|
SETTLEMINT_MINIO_SECRET_KEY: selectedServices.minioSecretKey?.result,
|
319387
319390
|
SETTLEMINT_IPFS_API_ENDPOINT: selectedServices.ipfsApiEndpoint?.result,
|
319388
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: selectedServices.blockscoutGraphqlEndpoint?.result
|
319391
|
+
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: selectedServices.blockscoutGraphqlEndpoint?.result,
|
319392
|
+
NODE_TLS_REJECT_UNAUTHORIZED: "0"
|
319389
319393
|
});
|
319390
319394
|
}
|
319391
319395
|
|
@@ -327384,4 +327388,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
327384
327388
|
// src/cli.ts
|
327385
327389
|
sdkCliCommand();
|
327386
327390
|
|
327387
|
-
//# debugId=
|
327391
|
+
//# debugId=79234FEEEEFB66FB64756E2164756E21
|