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

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.3";
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-prf263ce2b",
263844
263844
  type: "module",
263845
263845
  private: false,
263846
263846
  license: "FSL-1.1-MIT",
@@ -263889,9 +263889,9 @@ 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",
263892
+ "@settlemint/sdk-js": "2.4.0-prf263ce2b",
263893
+ "@settlemint/sdk-utils": "2.4.0-prf263ce2b",
263894
+ "@settlemint/sdk-viem": "2.4.0-prf263ce2b",
263895
263895
  "@types/node": "24.0.3",
263896
263896
  "@types/semver": "7.7.0",
263897
263897
  "@types/which": "3.0.4",
@@ -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.3",
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;
@@ -308418,9 +308418,9 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
308418
308418
  const enablePolling = (() => {
308419
308419
  if (typeof poll_ !== "undefined")
308420
308420
  return poll_;
308421
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308421
+ if (client.transport.type === "webSocket")
308422
308422
  return false;
308423
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308423
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308424
308424
  return false;
308425
308425
  return true;
308426
308426
  })();
@@ -308472,7 +308472,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
308472
308472
  try {
308473
308473
  const transport = (() => {
308474
308474
  if (client.transport.type === "fallback") {
308475
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308475
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308476
308476
  if (!transport2)
308477
308477
  return client.transport;
308478
308478
  return transport2.value;
@@ -308625,9 +308625,9 @@ function watchBlocks(client, { blockTag = "latest", emitMissed = false, emitOnBe
308625
308625
  const enablePolling = (() => {
308626
308626
  if (typeof poll_ !== "undefined")
308627
308627
  return poll_;
308628
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308628
+ if (client.transport.type === "webSocket")
308629
308629
  return false;
308630
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308630
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308631
308631
  return false;
308632
308632
  return true;
308633
308633
  })();
@@ -308696,7 +308696,7 @@ function watchBlocks(client, { blockTag = "latest", emitMissed = false, emitOnBe
308696
308696
  }
308697
308697
  const transport = (() => {
308698
308698
  if (client.transport.type === "fallback") {
308699
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308699
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308700
308700
  if (!transport2)
308701
308701
  return client.transport;
308702
308702
  return transport2.value;
@@ -308743,9 +308743,9 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308743
308743
  return poll_;
308744
308744
  if (typeof fromBlock === "bigint")
308745
308745
  return true;
308746
- if (client.transport.type === "webSocket" || client.transport.type === "ipc")
308746
+ if (client.transport.type === "webSocket")
308747
308747
  return false;
308748
- if (client.transport.type === "fallback" && (client.transport.transports[0].config.type === "webSocket" || client.transport.transports[0].config.type === "ipc"))
308748
+ if (client.transport.type === "fallback" && client.transport.transports[0].config.type === "webSocket")
308749
308749
  return false;
308750
308750
  return true;
308751
308751
  })();
@@ -308832,7 +308832,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308832
308832
  try {
308833
308833
  const transport = (() => {
308834
308834
  if (client.transport.type === "fallback") {
308835
- const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket" || transport3.config.type === "ipc");
308835
+ const transport2 = client.transport.transports.find((transport3) => transport3.config.type === "webSocket");
308836
308836
  if (!transport2)
308837
308837
  return client.transport;
308838
308838
  return transport2.value;
@@ -308899,7 +308899,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
308899
308899
  }
308900
308900
  // ../../node_modules/viem/_esm/actions/public/watchPendingTransactions.js
308901
308901
  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";
308902
+ const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket";
308903
308903
  const pollPendingTransactions = () => {
308904
308904
  const observerId = stringify3([
308905
308905
  "watchPendingTransactions",
@@ -330090,4 +330090,4 @@ async function sdkCliCommand(argv = process.argv) {
330090
330090
  // src/cli.ts
330091
330091
  sdkCliCommand();
330092
330092
 
330093
- //# debugId=42C77CD9A6917CDB64756E2164756E21
330093
+ //# debugId=8D42BB191ECD719864756E2164756E21