Add a condition to ibm-quantum-system for checking if the user is connected to the internet.
Changes
Add is-online package for checking if the internet is available. Ideally I wanted to avoid using a dependency, but manual implementations seem to be finicky and have niche issues, so I opted for using something reliable (65f21ad2b49804bad2ecf1d6492b1d02478a3973).
Add condition to check that internet is available before attempting to connect to IBM servers (6afc472ba9108bad13f8ee2238b44ac21d7f36bc).
New Requirements
New package dependency is-online has been added. Run npm install to get up to date.
Purpose
Add a condition to![nocon](https://user-images.githubusercontent.com/48141481/131013410-675d825b-840a-4c15-94a9-7e8f942fdbb5.png)
ibm-quantum-system
for checking if the user is connected to the internet.Changes
is-online
package for checking if the internet is available. Ideally I wanted to avoid using a dependency, but manual implementations seem to be finicky and have niche issues, so I opted for using something reliable (65f21ad2b49804bad2ecf1d6492b1d02478a3973).New Requirements
is-online
has been added. Runnpm install
to get up to date.