Andrew Bulat

Results 30 issues of Andrew Bulat

Resolves #1730 , resolves #1749 Fixes incorrect usage of the underlying ArrayBuffer buffer in web BufferUtils, where we didn't account for the `byteOffset` and `byteLength` of the original array buffer...

When using an `Ably.Realtime` instance in the [Vercel Edge runtime](https://vercel.com/docs/functions/runtimes/edge-runtime) (to avoid https://github.com/ably/ably-js/issues/1732 error replace `setImmediate` calls in ably-js with `setTimeout`) - whether within serverless functions or in SSR when...

bug

1. create an article detailing the integration of ably-js with Vercel, and using Vercel Edge runtime. Update the [Vercel websocket connections guide page](https://vercel.com/guides/do-vercel-serverless-functions-support-websocket-connections) to direct users to this specific article...

documentation

Currently, when trying to use the `Ably.Realtime` instance in the [Vercel Edge runtime](https://vercel.com/docs/functions/runtimes/edge-runtime) * whether within serverless functions or in SSR when rendering the frontend in Edge runtime - we...

enhancement

Important notes regarding Vercel Edge runtime: 1. When importing a package in the Vercel Edge runtime, Vercel selects a `browser` bundle from the available bundles provided by the package in...

investigate

See PR comment https://github.com/ably/ably-js/pull/1674#discussion_r1517565591. See code in question from `usePresence` hook (or `usePresenceListener` after https://github.com/ably/ably-js/pull/1674 is merged): https://github.com/ably/ably-js/blob/integration/v2/src/platform/react-hooks/src/hooks/usePresence.ts#L41C1-L51C58 ┆Issue is synchronized with this [Jira Story](https://ably.atlassian.net/browse/ECO-4691) by [Unito](https://www.unito.io)

enhancement

TLDR: current issue is that if you have two components mounted with `usePresence` hook and one of them is umounted then you'll leave presence even though you still have a...

enhancement

See https://github.com/ably/ably-js/pull/1674#issuecomment-1992751761 ┆Issue is synchronized with this [Jira Story](https://ably.atlassian.net/browse/ECO-4693) by [Unito](https://www.unito.io)

enhancement

When using `ChannelProvider` with any sort of options: ```jsx ``` It causes channel to send double ATTACH messages: ![image](https://github.com/ably/ably-js/assets/9639405/941d7213-9a90-48a0-89fa-12d44301da31) If using any rewind options `{ params: { rewind: '1' }...

bug

`got@12` is the latest version of `got` we can update to without making very drastic changes to the codebase. Installing `got@13` will cause our TS import statements to fail with:...