@4players/odin-common 2.4.12 → 2.4.13
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/lib/cjs/plugin/api.js +1 -9
- package/lib/esm/plugin/api.js +0 -8
- package/lib/plugin/api.d.ts +0 -5
- package/package.json +1 -1
package/lib/cjs/plugin/api.js
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MinDBFS = void 0;
|
|
4
4
|
exports.MinDBFS = -758.596;
|
|
5
|
-
var Backend;
|
|
6
|
-
(function (Backend) {
|
|
7
|
-
let Transport;
|
|
8
|
-
(function (Transport) {
|
|
9
|
-
Transport["H3"] = "h3";
|
|
10
|
-
Transport["WebRTC"] = "webrtc";
|
|
11
|
-
})(Transport = Backend.Transport || (Backend.Transport = {}));
|
|
12
|
-
})(Backend || (exports.Backend = Backend = {}));
|
package/lib/esm/plugin/api.js
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
1
|
export const MinDBFS = -758.596;
|
|
2
|
-
export var Backend;
|
|
3
|
-
(function (Backend) {
|
|
4
|
-
let Transport;
|
|
5
|
-
(function (Transport) {
|
|
6
|
-
Transport["H3"] = "h3";
|
|
7
|
-
Transport["WebRTC"] = "webrtc";
|
|
8
|
-
})(Transport = Backend.Transport || (Backend.Transport = {}));
|
|
9
|
-
})(Backend || (Backend = {}));
|
package/lib/plugin/api.d.ts
CHANGED
|
@@ -30,10 +30,6 @@ export declare namespace Backend {
|
|
|
30
30
|
isSilent: boolean;
|
|
31
31
|
rmsDBFS: number;
|
|
32
32
|
}
|
|
33
|
-
enum Transport {
|
|
34
|
-
H3 = "h3",
|
|
35
|
-
WebRTC = "webrtc"
|
|
36
|
-
}
|
|
37
33
|
interface JoinRoomParameters {
|
|
38
34
|
readonly gateway: string | undefined;
|
|
39
35
|
readonly token: string;
|
|
@@ -42,7 +38,6 @@ export declare namespace Backend {
|
|
|
42
38
|
readonly position?: [number, number, number];
|
|
43
39
|
readonly cipher?: Cipher;
|
|
44
40
|
readonly onEvent: OnEvent;
|
|
45
|
-
readonly transport?: Transport;
|
|
46
41
|
}
|
|
47
42
|
interface Room {
|
|
48
43
|
readonly token: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4players/odin-common",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
4
4
|
"description": "A collection of commonly used type definitions and utility functions across ODIN web projects",
|
|
5
5
|
"author": "Josho Bleicker <josho.bleicker@4players.io> (https://www.4players.io)",
|
|
6
6
|
"homepage": "https://www.4players.io",
|