mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
change export name from DeltaChat to WebsocketDeltaChat
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { DcEvent, DeltaChat } from "../deltachat.js";
|
import { DcEvent, WebsocketDeltaChat as DeltaChat } from "../deltachat.js";
|
||||||
|
|
||||||
var SELECTED_ACCOUNT = 0;
|
var SELECTED_ACCOUNT = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export const DEFAULT_OPTS: Opts = {
|
|||||||
url: "ws://localhost:20808/ws",
|
url: "ws://localhost:20808/ws",
|
||||||
startEventLoop: true,
|
startEventLoop: true,
|
||||||
};
|
};
|
||||||
export class DeltaChat extends BaseDeltaChat<WebsocketTransport> {
|
export class WebsocketDeltaChat extends BaseDeltaChat<WebsocketTransport> {
|
||||||
opts: Opts;
|
opts: Opts;
|
||||||
close() {
|
close() {
|
||||||
this.transport.close();
|
this.transport.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user