2018-04-07 20:19:26 +10:00
|
|
|
// Order is significant as should search earlier ones first
|
|
|
|
// put IPFS before Webtorrent for showcasing, as Webtorrent works in some cases IPFS doesnt so that way we exercise both
|
|
|
|
const DwebTransports = require("./Transports.js");
|
2018-07-06 20:41:45 -07:00
|
|
|
// SEE-OTHER-ADDTRANSPORT
|
2018-04-07 20:19:26 +10:00
|
|
|
require("./TransportHTTP.js"); // Can access via window.DwebTransports._transportclasses["HTTP"]
|
|
|
|
require("./TransportIPFS.js");
|
|
|
|
require("./TransportYJS.js");
|
|
|
|
require("./TransportWEBTORRENT.js");
|
2018-07-06 20:41:45 -07:00
|
|
|
require("./TransportGUN.js");
|
2018-04-07 22:20:31 +10:00
|
|
|
if (typeof window !== "undefined") { window.DwebTransports = DwebTransports; }
|
2018-04-07 20:19:26 +10:00
|
|
|
exports = module.exports = DwebTransports;
|