worldwide-asset-exchange / waxjs

Javascript API for integration with the WAX Cloud Wallet.
MIT License
126 stars 103 forks source link

TypeError: t us undefined #76

Closed dharry1968 closed 2 years ago

dharry1968 commented 2 years ago

Trying to implement v1.0 of the waxjs.js library and when I try and create a new instance with

const wax = new waxjs.WaxJS('https://api.waxsweden.org'); it is giving me the error:

TypeError: t is undefined

Previous builds seemed to work ok. Any ideas or am I doing something wrong here?

dharry1968 commented 2 years ago

For anyone else that comes across this I have resolved it with:

const wax = new waxjs.WaxJS({rpcEndpoint: 'https://api.waxsweden.org'})