@settlemint/sdk-cli 2.3.5-maincff70660 → 2.3.5-pr83df8039
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 +12 -13
- package/dist/cli.js.map +7 -7
- 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.30.
|
231609
|
+
var version5 = "2.30.1";
|
231610
231610
|
|
231611
231611
|
// ../../node_modules/viem/_esm/errors/base.js
|
231612
231612
|
function walk(err, fn) {
|
@@ -238927,7 +238927,7 @@ var init_ccip2 = __esm(() => {
|
|
238927
238927
|
|
238928
238928
|
// ../../node_modules/viem/_esm/actions/public/call.js
|
238929
238929
|
async function call(client, args) {
|
238930
|
-
const { account: account_ = client.account,
|
238930
|
+
const { account: account_ = client.account, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = "latest", accessList, blobs, blockOverrides, code: code2, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value: value4, stateOverride, ...rest } = args;
|
238931
238931
|
const account = account_ ? parseAccount(account_) : undefined;
|
238932
238932
|
if (code2 && (factory || factoryData))
|
238933
238933
|
throw new BaseError2("Cannot provide both `code` & `factory`/`factoryData` as parameters.");
|
@@ -238963,7 +238963,6 @@ async function call(client, args) {
|
|
238963
238963
|
...extract2(rest, { format: chainFormat }),
|
238964
238964
|
from: account?.address,
|
238965
238965
|
accessList,
|
238966
|
-
authorizationList,
|
238967
238966
|
blobs,
|
238968
238967
|
data,
|
238969
238968
|
gas,
|
@@ -239035,7 +239034,7 @@ function shouldPerformMulticall({ request: request2 }) {
|
|
239035
239034
|
}
|
239036
239035
|
async function scheduleMulticall(client, args) {
|
239037
239036
|
const { batchSize = 1024, wait = 0 } = typeof client.batch?.multicall === "object" ? client.batch.multicall : {};
|
239038
|
-
const { blockNumber, blockTag = "
|
239037
|
+
const { blockNumber, blockTag = "latest", data, multicallAddress: multicallAddress_, to } = args;
|
239039
239038
|
let multicallAddress = multicallAddress_;
|
239040
239039
|
if (!multicallAddress) {
|
239041
239040
|
if (!client.chain)
|
@@ -263121,7 +263120,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263121
263120
|
var package_default = {
|
263122
263121
|
name: "@settlemint/sdk-cli",
|
263123
263122
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263124
|
-
version: "2.3.5-
|
263123
|
+
version: "2.3.5-pr83df8039",
|
263125
263124
|
type: "module",
|
263126
263125
|
private: false,
|
263127
263126
|
license: "FSL-1.1-MIT",
|
@@ -263170,9 +263169,9 @@ var package_default = {
|
|
263170
263169
|
"@inquirer/input": "4.1.12",
|
263171
263170
|
"@inquirer/password": "4.0.15",
|
263172
263171
|
"@inquirer/select": "4.2.3",
|
263173
|
-
"@settlemint/sdk-js": "2.3.5-
|
263174
|
-
"@settlemint/sdk-utils": "2.3.5-
|
263175
|
-
"@types/node": "22.15.
|
263172
|
+
"@settlemint/sdk-js": "2.3.5-pr83df8039",
|
263173
|
+
"@settlemint/sdk-utils": "2.3.5-pr83df8039",
|
263174
|
+
"@types/node": "22.15.23",
|
263176
263175
|
"@types/semver": "7.7.0",
|
263177
263176
|
"@types/which": "3.0.4",
|
263178
263177
|
"get-tsconfig": "4.10.1",
|
@@ -263180,7 +263179,7 @@ var package_default = {
|
|
263180
263179
|
"is-in-ci": "1.0.0",
|
263181
263180
|
semver: "7.7.2",
|
263182
263181
|
slugify: "1.6.6",
|
263183
|
-
viem: "2.30.
|
263182
|
+
viem: "2.30.1",
|
263184
263183
|
which: "5.0.0",
|
263185
263184
|
yaml: "2.8.0",
|
263186
263185
|
yoctocolors: "2.1.1"
|
@@ -302582,7 +302581,7 @@ async function estimateGas(client, args) {
|
|
302582
302581
|
const { block: block2, request: request3, rpcStateOverride: rpcStateOverride2 } = parameters;
|
302583
302582
|
return client.request({
|
302584
302583
|
method: "eth_estimateGas",
|
302585
|
-
params: rpcStateOverride2 ? [request3, block2 ?? "
|
302584
|
+
params: rpcStateOverride2 ? [request3, block2 ?? "latest", rpcStateOverride2] : block2 ? [request3, block2] : [request3]
|
302586
302585
|
});
|
302587
302586
|
};
|
302588
302587
|
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value: value4, stateOverride, ...rest } = await prepareTransactionRequest(client, {
|
@@ -305157,7 +305156,7 @@ init_transactionRequest();
|
|
305157
305156
|
init_stateOverride2();
|
305158
305157
|
init_assertRequest();
|
305159
305158
|
async function simulateBlocks(client, parameters) {
|
305160
|
-
const { blockNumber, blockTag = "
|
305159
|
+
const { blockNumber, blockTag = "latest", blocks, returnFullTransactions, traceTransfers, validation } = parameters;
|
305161
305160
|
try {
|
305162
305161
|
const blockStateCalls = [];
|
305163
305162
|
for (const block2 of blocks) {
|
@@ -306720,7 +306719,7 @@ function watchBlocks(client, { blockTag = "latest", emitMissed = false, emitOnBe
|
|
306720
306719
|
return;
|
306721
306720
|
onBlock(block, undefined);
|
306722
306721
|
emitFetched = false;
|
306723
|
-
})
|
306722
|
+
});
|
306724
306723
|
}
|
306725
306724
|
const transport = (() => {
|
306726
306725
|
if (client.transport.type === "fallback") {
|
@@ -327375,4 +327374,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
327375
327374
|
// src/cli.ts
|
327376
327375
|
sdkCliCommand();
|
327377
327376
|
|
327378
|
-
//# debugId=
|
327377
|
+
//# debugId=62E7C818AD5A6E6C64756E2164756E21
|