worldwide-asset-exchange / waxjs

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

Add separate class for API functionality, so waxjs can be used without eosjs #78

Closed fabian-emilius closed 2 years ago

fabian-emilius commented 2 years ago

This PR allows wallet libraries like UAL or custom implementations to interact with the WAX wallet directly without EosJS. It introduces a new class called WaxApi for that which is used for the WaxJs class internally as well.

This PR also includes better types and a couple of fixes like waiting for specific event types to avoid that singing fails when frontend sends the ready event twice.