This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
11.1.0 breaks error in callback #438
Closed
Description
Making requests when the daemon is not running throws an XHR error, as expected. However in the 11.1.0 the callback is never called. For example:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://unpkg.com/ipfs-api@11.1.0/dist/index.js"></script>
<script>
var ipfs = window.IpfsApi();
ipfs.id(function(err, res) {
if (err) {
console.log(err)
}
})
</script>
<title>IPFS Test</title>
</head>
<body>
</body>
</html>
vs 11.0.1:
Metadata
Metadata
Assignees
Labels
No labels