mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
Edit Client constructor to take a server URI (#1544)
* edit Client * fix TS issues + tests * minor edits * rename ClientBroadcast -> BroadcastClient
This commit is contained in:
@@ -106,7 +106,7 @@ function testTransaction(
|
||||
}
|
||||
|
||||
function setup(this: any, server = serverUrl) {
|
||||
this.client = new Client({server})
|
||||
this.client = new Client(server)
|
||||
console.log('CONNECTING...')
|
||||
return this.client.connect().then(
|
||||
() => {
|
||||
|
||||
Reference in New Issue
Block a user