From fc36aea0508b8384fd985554bfbf521039ff58ca Mon Sep 17 00:00:00 2001 From: "Ryan.K" Date: Thu, 17 Aug 2023 17:05:48 +0800 Subject: [PATCH] rename new to new instance --- node/src/browser/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/browser/client.rs b/node/src/browser/client.rs index 337d7af0b..893624ce4 100644 --- a/node/src/browser/client.rs +++ b/node/src/browser/client.rs @@ -141,7 +141,7 @@ impl Client { #[wasm_export] impl Client { #[wasm_bindgen(constructor)] - pub fn new( + pub fn new_instance( ice_servers: String, stabilize_timeout: usize, account: String,