@100mslive/hms-video-store 0.15.2-alpha.6 → 0.15.3-alpha.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/IHMSActions.d.ts +6 -0
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +10 -10
- package/dist/index.js.map +3 -3
- package/dist/interfaces/hms.d.ts +1 -0
- package/dist/reactive-store/HMSSDKActions.d.ts +1 -0
- package/dist/sdk/index.d.ts +1 -0
- package/dist/transport/index.d.ts +2 -0
- package/package.json +2 -2
package/dist/IHMSActions.d.ts
CHANGED
|
@@ -520,6 +520,12 @@ export interface IHMSActions<T extends HMSGenericTypes = {
|
|
|
520
520
|
* @param tokenRequestOptions - token request options
|
|
521
521
|
*/
|
|
522
522
|
getAuthTokenByRoomCode(tokenRequest: TokenRequest, tokenRequestOptions?: TokenRequestOptions): Promise<string>;
|
|
523
|
+
/**
|
|
524
|
+
* Replace the auth token used for reconnects, so sessions can outlive the original token's expiry.
|
|
525
|
+
* Call it before the current token expires. The new token must be for the same room and user.
|
|
526
|
+
* @param token - new auth token
|
|
527
|
+
*/
|
|
528
|
+
updateAuthToken(token: string): void;
|
|
523
529
|
/**
|
|
524
530
|
* enable sending audio speaker data to beam
|
|
525
531
|
* @returns Promise<void> - resolves when the speaker data is enabled
|