From 3d4a009a818daa0ee14be25e0b7238d42fb1661f Mon Sep 17 00:00:00 2001 From: Shane Trotter Date: Wed, 20 Jun 2018 10:13:14 -0600 Subject: [PATCH] _replicationInfo no longer exists and breaks the example, changing to _replicationStatus to match tests and latest code --- examples/browser/example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/browser/example.js b/examples/browser/example.js index 7f26b25..a17dc7b 100644 --- a/examples/browser/example.js +++ b/examples/browser/example.js @@ -255,7 +255,7 @@ const main = (IPFS, ORBITDB) => { outputElm.innerHTML = `
Peer ID: ${orbitdb.id}
Peers (database/network): ${databasePeers.length} / ${networkPeers.length}
-
Oplog Size: ${db._replicationInfo.progress} / ${db._replicationInfo.max}
+
Oplog Size: ${db._replicationStatus.progress} / ${db._replicationStatus.max}

Results