Skip to content

Commit 4ea92e9

Browse files
chore(ts): fix lints which appeared after restructuring
1 parent 28a4a83 commit 4ea92e9

File tree

1 file changed

+4
-4
lines changed
  • crypto-ffi/bindings/js/test/bun/napi

1 file changed

+4
-4
lines changed

crypto-ffi/bindings/js/test/bun/napi/utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import {
1717
setMaxLogLevel,
1818
ClientId,
1919
Credential,
20+
ciphersuiteDefault,
21+
Welcome,
2022
} from "@wireapp/core-crypto/native";
2123
import { Database } from "@wireapp/core-crypto/native";
2224

@@ -154,7 +156,7 @@ export async function createConversation(
154156
): Promise<void> {
155157
await cc.newTransaction(async (ctx) => {
156158
const credential = Credential.basic(
157-
window.ccModule.ciphersuiteDefault(),
159+
ciphersuiteDefault(),
158160
randomClientId()
159161
);
160162

@@ -195,9 +197,7 @@ export async function invite(
195197
await DELIVERY_SERVICE.getLatestCommitBundle();
196198

197199
await cc2.newTransaction((ctx) =>
198-
ctx.processWelcomeMessage(
199-
new window.ccModule.Welcome(welcome!.copyBytes())
200-
)
200+
ctx.processWelcomeMessage(new Welcome(welcome!.copyBytes()))
201201
);
202202

203203
return groupInfo;

0 commit comments

Comments
 (0)