@swmansion/argent 0.34.1-next.40 → 0.34.1-next.42

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -36259,7 +36259,7 @@ function isCi(env = process.env) {
36259
36259
  var SESSION_ID2 = randomUUID5();
36260
36260
  function readCliVersion() {
36261
36261
  if (true) {
36262
- return "0.34.1-next.39";
36262
+ return "0.34.1-next.42";
36263
36263
  }
36264
36264
  return "0.0.0";
36265
36265
  }
@@ -36896,7 +36896,8 @@ function coerceScalar(raw, type, field) {
36896
36896
  if (raw.trim() === "")
36897
36897
  throw new FlagParseException(`--${field} expected a number, got "${raw}"`);
36898
36898
  const n3 = Number(raw);
36899
- if (Number.isNaN(n3)) throw new FlagParseException(`--${field} expected a number, got "${raw}"`);
36899
+ if (!Number.isFinite(n3))
36900
+ throw new FlagParseException(`--${field} expected a number, got "${raw}"`);
36900
36901
  return n3;
36901
36902
  }
36902
36903
  if (type === "integer") {
@@ -16945,7 +16945,7 @@ function isCi(env = process.env) {
16945
16945
  var SESSION_ID = randomUUID4();
16946
16946
  function readCliVersion() {
16947
16947
  if (true) {
16948
- return "0.34.1-next.39";
16948
+ return "0.34.1-next.42";
16949
16949
  }
16950
16950
  return "0.0.0";
16951
16951
  }
@@ -546,9 +546,9 @@ export interface ArgentToolArgs {
546
546
  udid: string;
547
547
  /** App bundle ID on iOS or package name on Android (on a Mac app, the bundle id in the device id) */
548
548
  bundleId: string;
549
- /** Android only: the app's Metro port, whose requests are left out of the listing. Omit it to use this device's port, 8081 by default. */
549
+ /** The app's Metro port, whose requests are left out of the listing. Omit it to use this device's port, 8081 by default. A Mac app ignores it. */
550
550
  port?: number;
551
- /** Maximum number of entries to return: the most recent ones, oldest first */
551
+ /** Maximum number of requests to return: the most recent ones, oldest first. 0 returns only the header and the total. On a Mac app it counts events, not requests: one request gives several events. 0 returns no events. */
552
552
  limit?: number;
553
553
  /** Clear the log after reading. On Android, the IDs of cleared requests still work in view-network-request-details */
554
554
  clear?: boolean;