disable preload

This commit is contained in:
Mitra Ardron 2018-12-27 12:53:28 +11:00
parent 22367dc815
commit dde93d99f9
3 changed files with 4 additions and 5 deletions

2
API.md
View File

@ -363,7 +363,7 @@ Set the class of t.statuselement (if set) to transportstatus0..transportstatus4
t Instance of transport t Instance of transport
``` ```
#### static async p_connect({options}) ##### static async p_connect({options})
Main connection process for a browser based application, Main connection process for a browser based application,
``` ```
options { options {

View File

@ -43,9 +43,8 @@ const defaultoptions = {
Bootstrap: ['/dns4/dweb.me/tcp/4245/wss/ipfs/QmQ921MRjsbP12fHSEDcdFeuHFg6qKDFurm2rXgA5K3RQD'], // Connect via WSS to IPFS instance in Kube at IA Bootstrap: ['/dns4/dweb.me/tcp/4245/wss/ipfs/QmQ921MRjsbP12fHSEDcdFeuHFg6qKDFurm2rXgA5K3RQD'], // Connect via WSS to IPFS instance in Kube at IA
}, },
//init: true, // Comment out for Y //init: true, // Comment out for Y
EXPERIMENTAL: { EXPERIMENTAL: { pubsub: true },
pubsub: true preload: { enabled: false },
}
}; };
class TransportIPFS extends Transport { class TransportIPFS extends Transport {

View File

@ -51,5 +51,5 @@
"test": "cd src; node ./test.js", "test": "cd src; node ./test.js",
"help": "echo 'test (test it)'; echo 'build (creates dweb-transports-bundle)'" "help": "echo 'test (test it)'; echo 'build (creates dweb-transports-bundle)'"
}, },
"version": "0.1.28" "version": "0.1.29"
} }