@signalapp/mock-server
Version:
Mock Signal Server for writing tests
50 lines (49 loc) • 1.47 kB
JavaScript
"use strict";
// Copyright 2026 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
Object.defineProperty(exports, "__esModule", { value: true });
exports.SfuConnection = void 0;
exports.getSfuConnectionId = getSfuConnectionId;
function getSfuConnectionId(params) {
return `${params.eraId}:${params.demuxId}`;
}
class SfuConnection {
constructor(options) {
this.
this.
this.
this.
this.
this.
this.
}
get connectionId() {
return this.
}
get demuxId() {
return this.
}
get serverIceUsername() {
return this.
}
get clientIceUsername() {
return this.
}
get serverIcePassword() {
return this.
}
get clientIcePassword() {
return this.
}
get strpKeyMaterial() {
return this.
}
}
exports.SfuConnection = SfuConnection;