@deeeed/metamask-harness 0.51.2 → 0.51.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.51.3 - 2026-09-14
6
+
7
+ ### Fixed
8
+
9
+ - `fixtures set` on mobile bounds the setup-wallet leaf at six minutes instead of two: after an unlock the app hydrates every account before it answers the bridge again, and a large fixture on a loaded Mac took past the old bound while the wallet itself reached the unlocked home screen. `MM_HARNESS_FIXTURES_SET_TIMEOUT_MS` still overrides it.
5
10
  ## 0.51.2 - 2026-09-14
6
11
 
7
12
  ### Fixed
@@ -10,6 +10,7 @@ import { applyDeviceTargeting } from "./device-target.js";
10
10
  import { ADAPTER_DETECT_NEXT, checkoutBusyOut, EXIT, flag, parseFlags, resolveAdapter, scriptOverride, spawnScript, spawnScriptStreaming, str, targetOf, usageOut } from "./shared.js";
11
11
  const FIXTURES_BOOLEANS = /* @__PURE__ */ new Set(["dev", "force", "json"]);
12
12
  const FIXTURE_STREAM_TIMEOUT_MS = 12e4;
13
+ const MOBILE_SETUP_WALLET_TIMEOUT_MS = 36e4;
13
14
  async function handleFixtures(argv) {
14
15
  const { positional, options } = parseFlags(argv, FIXTURES_BOOLEANS);
15
16
  if (!positional[0]) return fixturesStatus(options);
@@ -246,8 +247,8 @@ async function handleFixturesLocked(argv) {
246
247
  }
247
248
  }
248
249
  }
249
- const configuredTimeout = Number(process.env.MM_HARNESS_FIXTURES_SET_TIMEOUT_MS ?? FIXTURE_STREAM_TIMEOUT_MS);
250
- const timeoutMs = Number.isFinite(configuredTimeout) && configuredTimeout > 0 ? configuredTimeout : FIXTURE_STREAM_TIMEOUT_MS;
250
+ const configuredTimeout = Number(process.env.MM_HARNESS_FIXTURES_SET_TIMEOUT_MS ?? MOBILE_SETUP_WALLET_TIMEOUT_MS);
251
+ const timeoutMs = Number.isFinite(configuredTimeout) && configuredTimeout > 0 ? configuredTimeout : MOBILE_SETUP_WALLET_TIMEOUT_MS;
251
252
  if (!resetError) {
252
253
  mobileSetupResult = await spawnScriptStreaming(
253
254
  setupWalletSh,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeeed/metamask-harness",
3
- "version": "0.51.2",
3
+ "version": "0.51.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mm-harness": "bin/mm-harness"