fix: address review comments

- Use optional timeoutMs parameter (undefined = use config/default)
- Extract DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS to shared constants.ts
- Import constant in client.ts instead of hardcoding
- Re-export constant from probe.ts for backwards compatibility
This commit is contained in:
Yudong Han
2026-02-04 08:08:44 +00:00
committed by Peter Steinberger
parent 78f8a29071
commit f633a8cb22
4 changed files with 17 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
/** Default timeout for iMessage probe/RPC operations (10 seconds). */
export const DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS = 10_000;