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:
Mayukha Vadari
2021-08-20 13:16:15 -04:00
parent d1cfbf42e6
commit e90257be2f
17 changed files with 64 additions and 67 deletions

View File

@@ -1,6 +1,6 @@
import {Client} from '../../dist/npm'
const client = new Client({server: 'wss://s.altnet.rippletest.net:51233'})
const client = new Client('wss://s.altnet.rippletest.net:51233')
parseAccountFlags()