This commit is contained in:
Michael Telatynski 2025-03-12 10:50:09 +00:00
parent 0a4706da1e
commit c9288b846e
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@element-hq/element-web-playwright-common",
"type": "module",
"version": "1.0.0",
"version": "1.1.0",
"license": "SEE LICENSE IN README.md",
"main": "lib/index.js",
"bin": {

View File

@ -1,5 +1,5 @@
/*
Copyright 2024 New Vector Ltd.
Copyright 2024-2025 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
@ -25,8 +25,6 @@ import { type StartedMatrixAuthenticationServiceContainer } from "./mas.js";
import { Api, ClientServerApi, type Verb, type Credentials } from "../utils/api.js";
import { StartedMailpitContainer } from "./mailpit.js";
const TAG = "develop@sha256:8d0049e8e0524ad6817cf7737453fe47de1ed3b8d04704f0c2fd6c136414c9d7";
const DEFAULT_CONFIG = {
server_name: "localhost",
public_baseurl: "", // set by start method
@ -193,8 +191,8 @@ export class SynapseContainer extends GenericContainer implements HomeserverCont
private config: SynapseConfig;
private mas?: StartedMatrixAuthenticationServiceContainer;
public constructor() {
super(`ghcr.io/element-hq/synapse:${TAG}`);
public constructor(image = "ghcr.io/element-hq/synapse:develop") {
super(image);
this.config = deepCopy(DEFAULT_CONFIG);
this.config.registration_shared_secret = randB64Bytes(16);