@whereby.com/core 0.33.3 → 0.33.5
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.cjs +5 -5
- package/dist/index.mjs +5 -5
- package/dist/legacy-esm.js +5 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -75,7 +75,7 @@ const createReactor = (selectors, callback) => {
|
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const coreVersion = "0.33.
|
|
78
|
+
const coreVersion = "0.33.5";
|
|
79
79
|
|
|
80
80
|
const initialState = {
|
|
81
81
|
isNodeSdk: false,
|
|
@@ -321,7 +321,7 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
321
321
|
socket.on("breakout_move_to_group", () => dispatch(signalEvents.breakoutMoveToGroup()));
|
|
322
322
|
socket.on("breakout_move_to_main", () => dispatch(signalEvents.breakoutMoveToMain()));
|
|
323
323
|
}
|
|
324
|
-
const SIGNAL_BASE_URL = "wss://signal.appearin.net"
|
|
324
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
325
325
|
function createSocket() {
|
|
326
326
|
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
327
327
|
const socketHost = parsedUrl.origin;
|
|
@@ -3150,12 +3150,12 @@ function assertRecord(ref, name) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
function assertNullOrType(ref, type, name, message) {
|
|
3152
3152
|
assertString(name, "name");
|
|
3153
|
-
const errorMessage =
|
|
3153
|
+
const errorMessage = `${name} must be null or of type ${type}`;
|
|
3154
3154
|
media.assert.ok(ref === null || typeof ref === type, errorMessage);
|
|
3155
3155
|
}
|
|
3156
3156
|
function assertNullOrString(ref, name, message) {
|
|
3157
3157
|
assertString(name, "name");
|
|
3158
|
-
assertNullOrType(ref, "string", name
|
|
3158
|
+
assertNullOrType(ref, "string", name);
|
|
3159
3159
|
}
|
|
3160
3160
|
|
|
3161
3161
|
function _getAbsoluteUrl({ baseUrl, url }) {
|
|
@@ -4078,7 +4078,7 @@ class LocalParticipant extends RoomParticipant {
|
|
|
4078
4078
|
}
|
|
4079
4079
|
}
|
|
4080
4080
|
|
|
4081
|
-
const API_BASE_URL = "https://api.whereby.dev"
|
|
4081
|
+
const API_BASE_URL = "https://api.whereby.dev";
|
|
4082
4082
|
function createServices() {
|
|
4083
4083
|
const credentialsService = CredentialsService.create({ baseUrl: API_BASE_URL });
|
|
4084
4084
|
const apiClient = new ApiClient({
|
package/dist/index.mjs
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "0.33.
|
|
76
|
+
const coreVersion = "0.33.5";
|
|
77
77
|
|
|
78
78
|
const initialState = {
|
|
79
79
|
isNodeSdk: false,
|
|
@@ -319,7 +319,7 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
319
319
|
socket.on("breakout_move_to_group", () => dispatch(signalEvents.breakoutMoveToGroup()));
|
|
320
320
|
socket.on("breakout_move_to_main", () => dispatch(signalEvents.breakoutMoveToMain()));
|
|
321
321
|
}
|
|
322
|
-
const SIGNAL_BASE_URL = "wss://signal.appearin.net"
|
|
322
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
323
323
|
function createSocket() {
|
|
324
324
|
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
325
325
|
const socketHost = parsedUrl.origin;
|
|
@@ -3148,12 +3148,12 @@ function assertRecord(ref, name) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
function assertNullOrType(ref, type, name, message) {
|
|
3150
3150
|
assertString(name, "name");
|
|
3151
|
-
const errorMessage =
|
|
3151
|
+
const errorMessage = `${name} must be null or of type ${type}`;
|
|
3152
3152
|
assert.ok(ref === null || typeof ref === type, errorMessage);
|
|
3153
3153
|
}
|
|
3154
3154
|
function assertNullOrString(ref, name, message) {
|
|
3155
3155
|
assertString(name, "name");
|
|
3156
|
-
assertNullOrType(ref, "string", name
|
|
3156
|
+
assertNullOrType(ref, "string", name);
|
|
3157
3157
|
}
|
|
3158
3158
|
|
|
3159
3159
|
function _getAbsoluteUrl({ baseUrl, url }) {
|
|
@@ -4076,7 +4076,7 @@ class LocalParticipant extends RoomParticipant {
|
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
4078
|
|
|
4079
|
-
const API_BASE_URL = "https://api.whereby.dev"
|
|
4079
|
+
const API_BASE_URL = "https://api.whereby.dev";
|
|
4080
4080
|
function createServices() {
|
|
4081
4081
|
const credentialsService = CredentialsService.create({ baseUrl: API_BASE_URL });
|
|
4082
4082
|
const apiClient = new ApiClient({
|
package/dist/legacy-esm.js
CHANGED
|
@@ -73,7 +73,7 @@ const createReactor = (selectors, callback) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const coreVersion = "0.33.
|
|
76
|
+
const coreVersion = "0.33.5";
|
|
77
77
|
|
|
78
78
|
const initialState = {
|
|
79
79
|
isNodeSdk: false,
|
|
@@ -319,7 +319,7 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
319
319
|
socket.on("breakout_move_to_group", () => dispatch(signalEvents.breakoutMoveToGroup()));
|
|
320
320
|
socket.on("breakout_move_to_main", () => dispatch(signalEvents.breakoutMoveToMain()));
|
|
321
321
|
}
|
|
322
|
-
const SIGNAL_BASE_URL = "wss://signal.appearin.net"
|
|
322
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
323
323
|
function createSocket() {
|
|
324
324
|
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
325
325
|
const socketHost = parsedUrl.origin;
|
|
@@ -3148,12 +3148,12 @@ function assertRecord(ref, name) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
function assertNullOrType(ref, type, name, message) {
|
|
3150
3150
|
assertString(name, "name");
|
|
3151
|
-
const errorMessage =
|
|
3151
|
+
const errorMessage = `${name} must be null or of type ${type}`;
|
|
3152
3152
|
assert.ok(ref === null || typeof ref === type, errorMessage);
|
|
3153
3153
|
}
|
|
3154
3154
|
function assertNullOrString(ref, name, message) {
|
|
3155
3155
|
assertString(name, "name");
|
|
3156
|
-
assertNullOrType(ref, "string", name
|
|
3156
|
+
assertNullOrType(ref, "string", name);
|
|
3157
3157
|
}
|
|
3158
3158
|
|
|
3159
3159
|
function _getAbsoluteUrl({ baseUrl, url }) {
|
|
@@ -4076,7 +4076,7 @@ class LocalParticipant extends RoomParticipant {
|
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
4078
|
|
|
4079
|
-
const API_BASE_URL = "https://api.whereby.dev"
|
|
4079
|
+
const API_BASE_URL = "https://api.whereby.dev";
|
|
4080
4080
|
function createServices() {
|
|
4081
4081
|
const credentialsService = CredentialsService.create({ baseUrl: API_BASE_URL });
|
|
4082
4082
|
const apiClient = new ApiClient({
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@whereby.com/core",
|
|
3
3
|
"description": "Core library for whereby.com sdk",
|
|
4
4
|
"author": "Whereby AS",
|
|
5
|
-
"version": "0.33.
|
|
5
|
+
"version": "0.33.5",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rimraf dist node_modules .turbo",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@reduxjs/toolkit": "^2.2.3",
|
|
52
|
-
"@whereby.com/media": "1.
|
|
52
|
+
"@whereby.com/media": "1.25.0",
|
|
53
53
|
"axios": "^1.2.3",
|
|
54
54
|
"btoa": "^1.2.1",
|
|
55
55
|
"events": "^3.3.0"
|