@signalwire/js 3.23.4 → 3.24.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/core/src/memberPosition/workers.d.ts.map +1 -1
- package/dist/core/src/types/videoRoomSession.d.ts +2 -0
- package/dist/core/src/types/videoRoomSession.d.ts.map +1 -1
- package/dist/core/src/types/voiceCall.d.ts +1 -0
- package/dist/core/src/types/voiceCall.d.ts.map +1 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/js/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/BaseRoomSession.test.ts +3 -3
- package/src/BaseRoomSession.ts +2 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "SignalWire JS SDK",
|
|
4
4
|
"author": "SignalWire Team <open.source@signalwire.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.24.0",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.esm.js",
|
|
9
9
|
"unpkg": "dist/index.umd.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"prepublishOnly": "npm run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@signalwire/core": "3.
|
|
43
|
-
"@signalwire/webrtc": "3.10.
|
|
42
|
+
"@signalwire/core": "3.20.0",
|
|
43
|
+
"@signalwire/webrtc": "3.10.4",
|
|
44
44
|
"jwt-decode": "^3.1.2"
|
|
45
45
|
},
|
|
46
46
|
"types": "dist/js/src/index.d.ts"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { actions, componentActions } from '@signalwire/core'
|
|
1
|
+
import { EventEmitter, actions, componentActions } from '@signalwire/core'
|
|
2
2
|
import { BaseRoomSession, createBaseRoomSessionObject } from './BaseRoomSession'
|
|
3
3
|
import type { RoomSession } from './RoomSession'
|
|
4
4
|
import { configureFullStack, dispatchMockedRoomSubscribed } from './testUtils'
|
|
@@ -73,8 +73,8 @@ describe('Room Object', () => {
|
|
|
73
73
|
expect(room.setLayout).toBeDefined()
|
|
74
74
|
expect(room.hideVideoMuted).toBeDefined()
|
|
75
75
|
expect(room.showVideoMuted).toBeDefined()
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
expect(room.lock).toBeDefined()
|
|
77
|
+
expect(room.unlock).toBeDefined()
|
|
78
78
|
expect(room.getRecordings).toBeDefined()
|
|
79
79
|
expect(room.startRecording).toBeDefined()
|
|
80
80
|
expect(room.getPlaybacks).toBeDefined()
|
package/src/BaseRoomSession.ts
CHANGED
|
@@ -490,8 +490,8 @@ export const RoomSessionAPI = extendComponent<
|
|
|
490
490
|
demote: Rooms.demote,
|
|
491
491
|
getStreams: Rooms.getStreams,
|
|
492
492
|
startStream: Rooms.startStream,
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
lock: Rooms.lock,
|
|
494
|
+
unlock: Rooms.unlock,
|
|
495
495
|
})
|
|
496
496
|
|
|
497
497
|
type RoomSessionObjectEventsHandlerMapping = RoomSessionObjectEvents &
|