This PR features a lot of changes to the code base.
$ (cash) is a lightweight version of jQuery which provides slightly better syntax for DOM manipulation compared to native JavaScript. Closes #23.
async webextension is a polyfill library (supporting TypeScript definitions for autocomplete and type signatures) which provides promisified variants of browser extension functions. This means that instead of writing callbacks, we can use async/await syntax. Note that using await on a promise returns the resolved, or rejected, value of it. See the changes for use cases. Closes #20.
Duckbill and meal swipes are now displayed in the extension! This requires entering your Stevens credentials on the options page, as it executes the actions needed to check the account balances in another tab. Currently, it only checks on extension install. The next step is to add a button to "refresh" the balances in the options page so that users can query the process to get the data.
Closes #9.
This PR features a lot of changes to the code base.
Duckbill and meal swipes are now displayed in the extension! This requires entering your Stevens credentials on the options page, as it executes the actions needed to check the account balances in another tab. Currently, it only checks on extension install. The next step is to add a button to "refresh" the balances in the options page so that users can query the process to get the data. Closes #9.