From b1b230366ccc0887d59e1e428118f8e2112f1143 Mon Sep 17 00:00:00 2001 From: Muzzammil Shahid Date: Mon, 22 Jul 2024 14:55:36 +0500 Subject: [PATCH] Adapt to latest changes in xconn --- lib/wamp_util.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/wamp_util.dart b/lib/wamp_util.dart index f62d0cd..ade92da 100644 --- a/lib/wamp_util.dart +++ b/lib/wamp_util.dart @@ -29,11 +29,11 @@ Future connect( Client client; if (ticket != null) { - client = Client(serializer: serializer, authenticator: TicketAuthenticator(ticket, authid ?? "")); + client = Client(serializer: serializer, authenticator: TicketAuthenticator(authid ?? "", {}, ticket)); } else if (secret != null) { - client = Client(serializer: serializer, authenticator: WAMPCRAAuthenticator(secret, authid ?? "", {})); + client = Client(serializer: serializer, authenticator: WAMPCRAAuthenticator(authid ?? "", {}, secret)); } else if (privateKey != null) { - client = Client(serializer: serializer, authenticator: CryptoSignAuthenticator(authid ?? "", privateKey)); + client = Client(serializer: serializer, authenticator: CryptoSignAuthenticator(authid ?? "", {}, privateKey)); } else { client = Client(serializer: serializer); }