@peerbit/document 12.2.0-369b236 → 12.2.0-e38a67b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/search.js +1 -1
- package/package.json +18 -18
- package/src/search.ts +1 -1
package/dist/src/search.js
CHANGED
|
@@ -1423,7 +1423,7 @@ let DocumentIndex = (() => {
|
|
|
1423
1423
|
// give queries higher priority than other "normal" data activities
|
|
1424
1424
|
// without this, we might have a scenario that a peer joina network with large amount of data to be synced, but can not query anything before that is done
|
|
1425
1425
|
// this will lead to bad UX as you usually want to list/expore whats going on before doing any replication work
|
|
1426
|
-
remote.priority =
|
|
1426
|
+
remote.priority = 2;
|
|
1427
1427
|
}
|
|
1428
1428
|
if (!local && !remote) {
|
|
1429
1429
|
throw new Error("Expecting either 'options.remote' or 'options.local' to be true");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerbit/document",
|
|
3
|
-
"version": "12.2.0-
|
|
3
|
+
"version": "12.2.0-e38a67b",
|
|
4
4
|
"description": "Document store implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -57,27 +57,27 @@
|
|
|
57
57
|
"@libp2p/interface": "^3.1.0",
|
|
58
58
|
"@libp2p/tcp": "^11.0.2",
|
|
59
59
|
"@multiformats/multiaddr": "^13.0.1",
|
|
60
|
-
"@peerbit/cache": "2.2.0-
|
|
61
|
-
"@peerbit/crypto": "2.4.1-
|
|
62
|
-
"@peerbit/logger": "2.0.0-
|
|
63
|
-
"@peerbit/log": "5.0.6-
|
|
64
|
-
"@peerbit/pubsub": "4.1.3-
|
|
65
|
-
"@peerbit/program": "5.6.0-
|
|
66
|
-
"@peerbit/rpc": "5.4.15-
|
|
67
|
-
"@peerbit/shared-log": "12.2.0-
|
|
68
|
-
"@peerbit/indexer-interface": "2.1.1-
|
|
69
|
-
"@peerbit/indexer-simple": "1.2.2-
|
|
70
|
-
"@peerbit/indexer-sqlite3": "2.1.0-
|
|
71
|
-
"@peerbit/document-interface": "3.2.0-
|
|
72
|
-
"@peerbit/indexer-cache": "0.2.2-
|
|
73
|
-
"@peerbit/stream-interface": "5.3.1-
|
|
60
|
+
"@peerbit/cache": "2.2.0-e38a67b",
|
|
61
|
+
"@peerbit/crypto": "2.4.1-e38a67b",
|
|
62
|
+
"@peerbit/logger": "2.0.0-e38a67b",
|
|
63
|
+
"@peerbit/log": "5.0.6-e38a67b",
|
|
64
|
+
"@peerbit/pubsub": "4.1.3-e38a67b",
|
|
65
|
+
"@peerbit/program": "5.6.0-e38a67b",
|
|
66
|
+
"@peerbit/rpc": "5.4.15-e38a67b",
|
|
67
|
+
"@peerbit/shared-log": "12.2.0-e38a67b",
|
|
68
|
+
"@peerbit/indexer-interface": "2.1.1-e38a67b",
|
|
69
|
+
"@peerbit/indexer-simple": "1.2.2-e38a67b",
|
|
70
|
+
"@peerbit/indexer-sqlite3": "2.1.0-e38a67b",
|
|
71
|
+
"@peerbit/document-interface": "3.2.0-e38a67b",
|
|
72
|
+
"@peerbit/indexer-cache": "0.2.2-e38a67b",
|
|
73
|
+
"@peerbit/stream-interface": "5.3.1-e38a67b",
|
|
74
74
|
"p-defer": "^4.0.0",
|
|
75
75
|
"uint8arrays": "^5.1.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@peerbit/test-utils": "2.3.15-
|
|
79
|
-
"@peerbit/time": "2.3.0-
|
|
80
|
-
"peerbit": "4.4.15-
|
|
78
|
+
"@peerbit/test-utils": "2.3.15-e38a67b",
|
|
79
|
+
"@peerbit/time": "2.3.0-e38a67b",
|
|
80
|
+
"peerbit": "4.4.15-e38a67b",
|
|
81
81
|
"@types/pidusage": "^2.0.5",
|
|
82
82
|
"pidusage": "^4.0.1",
|
|
83
83
|
"uuid": "^10.0.0",
|
package/src/search.ts
CHANGED
|
@@ -2235,7 +2235,7 @@ export class DocumentIndex<
|
|
|
2235
2235
|
// give queries higher priority than other "normal" data activities
|
|
2236
2236
|
// without this, we might have a scenario that a peer joina network with large amount of data to be synced, but can not query anything before that is done
|
|
2237
2237
|
// this will lead to bad UX as you usually want to list/expore whats going on before doing any replication work
|
|
2238
|
-
remote.priority =
|
|
2238
|
+
remote.priority = 2;
|
|
2239
2239
|
}
|
|
2240
2240
|
|
|
2241
2241
|
if (!local && !remote) {
|