@settlemint/sdk-cli 2.4.0-pre98cfd17 → 2.4.0-prec526eee

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 CHANGED
@@ -231623,7 +231623,7 @@ function size(value4) {
231623
231623
  var init_size = () => {};
231624
231624
 
231625
231625
  // ../../node_modules/viem/_esm/errors/version.js
231626
- var version5 = "2.31.4";
231626
+ var version5 = "2.31.2";
231627
231627
 
231628
231628
  // ../../node_modules/viem/_esm/errors/base.js
231629
231629
  function walk(err, fn) {
@@ -263840,7 +263840,7 @@ function pruneCurrentEnv(currentEnv, env2) {
263840
263840
  var package_default = {
263841
263841
  name: "@settlemint/sdk-cli",
263842
263842
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
263843
- version: "2.4.0-pre98cfd17",
263843
+ version: "2.4.0-prec526eee",
263844
263844
  type: "module",
263845
263845
  private: false,
263846
263846
  license: "FSL-1.1-MIT",
@@ -263889,10 +263889,10 @@ var package_default = {
263889
263889
  "@inquirer/input": "4.1.12",
263890
263890
  "@inquirer/password": "4.0.15",
263891
263891
  "@inquirer/select": "4.2.3",
263892
- "@settlemint/sdk-js": "2.4.0-pre98cfd17",
263893
- "@settlemint/sdk-utils": "2.4.0-pre98cfd17",
263894
- "@settlemint/sdk-viem": "2.4.0-pre98cfd17",
263895
- "@types/node": "24.0.3",
263892
+ "@settlemint/sdk-js": "2.4.0-prec526eee",
263893
+ "@settlemint/sdk-utils": "2.4.0-prec526eee",
263894
+ "@settlemint/sdk-viem": "2.4.0-prec526eee",
263895
+ "@types/node": "24.0.1",
263896
263896
  "@types/semver": "7.7.0",
263897
263897
  "@types/which": "3.0.4",
263898
263898
  "get-tsconfig": "4.10.1",
@@ -263900,13 +263900,13 @@ var package_default = {
263900
263900
  "is-in-ci": "1.0.0",
263901
263901
  semver: "7.7.2",
263902
263902
  slugify: "1.6.6",
263903
- viem: "2.31.4",
263903
+ viem: "2.31.2",
263904
263904
  which: "5.0.0",
263905
263905
  yaml: "2.8.0",
263906
263906
  yoctocolors: "2.1.1"
263907
263907
  },
263908
263908
  peerDependencies: {
263909
- hardhat: "2.25.0"
263909
+ hardhat: "2.24.3"
263910
263910
  },
263911
263911
  peerDependenciesMeta: {
263912
263912
  hardhat: {
@@ -305154,9 +305154,9 @@ function watchContractEvent(client, parameters) {
305154
305154
  return poll_;
305155
305155
  if (typeof fromBlock === "bigint")
305156
305156
  return true;
305157
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
305157
+ if (client.transport.type === "webSocket")
305158
305158
  return false;
305159
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
305159
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
305160
305160
  return false;
305161
305161
  return true;
305162
305162
  })();
@@ -305257,7 +305257,7 @@ function watchContractEvent(client, parameters) {
305257
305257
  try {
305258
305258
  const transport = (() => {
305259
305259
  if (client.transport.type === "fallback") {
305260
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
305260
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
305261
305261
  if (!transport2)
305262
305262
  return client.transport;
305263
305263
  return transport2.value;
@@ -307145,10 +307145,9 @@ async function simulateBlocks(client, parameters) {
307145
307145
  const calls = block2.calls.map((call_) => {
307146
307146
  const call2 = call_;
307147
307147
  const account = call2.account ? parseAccount(call2.account) : undefined;
307148
- const data = call2.abi ? encodeFunctionData(call2) : call2.data;
307149
307148
  const request2 = {
307150
307149
  ...call2,
307151
- data: call2.dataSuffix ? concat2([data || "0x", call2.dataSuffix]) : data,
307150
+ data: call2.abi ? encodeFunctionData(call2) : call2.data,
307152
307151
  from: call2.from ?? account?.address
307153
307152
  };
307154
307153
  assertRequest(request2);
@@ -308418,9 +308417,9 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
308418
308417
  const enablePolling = (() => {
308419
308418
  if (typeof poll_ !== "undefined")
308420
308419
  return poll_;
308421
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308420
+ if (client.transport.type === "webSocket")
308422
308421
  return false;
308423
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308422
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308424
308423
  return false;
308425
308424
  return true;
308426
308425
  })();
@@ -308472,7 +308471,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
308472
308471
  try {
308473
308472
  const transport = (() => {
308474
308473
  if (client.transport.type === "fallback") {
308475
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308474
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308476
308475
  if (!transport2)
308477
308476
  return client.transport;
308478
308477
  return transport2.value;
@@ -308625,9 +308624,9 @@ function watchBlocks(client, { blockTag = "latest", emitMissed = false, emitOnBe
308625
308624
  const enablePolling = (() => {
308626
308625
  if (typeof poll_ !== "undefined")
308627
308626
  return poll_;
308628
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308627
+ if (client.transport.type === "webSocket")
308629
308628
  return false;
308630
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308629
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308631
308630
  return false;
308632
308631
  return true;
308633
308632
  })();
@@ -308696,7 +308695,7 @@ function watchBlocks(client, { blockTag = "latest", emitMissed = false, emitOnBe
308696
308695
  }
308697
308696
  const transport = (() => {
308698
308697
  if (client.transport.type === "fallback") {
308699
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308698
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308700
308699
  if (!transport2)
308701
308700
  return client.transport;
308702
308701
  return transport2.value;
@@ -308743,9 +308742,9 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308743
308742
  return poll_;
308744
308743
  if (typeof fromBlock === "bigint")
308745
308744
  return true;
308746
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308745
+ if (client.transport.type === "webSocket")
308747
308746
  return false;
308748
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308747
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308749
308748
  return false;
308750
308749
  return true;
308751
308750
  })();
@@ -308832,7 +308831,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308832
308831
  try {
308833
308832
  const transport = (() => {
308834
308833
  if (client.transport.type === "fallback") {
308835
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308834
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308836
308835
  if (!transport2)
308837
308836
  return client.transport;
308838
308837
  return transport2.value;
@@ -308899,7 +308898,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308899
308898
  }
308900
308899
  // ../../node_modules/viem/_esm/actions/public/watchPendingTransactions.js
308901
308900
  function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
308902
- const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
308901
+ const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket";
308903
308902
  const pollPendingTransactions = () => {
308904
308903
  const observerId = stringify3([
308905
308904
  "watchPendingTransactions",
@@ -330090,4 +330089,4 @@ async function sdkCliCommand(argv = process.argv) {
330090
330089
  // src/cli.ts
330091
330090
  sdkCliCommand();
330092
330091
 
330093
- //# debugId=42C77CD9A6917CDB64756E2164756E21
330092
+ //# debugId=624FF2D0D98AEBFB64756E2164756E21