@4players/odin-plugin-web 1.4.0 → 1.6.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/lib/index.d.ts CHANGED
@@ -1,16 +1,6 @@
1
1
  import { Backend, LogRecord, Logger } from '@4players/odin-common';
2
2
 
3
3
  export type OnLogMessage = (formattedString: string, record: LogRecord) => void;
4
- export type VifConfig = {
5
- enabled: true;
6
- attenuationLimit: number;
7
- postFilterBeta: number;
8
- } | {
9
- enabled: false;
10
- };
11
- export type CreateAudioCaptureParameters = Backend.CreateAudioCaptureParameters & {
12
- readonly device?: WebDevice;
13
- };
14
4
  export type AudioContextFactory = (sampleRate: number | undefined) => Promise<AudioContext>;
15
5
  export type DeviceInfo = {
16
6
  name: string;
@@ -35,12 +25,8 @@ export interface WebPlugin extends Backend.Plugin {
35
25
  joinRoom(parameters: Backend.JoinRoomParameters): WebRoom;
36
26
  enumerateDevices(): Promise<WebDevice[]>;
37
27
  setOutputDevice(device: WebDeviceParameters): Promise<void>;
38
- createAudioCapture(parameters: CreateAudioCaptureParameters): Promise<WebAudioCapture>;
39
28
  }
40
29
  export interface WebRoom extends Backend.Room {
41
30
  }
42
- export interface WebAudioCapture extends Backend.AudioCapture {
43
- setVif(config: VifConfig): void;
44
- }
45
31
 
46
32
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4players/odin-plugin-web",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "description": "A backend plugin providing the custom WebAssembly audio processing module for ODIN web clients",
5
5
  "homepage": "https://www.4players.io",
6
6
  "repository": {
@@ -38,16 +38,16 @@
38
38
  "lint": "eslint . --ext .ts"
39
39
  },
40
40
  "dependencies": {
41
- "@4players/odin-common": "~8.2.0",
41
+ "@4players/odin-common": "~8.3.0",
42
42
  "@4players/voice-filter": "~1.2.0",
43
- "@msgpack/msgpack": "~3.1.0"
43
+ "@msgpack/msgpack": "3.1.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/node": "~22.17.0",
47
- "@typescript-eslint/eslint-plugin": "~8.39.0",
48
- "@typescript-eslint/parser": "~8.39.0",
46
+ "@types/node": "~22.18.0",
47
+ "@typescript-eslint/eslint-plugin": "~8.52.0",
48
+ "@typescript-eslint/parser": "~8.52.0",
49
49
  "dts-bundle-generator": "~9.5.0",
50
- "esbuild": "~0.25.0",
50
+ "esbuild": "~0.27.0",
51
51
  "eslint": "~8.57.0",
52
52
  "eslint-config-semistandard": "~17.0.0",
53
53
  "eslint-plugin-import": "~2.32.0",
@@ -55,8 +55,8 @@
55
55
  "eslint-plugin-promise": "~6.6.0",
56
56
  "genversion": "~3.2.0",
57
57
  "npm-run-all2": "~8.0.0",
58
- "prettier": "~3.6.0",
59
- "rimraf": "~6.0.0",
58
+ "prettier": "~3.7.0",
59
+ "rimraf": "~6.1.0",
60
60
  "ts-node": "~10.9.0",
61
61
  "tsx": "^4.19.4",
62
62
  "typescript": "~5.6.0"