change export name from DeltaChat to WebsocketDeltaChat

This commit is contained in:
Simon Laux
2024-11-02 14:28:51 +01:00
parent 5f7ca4ff9a
commit 1c30daf4c2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { DcEvent, DeltaChat } from "../deltachat.js";
import { DcEvent, WebsocketDeltaChat as DeltaChat } from "../deltachat.js";
var SELECTED_ACCOUNT = 0;

View File

@@ -83,7 +83,7 @@ export const DEFAULT_OPTS: Opts = {
url: "ws://localhost:20808/ws",
startEventLoop: true,
};
export class DeltaChat extends BaseDeltaChat<WebsocketTransport> {
export class WebsocketDeltaChat extends BaseDeltaChat<WebsocketTransport> {
opts: Opts;
close() {
this.transport.close();