@signalwire/js 3.23.4-dev.202308301318.6c435be.0 → 3.23.4
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/rooms/methods.d.ts +4 -0
- package/dist/core/src/rooms/methods.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 +11 -3
- package/dist/core/src/types/voiceCall.d.ts.map +1 -1
- package/dist/core/src/utils/interfaces.d.ts +1 -1
- package/dist/core/src/utils/interfaces.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/src/BaseRoomSession.d.ts.map +1 -1
- package/dist/js/src/JWTSession.d.ts.map +1 -1
- package/dist/js/src/RoomSession.d.ts.map +1 -1
- package/dist/js/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/BaseRoomSession.test.ts +3 -1
- package/src/BaseRoomSession.ts +2 -0
- package/src/RoomSession.ts +2 -0
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.23.4
|
|
6
|
+
"version": "3.23.4",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.esm.js",
|
|
9
9
|
"unpkg": "dist/index.umd.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"src"
|
|
13
13
|
],
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
15
|
+
"node": ">=14"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"signalwire",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"prepublishOnly": "npm run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@signalwire/core": "3.19.0
|
|
43
|
-
"@signalwire/webrtc": "3.10.3
|
|
42
|
+
"@signalwire/core": "3.19.0",
|
|
43
|
+
"@signalwire/webrtc": "3.10.3",
|
|
44
44
|
"jwt-decode": "^3.1.2"
|
|
45
45
|
},
|
|
46
46
|
"types": "dist/js/src/index.d.ts"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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,6 +73,8 @@ describe('Room Object', () => {
|
|
|
73
73
|
expect(room.setLayout).toBeDefined()
|
|
74
74
|
expect(room.hideVideoMuted).toBeDefined()
|
|
75
75
|
expect(room.showVideoMuted).toBeDefined()
|
|
76
|
+
// expect(room.lock).toBeDefined()
|
|
77
|
+
// expect(room.unlock).toBeDefined()
|
|
76
78
|
expect(room.getRecordings).toBeDefined()
|
|
77
79
|
expect(room.startRecording).toBeDefined()
|
|
78
80
|
expect(room.getPlaybacks).toBeDefined()
|
package/src/BaseRoomSession.ts
CHANGED
|
@@ -490,6 +490,8 @@ export const RoomSessionAPI = extendComponent<
|
|
|
490
490
|
demote: Rooms.demote,
|
|
491
491
|
getStreams: Rooms.getStreams,
|
|
492
492
|
startStream: Rooms.startStream,
|
|
493
|
+
// lock: Rooms.lock,
|
|
494
|
+
// unlock: Rooms.unlock,
|
|
493
495
|
})
|
|
494
496
|
|
|
495
497
|
type RoomSessionObjectEventsHandlerMapping = RoomSessionObjectEvents &
|