@4players/odin-common 1.2.2 → 1.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.0
4
+ - Changed the return type from `Plugin.setOutputDevice` to `Promise<void>` to fix a timing issue
5
+
6
+ ## 1.2.3
7
+
8
+ - Fixed build errors due to missing WebSocket package types
9
+ - Updated dependencies
10
+
3
11
  ## 1.2.2
4
12
 
5
13
  - Added optional internal field to token claims schema
@@ -10,7 +10,7 @@ export declare namespace Backend {
10
10
  createAudioCapture(parameters: CreateAudioCaptureParameters): Promise<AudioCapture>;
11
11
  enumerateDevices(): Promise<Array<Device>>;
12
12
  setOutputVolume(volume: Volume): void;
13
- setOutputDevice(device: DeviceParameters): void;
13
+ setOutputDevice(device: DeviceParameters): Promise<void>;
14
14
  close(): void;
15
15
  }
16
16
  interface Device {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4players/odin-common",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
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",
@@ -29,20 +29,20 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@msgpack/msgpack": "~3.0.0-beta2",
32
- "ws": "~8.15.0",
32
+ "@types/ws": "~8.5.0",
33
+ "ws": "~8.16.0",
33
34
  "zod": "~3.22.0"
34
35
  },
35
36
  "devDependencies": {
36
- "@typescript-eslint/eslint-plugin": "~6.14.0",
37
- "@typescript-eslint/parser": "~6.14.0",
38
- "@types/ws": "~8.5.0",
39
- "eslint": "~8.55.0",
37
+ "@typescript-eslint/eslint-plugin": "~6.18.0",
38
+ "@typescript-eslint/parser": "~6.18.0",
39
+ "eslint": "~8.56.0",
40
40
  "eslint-config-semistandard": "~17.0.0",
41
41
  "eslint-plugin-import": "~2.29.0",
42
42
  "eslint-plugin-node": "~11.1.0",
43
43
  "eslint-plugin-promise": "~6.1.0",
44
44
  "prettier": "~3.1.0",
45
45
  "testyts": "~1.5.0",
46
- "typescript": "~5.2.0"
46
+ "typescript": "~5.3.0"
47
47
  }
48
48
  }