Skip to content

partysocket@1.1.11

Choose a tag to compare

@github-actions github-actions released this 30 Jan 04:44
· 125 commits to main since this release

Patch Changes

  • #315 2a2928b Thanks @threepointone! - Add enabled prop to usePartySocket and useWebSocket hooks for conditional connection control

  • #294 8237982 Thanks @amondnet! - Fix React Native/Expo dispatchEvent TypeError

    Added React Native environment detection to use Node-style event cloning. React Native/Expo environments have both process and document polyfilled but not process.versions.node, which caused browser-style event cloning to be selected incorrectly. Browser-style cloning produces events that fail instanceof Event checks in event-target-polyfill.

    Fixes #257