@signalapp/ringrtc
Advanced tools
Comparing version 2.38.0 to 2.39.0
@@ -58,2 +58,3 @@ /// <reference types="node" /> | ||
} | ||
export type EmptyObj = Record<PropertyKey, never>; | ||
export type HttpResult<T> = { | ||
@@ -72,2 +73,3 @@ success: true; | ||
private _callLinkRequests; | ||
private _emptyRequests; | ||
private _callInfoByCallId; | ||
@@ -189,7 +191,7 @@ private getCallInfoKey; | ||
/** | ||
* Asynchronous request to revoke or un-revoke a call link. | ||
* Asynchronous request to delete a call link. | ||
* | ||
* Possible failure codes include: | ||
* - 401: the room does not exist (and this is the wrong API to create a new room) | ||
* - 403: the admin passkey is incorrect | ||
* - 409: conflict - there is an ongoing call for this room. | ||
* | ||
@@ -202,5 +204,4 @@ * This request is idempotent; if it fails due to a network issue, it is safe to retry. | ||
* @param adminPasskey - the passkey specified when the link was created | ||
* @param revoked - whether the link should now be revoked | ||
*/ | ||
updateCallLinkRevocation(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer, revoked: boolean): Promise<HttpResult<CallLinkState>>; | ||
deleteCallLink(sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: CallLinkRootKey, adminPasskey: Buffer): Promise<HttpResult<undefined>>; | ||
receivedHttpResponse(requestId: number, status: number, body: Buffer): void; | ||
@@ -230,4 +231,5 @@ httpRequestFailed(requestId: number, debugInfo: string | undefined): void; | ||
} | undefined): void; | ||
handleEmptyResponse(requestId: number, statusCode: number, state: EmptyObj | undefined): void; | ||
handleEnded(clientId: GroupCallClientId, reason: GroupCallEndReason): void; | ||
groupCallRingUpdate(groupId: GroupId, ringIdString: string, sender: GroupCallUserId, state: RingUpdate): void; | ||
groupCallRingUpdate(groupId: GroupId, ringId: bigint, sender: GroupCallUserId, state: RingUpdate): void; | ||
onLogMessage(level: number, fileName: string, line: number, message: string): void; | ||
@@ -630,2 +632,3 @@ logError(message: string): void; | ||
updateCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer, newName: string | undefined, newRestrictions: number | undefined, newRevoked: boolean | undefined): void; | ||
deleteCallLink(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer, adminPasskey: Buffer): void; | ||
peekGroupCall(requestId: number, sfu_url: string, membership_proof: Buffer, group_members: Array<GroupMemberInfo>): void; | ||
@@ -632,0 +635,0 @@ peekCallLinkCall(requestId: number, sfuUrl: string, authCredentialPresentation: Buffer, linkRootKey: Buffer): void; |
{ | ||
"name": "@signalapp/ringrtc", | ||
"version": "2.38.0", | ||
"version": "2.39.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": "5168544dd09b8fc1d9981736ce5b066c1619f2de4220467e24b9a8cfbd19edc7" | ||
"prebuildChecksum": "eb7753b7467765a606771d0531b5a3aaefb8c24bab849da2b3c78b21f420bb8d" | ||
}, | ||
@@ -31,0 +31,0 @@ "author": "", |
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
3263
405554