fix(sdk,transport): bounded prekey requests and a real registration retry (4.13.2)

An unreachable prekey server (packets dropped, not refused) held
createShade for ~2 min per call, and a failed registration was never
retried despite the log saying so. Every request now has a deadline,
registration retries with backoff until it lands, and
registration: 'background' lets an app open its identity offline.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-15 20:49:56 +02:00
parent 5d04e18482
commit bcae7b346e
35 changed files with 406 additions and 60 deletions

View File

@@ -1,3 +1,3 @@
export { ShadeFetchTransport } from './fetch-transport.js';
export { ShadeFetchTransport, DEFAULT_REQUEST_TIMEOUT_MS } from './fetch-transport.js';
export type { FetchBundleResult, KTVerifierOptions } from './fetch-transport.js';
export { ShadeWebSocket } from './ws-adapter.js';