You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DX-1204: address review feedback on v1 callback guard
- rename minV2Args -> v2TrailingFnArity (clearer semantics; docstring was
contradicting itself with "maximum" wording)
- use unknown[] consistently in rest signatures across auth, connection,
channel, and presence guarded methods
- point the hint at the Promise migration explicitly ("v2 uses Promises")
- remove redundant unsubscribe guard (v1 unsubscribe never took a callback)
- drop one-off "synchronous" inline comment from publish; the JSDoc on
detectV1Callback already explains the sync-throw rationale
- use autoConnect:false in sync-throw tests so they don't open a connection
just to validate argument-shape rejection
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments