@signalwire/js 3.29.2 → 3.30.0-dev.202603231440.c07a135.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/index.esm.js +1 -16
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +32 -47
- package/dist/index.js.map +3 -3
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/js/src/JWTSession.d.ts.map +1 -1
- package/dist/js/src/fabric/WSClient.d.ts +0 -4
- package/dist/js/src/fabric/WSClient.d.ts.map +1 -1
- package/dist/js/tsconfig.build.tsbuildinfo +1 -1
- package/dist/webrtc/src/BaseConnection.d.ts.map +1 -1
- package/dist/webrtc/src/RTCPeer.d.ts +0 -13
- package/dist/webrtc/src/RTCPeer.d.ts.map +1 -1
- package/dist/webrtc/src/index.d.ts +0 -1
- package/dist/webrtc/src/index.d.ts.map +1 -1
- package/dist/webrtc/src/utils/constants.d.ts.map +1 -1
- package/dist/webrtc/src/utils/interfaces.d.ts +3 -15
- package/dist/webrtc/src/utils/interfaces.d.ts.map +1 -1
- package/dist/webrtc/src/workers/index.d.ts +0 -2
- package/dist/webrtc/src/workers/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/fabric/WSClient.ts +0 -17
- package/dist/webrtc/src/RTCPeerConnectionManager.d.ts +0 -63
- package/dist/webrtc/src/RTCPeerConnectionManager.d.ts.map +0 -1
- package/dist/webrtc/src/RTCPeerConnectionManager.test.d.ts +0 -2
- package/dist/webrtc/src/RTCPeerConnectionManager.test.d.ts.map +0 -1
- package/dist/webrtc/src/connectionPoolManager.d.ts +0 -14
- package/dist/webrtc/src/connectionPoolManager.d.ts.map +0 -1
- package/dist/webrtc/src/utils/mockTracks.d.ts +0 -26
- package/dist/webrtc/src/utils/mockTracks.d.ts.map +0 -1
- package/dist/webrtc/src/workers/connectionPoolWorker.d.ts +0 -7
- package/dist/webrtc/src/workers/connectionPoolWorker.d.ts.map +0 -1
- package/dist/webrtc/src/workers/sessionConnectionPoolWorker.d.ts +0 -7
- package/dist/webrtc/src/workers/sessionConnectionPoolWorker.d.ts.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -3179,7 +3179,7 @@ var JWTSession = class extends BaseJWTSession {
|
|
|
3179
3179
|
this.options = options;
|
|
3180
3180
|
__publicField(this, "WebSocketConstructor", WebSocket);
|
|
3181
3181
|
__publicField(this, "CloseEventConstructor", SwCloseEvent);
|
|
3182
|
-
__publicField(this, "agent", "@signalwire/js/browser/3.
|
|
3182
|
+
__publicField(this, "agent", "@signalwire/js/browser/3.30.0-dev.202603231440.c07a135.0");
|
|
3183
3183
|
__publicField(this, "tokenTyp");
|
|
3184
3184
|
this.tokenTyp = (_a = decodedJwt.typ) != null ? _a : "VRT";
|
|
3185
3185
|
}
|
|
@@ -3676,7 +3676,6 @@ import {
|
|
|
3676
3676
|
VertoBye,
|
|
3677
3677
|
VertoSubscribe
|
|
3678
3678
|
} from "@signalwire/core";
|
|
3679
|
-
import { sessionConnectionPoolWorker } from "@signalwire/webrtc";
|
|
3680
3679
|
|
|
3681
3680
|
// src/fabric/IncomingCallManager.ts
|
|
3682
3681
|
var IncomingCallManager = class {
|
|
@@ -3853,7 +3852,6 @@ var WSClient = class extends BaseClient2 {
|
|
|
3853
3852
|
}
|
|
3854
3853
|
}
|
|
3855
3854
|
});
|
|
3856
|
-
this.initializeSessionConnectionPool();
|
|
3857
3855
|
}
|
|
3858
3856
|
makeFabricObject(makeRoomOptions) {
|
|
3859
3857
|
const _a = makeRoomOptions, {
|
|
@@ -4155,19 +4153,6 @@ var WSClient = class extends BaseClient2 {
|
|
|
4155
4153
|
params: {}
|
|
4156
4154
|
});
|
|
4157
4155
|
}
|
|
4158
|
-
/**
|
|
4159
|
-
* Initialize the session-level connection pool
|
|
4160
|
-
*/
|
|
4161
|
-
initializeSessionConnectionPool() {
|
|
4162
|
-
this.runWorker("sessionConnectionPoolWorker", {
|
|
4163
|
-
worker: sessionConnectionPoolWorker,
|
|
4164
|
-
initialState: {
|
|
4165
|
-
poolSize: 1,
|
|
4166
|
-
// Only one connection per session is required
|
|
4167
|
-
iceCandidatePoolSize: 10
|
|
4168
|
-
}
|
|
4169
|
-
});
|
|
4170
|
-
}
|
|
4171
4156
|
};
|
|
4172
4157
|
|
|
4173
4158
|
// src/fabric/SignalWire.ts
|