File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
crypto-ffi/bindings/js/test/bun/napi Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import {
1717 setMaxLogLevel ,
1818 ClientId ,
1919 Credential ,
20+ ciphersuiteDefault ,
21+ Welcome ,
2022} from "@wireapp/core-crypto/native" ;
2123import { 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 ;
You can’t perform that action at this time.
0 commit comments