@signalapp/ringrtc
Advanced tools
Comparing version 2.40.0 to 2.41.0
@@ -19,2 +19,16 @@ /// <reference types="node" /> | ||
} | ||
/** type returned by Rust */ | ||
export interface RawPeekInfo { | ||
devices: Array<PeekDeviceInfo>; | ||
creator?: GroupCallUserId; | ||
eraId?: string; | ||
maxDevices?: number; | ||
/** @deprecated Use {@link #deviceCountIncludingPendingDevices} and {@link #deviceCountExcludingPendingDevices} as appropriate */ | ||
deviceCount: number; | ||
deviceCountIncludingPendingDevices: number; | ||
deviceCountExcludingPendingDevices: number; | ||
pendingUsers: Array<GroupCallUserId>; | ||
callLinkState?: RawCallLinkState; | ||
} | ||
/** type derived from RawPeekInfo */ | ||
export interface PeekInfo { | ||
@@ -30,2 +44,3 @@ devices: Array<PeekDeviceInfo>; | ||
pendingUsers: Array<GroupCallUserId>; | ||
callLinkState?: CallLinkState; | ||
} | ||
@@ -60,2 +75,8 @@ export declare enum PeekStatusCodes { | ||
} | ||
interface RawCallLinkState { | ||
name: string; | ||
rawRestrictions: number; | ||
revoked: boolean; | ||
expiration: Date; | ||
} | ||
export type EmptyObj = Record<PropertyKey, never>; | ||
@@ -222,10 +243,5 @@ export type HttpResult<T> = { | ||
handleRemoteDevicesChanged(clientId: GroupCallClientId, remoteDeviceStates: Array<RemoteDeviceState>): void; | ||
handlePeekChanged(clientId: GroupCallClientId, info: PeekInfo): void; | ||
handlePeekResponse(requestId: number, statusCode: number, info: PeekInfo | undefined): void; | ||
handleCallLinkResponse(requestId: number, statusCode: number, state: { | ||
name: string; | ||
rawRestrictions: number; | ||
revoked: boolean; | ||
expiration: Date; | ||
} | undefined): void; | ||
handlePeekChanged(clientId: GroupCallClientId, rawInfo: RawPeekInfo): void; | ||
handlePeekResponse(requestId: number, statusCode: number, rawInfo: RawPeekInfo | undefined): void; | ||
handleCallLinkResponse(requestId: number, statusCode: number, state: RawCallLinkState | undefined): void; | ||
handleEmptyResponse(requestId: number, statusCode: number, state: EmptyObj | undefined): void; | ||
@@ -661,4 +677,4 @@ handleEnded(clientId: GroupCallClientId, reason: GroupCallEndReason): void; | ||
handleRemoteDevicesChanged(clientId: GroupCallClientId, remoteDeviceStates: Array<RemoteDeviceState>): void; | ||
handlePeekChanged(clientId: GroupCallClientId, info: PeekInfo): void; | ||
handlePeekResponse(requestId: number, statusCode: number, info: PeekInfo | undefined): void; | ||
handlePeekChanged(clientId: GroupCallClientId, rawInfo: RawPeekInfo): void; | ||
handlePeekResponse(requestId: number, statusCode: number, rawInfo: RawPeekInfo | undefined): void; | ||
handleEnded(clientId: GroupCallClientId, reason: GroupCallEndReason): void; | ||
@@ -665,0 +681,0 @@ onLogMessage(level: number, fileName: string, line: number, message: string): void; |
{ | ||
"name": "@signalapp/ringrtc", | ||
"version": "2.40.0", | ||
"version": "2.41.0", | ||
"description": "Signal Messenger voice and video calling library.", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
"prebuildUrl": "https://build-artifacts.signal.org/libraries/ringrtc-desktop-build-v${npm_package_version}.tar.gz", | ||
"prebuildChecksum": "fbdbd8ac3923dde1e82addb15b4a08ef7660c6e8b9f412139eaff19d8b67d0d4" | ||
"prebuildChecksum": "50e54adb31b0c40911e82c0192732323abe850b4990f4794ccc99a0a21bf85b4" | ||
}, | ||
@@ -35,3 +35,3 @@ "author": "", | ||
"https-proxy-agent": "7.0.1", | ||
"tar": "^6.1.0" | ||
"tar": "^6.2.1" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
408914
3297
Updatedtar@^6.2.1