Skip to content

Commit 9ef7649

Browse files
authored
fix: Release new version (#442)
1 parent 1c57b4a commit 9ef7649

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/RealtimeClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default class RealtimeClient {
122122
*
123123
* @param endPoint The string WebSocket endpoint, ie, "ws://example.com/socket", "wss://example.com", "/socket" (inherited host & protocol)
124124
* @param httpEndpoint The string HTTP endpoint, ie, "https://example.com", "/" (inherited host & protocol)
125-
* @param options.transport The Websocket Transport, for example WebSocket.
125+
* @param options.transport The Websocket Transport, for example WebSocket. This can be a custom implementation
126126
* @param options.timeout The default timeout in milliseconds to trigger push timeouts.
127127
* @param options.params The optional params to pass when connecting.
128128
* @param options.headers The optional headers to pass when connecting.

test/channel.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,7 @@ describe('joinPush', () => {
646646

647647
test('does not set channel state to joined', () => {
648648
helpers.receiveError()
649-
650-
assert.equal(channel.state, 'joining')
649+
assert.equal(channel.state, 'errored')
651650
})
652651

653652
test("does not trigger channel's buffered pushEvents", () => {

0 commit comments

Comments
 (0)