@unbound-app/debugger-protocol 0.4.0 → 0.6.0

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.
@@ -2,6 +2,7 @@ import { parseMessage, serializeMessage } from "./index.mjs";
2
2
  //#region src/controller.ts
3
3
  /** How long the client waits for a result before failing an eval (must exceed the bridge's own). */
4
4
  const EVAL_TIMEOUT_MS = 15e3;
5
+ const PLUGIN_PUSH_TIMEOUT_MS = 75e3;
5
6
  /** How long to wait between reconnection attempts when the bridge is unreachable. */
6
7
  const RECONNECT_DELAY_MS = 1e3;
7
8
  var ControllerClient = class {
@@ -117,9 +118,9 @@ var ControllerClient = class {
117
118
  type: "plugin-push-result",
118
119
  id,
119
120
  ok: false,
120
- error: `Plugin push timed out after ${EVAL_TIMEOUT_MS}ms.`
121
+ error: `Plugin push timed out after ${PLUGIN_PUSH_TIMEOUT_MS}ms.`
121
122
  });
122
- }, EVAL_TIMEOUT_MS);
123
+ }, PLUGIN_PUSH_TIMEOUT_MS);
123
124
  this.pendingPushes.set(id, {
124
125
  resolve,
125
126
  timer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbound-app/debugger-protocol",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "The wire protocol and controller client shared by the debugger bridge, the on-device client, and the CLI.",
5
5
  "author": {
6
6
  "name": "Mario P.",
@@ -35,7 +35,7 @@
35
35
  "build": "tsdown"
36
36
  },
37
37
  "dependencies": {
38
- "@unbound-app/types": "0.4.0",
38
+ "@unbound-app/types": "0.6.0",
39
39
  "zod": "^4.0.0"
40
40
  },
41
41
  "peerDependencies": {