@settlemint/sdk-cli 2.3.5-main3e90e9bb → 2.3.5-main67cf5bc3
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 -14
- package/dist/cli.js.map +6 -6
- 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) {
|
@@ -263129,7 +263129,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263129
263129
|
var package_default = {
|
263130
263130
|
name: "@settlemint/sdk-cli",
|
263131
263131
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263132
|
-
version: "2.3.5-
|
263132
|
+
version: "2.3.5-main67cf5bc3",
|
263133
263133
|
type: "module",
|
263134
263134
|
private: false,
|
263135
263135
|
license: "FSL-1.1-MIT",
|
@@ -263178,9 +263178,9 @@ var package_default = {
|
|
263178
263178
|
"@inquirer/input": "4.1.12",
|
263179
263179
|
"@inquirer/password": "4.0.15",
|
263180
263180
|
"@inquirer/select": "4.2.3",
|
263181
|
-
"@settlemint/sdk-js": "2.3.5-
|
263182
|
-
"@settlemint/sdk-utils": "2.3.5-
|
263183
|
-
"@types/node": "
|
263181
|
+
"@settlemint/sdk-js": "2.3.5-main67cf5bc3",
|
263182
|
+
"@settlemint/sdk-utils": "2.3.5-main67cf5bc3",
|
263183
|
+
"@types/node": "24.0.0",
|
263184
263184
|
"@types/semver": "7.7.0",
|
263185
263185
|
"@types/which": "3.0.4",
|
263186
263186
|
"get-tsconfig": "4.10.1",
|
@@ -263188,7 +263188,7 @@ var package_default = {
|
|
263188
263188
|
"is-in-ci": "1.0.0",
|
263189
263189
|
semver: "7.7.2",
|
263190
263190
|
slugify: "1.6.6",
|
263191
|
-
viem: "2.
|
263191
|
+
viem: "2.31.0",
|
263192
263192
|
which: "5.0.0",
|
263193
263193
|
yaml: "2.8.0",
|
263194
263194
|
yoctocolors: "2.1.1"
|
@@ -302714,11 +302714,7 @@ function decodeEventLog(parameters) {
|
|
302714
302714
|
const [signature, ...argTopics] = topics;
|
302715
302715
|
if (!signature)
|
302716
302716
|
throw new AbiEventSignatureEmptyTopicsError({ docsPath: docsPath3 });
|
302717
|
-
const abiItem = (() =>
|
302718
|
-
if (abi.length === 1)
|
302719
|
-
return abi[0];
|
302720
|
-
return abi.find((x6) => x6.type === "event" && signature === toEventSelector(formatAbiItem2(x6)));
|
302721
|
-
})();
|
302717
|
+
const abiItem = abi.find((x6) => x6.type === "event" && signature === toEventSelector(formatAbiItem2(x6)));
|
302722
302718
|
if (!(abiItem && ("name" in abiItem)) || abiItem.type !== "event")
|
302723
302719
|
throw new AbiEventSignatureNotFoundError(signature, { docsPath: docsPath3 });
|
302724
302720
|
const { name: name3, inputs } = abiItem;
|
@@ -303405,8 +303401,11 @@ function uid(length = 11) {
|
|
303405
303401
|
|
303406
303402
|
// ../../node_modules/viem/_esm/clients/createClient.js
|
303407
303403
|
function createClient(parameters) {
|
303408
|
-
const { batch,
|
303409
|
-
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;
|
303410
303409
|
const account = parameters.account ? parseAccount(parameters.account) : undefined;
|
303411
303410
|
const { config: config4, request: request2, value: value4 } = parameters.transport({
|
303412
303411
|
chain,
|
@@ -327389,4 +327388,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
327389
327388
|
// src/cli.ts
|
327390
327389
|
sdkCliCommand();
|
327391
327390
|
|
327392
|
-
//# debugId=
|
327391
|
+
//# debugId=E1FB4CD54F42EAB164756E2164756E21
|