src/sia.js
async function connect(address) {
	const running = await isRunning(address)
	if (!running) {
		throw errCouldNotConnect
	}
	return siadWrapper(address)
}
async function connect(address) {
	const running = await isRunning(address)
	if (!running) {
		throw errCouldNotConnect
	}
	return siadWrapper(address)
}
async function connect ( address ) { const running = await isRunning ( address ) if ( ! running ) { throw errCouldNotConnect } return siadWrapper ( address ) }
connect connects to a running Siad at `address` and returns a siadWrapper object.
connect connects to a running Siad at address and returns a siadWrapper object .