@signalwire/js 3.17.0-dev.202211101554.ff4eda6.0 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/src/BaseSession.d.ts +4 -1
- package/dist/core/src/BaseSession.d.ts.map +1 -1
- package/dist/core/src/redux/actions.d.ts +0 -2
- package/dist/core/src/redux/actions.d.ts.map +1 -1
- package/dist/core/src/redux/rootSaga.d.ts +0 -16
- package/dist/core/src/redux/rootSaga.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/js/src/JWTSession.d.ts.map +1 -1
- package/dist/js/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/chat/Client.test.ts +34 -4
- package/src/createClient.test.ts +4 -0
- package/src/pubSub/Client.test.ts +13 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from './redux';
|
|
2
|
-
import { SessionOptions, RPCConnectResult, JSONRPCRequest, JSONRPCResponse, WebSocketAdapter, NodeSocketAdapter, WebSocketClient, SessionStatus } from './utils/interfaces';
|
|
2
|
+
import { SessionOptions, RPCConnectResult, JSONRPCRequest, JSONRPCResponse, WebSocketAdapter, NodeSocketAdapter, WebSocketClient, SessionStatus, SessionAuthError } from './utils/interfaces';
|
|
3
3
|
export declare const SW_SYMBOL: unique symbol;
|
|
4
4
|
export declare class BaseSession {
|
|
5
5
|
options: SessionOptions;
|
|
@@ -23,6 +23,7 @@ export declare class BaseSession {
|
|
|
23
23
|
private _executeQueue;
|
|
24
24
|
private _checkPingDelay;
|
|
25
25
|
private _checkPingTimer;
|
|
26
|
+
private _reconnectTimer;
|
|
26
27
|
private _status;
|
|
27
28
|
private wsOpenHandler;
|
|
28
29
|
private wsCloseHandler;
|
|
@@ -71,9 +72,11 @@ export declare class BaseSession {
|
|
|
71
72
|
* @return Promise<void>
|
|
72
73
|
*/
|
|
73
74
|
authenticate(): Promise<void>;
|
|
75
|
+
authError(error: SessionAuthError): void;
|
|
74
76
|
protected _onSocketOpen(event: Event): Promise<void>;
|
|
75
77
|
protected _onSocketError(event: Event): void;
|
|
76
78
|
protected _onSocketClose(event: CloseEvent): void;
|
|
79
|
+
private _clearTimers;
|
|
77
80
|
protected _onSocketMessage(event: MessageEvent): void | Promise<void>;
|
|
78
81
|
protected _handleWebSocketMessage(_payload: JSONRPCRequest | JSONRPCResponse): void;
|
|
79
82
|
dispatch(_payload: PayloadAction<any>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSession.d.ts","sourceRoot":"","sources":["../../../../core/src/BaseSession.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AASvC,OAAO,EACL,cAAc,EAEd,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,aAAa,
|
|
1
|
+
{"version":3,"file":"BaseSession.d.ts","sourceRoot":"","sources":["../../../../core/src/BaseSession.ts"],"names":[],"mappings":"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"}
|
|
@@ -19,8 +19,6 @@ export declare const authErrorAction: import("./toolkit").ActionCreatorWithPaylo
|
|
|
19
19
|
}, string>;
|
|
20
20
|
export declare const authSuccessAction: import("./toolkit").ActionCreatorWithoutPayload<"auth/success">;
|
|
21
21
|
export declare const authExpiringAction: import("./toolkit").ActionCreatorWithoutPayload<"auth/expiring">;
|
|
22
|
-
export declare const socketClosedAction: import("./toolkit").ActionCreatorWithoutPayload<"socket/closed">;
|
|
23
|
-
export declare const socketErrorAction: import("./toolkit").ActionCreatorWithoutPayload<"socket/error">;
|
|
24
22
|
export declare const socketMessageAction: import("./toolkit").ActionCreatorWithPayload<JSONRPCRequest, string>;
|
|
25
23
|
export declare const sessionConnectedAction: import("./toolkit").ActionCreatorWithoutPayload<"session.connected" | "session.disconnected" | "session.reconnecting" | "session.unknown" | "session.idle" | "session.auth_error" | "session.expiring">;
|
|
26
24
|
export declare const sessionDisconnectedAction: import("./toolkit").ActionCreatorWithoutPayload<"session.connected" | "session.disconnected" | "session.reconnecting" | "session.unknown" | "session.idle" | "session.auth_error" | "session.expiring">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../core/src/redux/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EACL,cAAc,EACd,gBAAgB,EAGjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAA;AAEjC,eAAO,MAAM,UAAU,+DAA6B,CAAA;AACpD,eAAO,MAAM,aAAa,kEAAgC,CAAA;AAC1D;;GAEG;AACH,eAAO,MAAM,YAAY;WAAyB,MAAM;UAAmB,CAAA;AAE3E;;GAEG;AACH,eAAO,MAAM,aAAa,2EAEzB,CAAA;AAED,eAAO,MAAM,eAAe;WAAyB,gBAAgB;UAEpE,CAAA;AACD,eAAO,MAAM,iBAAiB,iEAA+B,CAAA;AAC7D,eAAO,MAAM,kBAAkB,kEAAgC,CAAA;AAE/D,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../core/src/redux/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EACL,cAAc,EACd,gBAAgB,EAGjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAA;AAEjC,eAAO,MAAM,UAAU,+DAA6B,CAAA;AACpD,eAAO,MAAM,aAAa,kEAAgC,CAAA;AAC1D;;GAEG;AACH,eAAO,MAAM,YAAY;WAAyB,MAAM;UAAmB,CAAA;AAE3E;;GAEG;AACH,eAAO,MAAM,aAAa,2EAEzB,CAAA;AAED,eAAO,MAAM,eAAe;WAAyB,gBAAgB;UAEpE,CAAA;AACD,eAAO,MAAM,iBAAiB,iEAA+B,CAAA;AAC7D,eAAO,MAAM,kBAAkB,kEAAgC,CAAA;AAE/D,eAAO,MAAM,mBAAmB,sEAE/B,CAAA;AAGD,eAAO,MAAM,sBAAsB,yMAElC,CAAA;AACD,eAAO,MAAM,yBAAyB,yMAErC,CAAA;AACD,eAAO,MAAM,yBAAyB,yMAErC,CAAA;AACD,eAAO,MAAM,sBAAsB,6MAElC,CAAA;AACD,eAAO,MAAM,qBAAqB,yMAEjC,CAAA;AAKD,eAAO,MAAM,oBAAoB,OAAQ,MAAM,UAAU,MAAM;;CAK9D,CAAA;AAED,eAAO,MAAM,uBAAuB,OAAQ,MAAM,UAAU,MAAM,WAEjE,CAAA;AAED,eAAO,MAAM,yBAAyB;oBAElB,aAAa,UAAU,CAAC,aAAa,eAAe,CAAC,EAAE;WAChE,aAAa,UAAU,CAAC,aAAa,eAAe,CAAC;;2BAItC,CAAA;AAE1B,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -14,17 +14,6 @@ export declare function initSessionSaga({ SessionConstructor, userOptions, chann
|
|
|
14
14
|
userOptions: InternalUserOptions;
|
|
15
15
|
channels: InternalChannels;
|
|
16
16
|
}): SagaIterator;
|
|
17
|
-
export declare function socketClosedWorker({ session, pubSubChannel, }: {
|
|
18
|
-
session: BaseSession;
|
|
19
|
-
sessionChannel: EventChannel<unknown>;
|
|
20
|
-
pubSubChannel: PubSubChannel;
|
|
21
|
-
}): Generator<import("@redux-saga/core/effects").ChannelPutEffect<import("./interfaces").MapToPubSubShape<import("..").InternalVideoRoomJoinedEvent> | import("./interfaces").MapToPubSubShape<import("..").InternalVideoRoomAudienceCountEvent> | import("./interfaces").MapToPubSubShape<import("..").InternalVideoMemberUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").InternalVideoMemberTalkingEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRoomStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRoomSubscribedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRoomUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRoomEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberJoinedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberLeftEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberTalkingEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberPromotedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoMemberDemotedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoLayoutChangedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRecordingStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRecordingUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRecordingEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoPlaybackStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoPlaybackUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoPlaybackEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoStreamStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoStreamEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoRoomAudienceCountEvent> | {
|
|
22
|
-
type: "session.connected" | "session.disconnected" | "session.reconnecting" | "session.unknown" | "session.idle" | "session.auth_error" | "session.expiring";
|
|
23
|
-
payload: Error | undefined;
|
|
24
|
-
} | import("./interfaces").MapToPubSubShape<import("..").VideoManagerRoomsSubscribedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoManagerRoomEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatChannelMessageEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberJoinedEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberLeftEvent> | import("./interfaces").MapToPubSubShape<import("..").PubSubChannelMessageEvent> | import("..").TaskAction | import("./interfaces").MapToPubSubShape<import("..").MessagingStateEvent> | import("./interfaces").MapToPubSubShape<import("..").MessageUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").MessagingReceiveEvent> | import("./interfaces").MapToPubSubShape<import("..").MessageReceivedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallDialEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallStateEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallReceiveEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallPlayEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallRecordEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallCollectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallTapEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallConnectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallSendDigitsEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallDetectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallReceivedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallTapStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallTapEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectConnectingEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectConnectedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectDisconnectedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectEndedEvent>> | import("@redux-saga/core/effects").CallEffect<true> | import("@redux-saga/core/effects").CallEffect<void> | import("@redux-saga/core/effects").PutEffect<{
|
|
25
|
-
payload: undefined;
|
|
26
|
-
type: "swSdk/destroy";
|
|
27
|
-
}>, void, unknown>;
|
|
28
17
|
export declare function reauthenticateWorker({ session, token, pubSubChannel, }: {
|
|
29
18
|
session: BaseSession;
|
|
30
19
|
token: string;
|
|
@@ -35,11 +24,6 @@ export declare function reauthenticateWorker({ session, token, pubSubChannel, }:
|
|
|
35
24
|
} | import("./interfaces").MapToPubSubShape<import("..").VideoManagerRoomsSubscribedEvent> | import("./interfaces").MapToPubSubShape<import("..").VideoManagerRoomEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatChannelMessageEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberJoinedEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").ChatMemberLeftEvent> | import("./interfaces").MapToPubSubShape<import("..").PubSubChannelMessageEvent> | import("..").TaskAction | import("./interfaces").MapToPubSubShape<import("..").MessagingStateEvent> | import("./interfaces").MapToPubSubShape<import("..").MessageUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").MessagingReceiveEvent> | import("./interfaces").MapToPubSubShape<import("..").MessageReceivedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallDialEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallStateEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallReceiveEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallPlayEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallRecordEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallCollectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallTapEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallConnectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallSendDigitsEvent> | import("./interfaces").MapToPubSubShape<import("..").CallingCallDetectEvent> | import("./interfaces").MapToPubSubShape<import("..").CallReceivedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPlaybackEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallRecordingFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallPromptFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallTapStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallTapEndedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectConnectingEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectConnectedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectDisconnectedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallConnectFailedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectStartedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectUpdatedEvent> | import("./interfaces").MapToPubSubShape<import("..").CallDetectEndedEvent>> | import("@redux-saga/core/effects").CallEffect<void> | import("@redux-saga/core/effects").PutEffect<{
|
|
36
25
|
payload: import("../utils/interfaces").RPCConnectResult;
|
|
37
26
|
type: string;
|
|
38
|
-
}> | import("@redux-saga/core/effects").PutEffect<{
|
|
39
|
-
payload: {
|
|
40
|
-
error: import("../utils/interfaces").SessionAuthError;
|
|
41
|
-
};
|
|
42
|
-
type: string;
|
|
43
27
|
}>, void, unknown>;
|
|
44
28
|
export declare function sessionStatusWatcher(options: StartSagaOptions): SagaIterator;
|
|
45
29
|
interface SessionAuthErrorOptions extends StartSagaOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rootSaga.d.ts","sourceRoot":"","sources":["../../../../../core/src/redux/rootSaga.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"rootSaga.d.ts","sourceRoot":"","sources":["../../../../../core/src/redux/rootSaga.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAwB5C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAI5C,UAAU,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAA;IACpB,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;IACrC,aAAa,EAAE,aAAa,CAAA;IAC5B,WAAW,EAAE,mBAAmB,CAAA;CACjC;AAED,wBAAiB,eAAe,CAAC,EAC/B,kBAAkB,EAClB,WAAW,EACX,QAAQ,GACT,EAAE;IACD,kBAAkB,EAAE,kBAAkB,CAAA;IACtC,WAAW,EAAE,mBAAmB,CAAA;IAChC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,GAAG,YAAY,CAqFf;AAED,wBAAiB,oBAAoB,CAAC,EACpC,OAAO,EACP,KAAK,EACL,aAAa,GACd,EAAE;IACD,OAAO,EAAE,WAAW,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,aAAa,CAAA;CAC7B;;;;;;mBAaA;AAED,wBAAiB,oBAAoB,CAAC,OAAO,EAAE,gBAAgB,GAAG,YAAY,CAyD7E;AAED,UAAU,uBAAwB,SAAQ,gBAAgB;IACxD,MAAM,EAAE,GAAG,CAAA;CACZ;AACD,wBAAiB,oBAAoB,CACnC,OAAO,EAAE,uBAAuB,GAC/B,YAAY,CAgBd;AAED,UAAU,eAAe;IACvB,kBAAkB,EAAE,kBAAkB,CAAA;CACvC;kCAEwB,eAAe;iBAKvB,mBAAmB;cACtB,gBAAgB;;AAN9B,wBAiDC"}
|
package/dist/index.esm.js
CHANGED
|
@@ -1354,7 +1354,7 @@ var JWTSession = class extends BaseJWTSession {
|
|
|
1354
1354
|
}));
|
|
1355
1355
|
this.options = options;
|
|
1356
1356
|
__publicField(this, "WebSocketConstructor", WebSocket);
|
|
1357
|
-
__publicField(this, "agent", "@signalwire/js/browser/3.17.0
|
|
1357
|
+
__publicField(this, "agent", "@signalwire/js/browser/3.17.0");
|
|
1358
1358
|
}
|
|
1359
1359
|
get allowHijack() {
|
|
1360
1360
|
return this.options._hijack;
|
package/dist/index.js
CHANGED
|
@@ -1359,7 +1359,7 @@ var JWTSession = class extends import_core14.BaseJWTSession {
|
|
|
1359
1359
|
}));
|
|
1360
1360
|
this.options = options;
|
|
1361
1361
|
__publicField(this, "WebSocketConstructor", WebSocket);
|
|
1362
|
-
__publicField(this, "agent", "@signalwire/js/browser/3.17.0
|
|
1362
|
+
__publicField(this, "agent", "@signalwire/js/browser/3.17.0");
|
|
1363
1363
|
}
|
|
1364
1364
|
get allowHijack() {
|
|
1365
1365
|
return this.options._hijack;
|