mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-06-29 12:41:46 +00:00
Oops
This commit is contained in:
@ -292,7 +292,7 @@ class TransportYJS extends Transport {
|
|||||||
async p_getall(url, {verbose=false}={}) {
|
async p_getall(url, {verbose=false}={}) {
|
||||||
let y = await this.p_connection(url, verbose);
|
let y = await this.p_connection(url, verbose);
|
||||||
let keys = y.share.map.keys(); // Surprisingly this is sync, the p_connection should have synchronised
|
let keys = y.share.map.keys(); // Surprisingly this is sync, the p_connection should have synchronised
|
||||||
return this._p_get(y, keys. {verbose});
|
return this._p_get(y, keys, {verbose});
|
||||||
}
|
}
|
||||||
async p_rawfetch(url, {verbose=false}={}) {
|
async p_rawfetch(url, {verbose=false}={}) {
|
||||||
return { // See identical structure in TransportHTTP
|
return { // See identical structure in TransportHTTP
|
||||||
|
@ -500,7 +500,7 @@ class Transports {
|
|||||||
tabbrevs = tabbrevs.map(n => n.toUpperCase());
|
tabbrevs = tabbrevs.map(n => n.toUpperCase());
|
||||||
let transports = this.setup0(tabbrevs, options, verbose);
|
let transports = this.setup0(tabbrevs, options, verbose);
|
||||||
if (!!options.statuselement) {
|
if (!!options.statuselement) {
|
||||||
while (statuselement.lastChild) {el.removeChild(el.lastChild); } // Remove any exist status
|
while (statuselement.lastChild) {statuselement.removeChild(statuselement.lastChild); } // Remove any exist status
|
||||||
statuselement.appendChild(
|
statuselement.appendChild(
|
||||||
utils.createElement("UL", {}, transports.map(t => {
|
utils.createElement("UL", {}, transports.map(t => {
|
||||||
let el = utils.createElement("LI",
|
let el = utils.createElement("LI",
|
||||||
|
Reference in New Issue
Block a user