Skip to content

Commit

Permalink
add err to OnConnectionLost
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Oct 30, 2024
1 parent 50d2684 commit d36d24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/js-sdk/src/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export type SubscriptionManager = {
updateContentTopics?: UpdateContentTopics;
};

export type OnConnectionLostCallback = () => void;
export type OnConnectionLostCallback = (err?: Error) => void;

const isAbortError = (err?: Error): boolean => {
if (!err) {
Expand Down

0 comments on commit d36d24f

Please sign in to comment.