Improved Blockchain.info Interactions and Browser Detection
Pre-releaseThis version improves interaction with Blockchain.info's API. There should be a slight performance increase by directly sending requests to Blockchain.info instead of going through Yahoo YQL. Closed socket connections are automatically retried to keep everything in sync.
The browser is detected to determine if the ability to use the Scan Code app is available. It is only available on Mobile Safari. Home screen versions can not use Scan Code because it will launch in Mobile Safari causing confusion.
The browser is also detected to determine if crypto.getRandomVaules is available. If not, then we won't allow the user to use this app.
Commits
b411b6e Version bump
6ec08ff Fixing lint and spec
627c087 Closes #3 Require browsers with getRandomValues
905f799 Closes #9 Show Scan Code button where available
7ba7cf4 Fixes #5 trigger transactions.update from socket
e6b9660 unspent returns 500 when empty. handle 500s gracefully
d61ba1d Fixes #8. Use CORS instead of Yahoo YQL.
37ac71e Fixes #1. Auto reconnect socket. Show failure to user after 5 attempts