Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #34 from ably-labs/ably-agent
Browse files Browse the repository at this point in the history
fix: use object for ClientOptions.agent
  • Loading branch information
owenpearson committed Apr 4, 2023
2 parents 934c32c + 65e5d91 commit 28603c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AblyReactHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class Realtime extends Ably.Realtime.Promise {
} as Types.ClientOptions;
}

(options as any).agents = [`react-hooks/${version}`]
(options as any).agents = { 'react-hooks': version };

super(options);
}
Expand Down

0 comments on commit 28603c7

Please sign in to comment.