Closed vaibhavyadav12 closed 2 years ago
I get the same error using the example code with the current version. I don't get the error when I use v0.0.15
Double check how you initialize the waxjs object. I had to add the rpcEndpoint key.
const wax = new waxjs.WaxJS({ rpcEndpoint: GLOBAL_VARS.WAX_RPC_ENDPOINT });
The constructor changed with with version 1.0, wax developer hive is still outdated unfortunately.
I am using 0.0.7 version of @waxio/waxjs in js. I am trying to call the
wax.login()
it gives me errorCannot read property 'replace' of undefined
I believe there's an error with the library - wax.js . I have tried running the sdk example as well as the full html example as represented in the docs.Can anyone help me out on this error ? Thanks