@peerbit/shared-log 13.2.1 → 13.2.3
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/index.d.ts.map +1 -1
- package/dist/src/index.js +7 -4
- package/dist/src/index.js.map +1 -1
- package/package.json +13 -13
- package/src/index.ts +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerbit/shared-log",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.3",
|
|
4
4
|
"description": "Shared log",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -62,35 +62,35 @@
|
|
|
62
62
|
"pino": "^9.4.0",
|
|
63
63
|
"uint8arrays": "^5.1.0",
|
|
64
64
|
"@peerbit/any-store": "2.2.10",
|
|
65
|
-
"@peerbit/blocks": "4.2.0",
|
|
66
|
-
"@peerbit/cache": "3.1.0",
|
|
67
65
|
"@peerbit/blocks-interface": "2.1.0",
|
|
66
|
+
"@peerbit/blocks": "4.2.1",
|
|
68
67
|
"@peerbit/crypto": "3.1.2",
|
|
69
68
|
"@peerbit/diagnostics": "0.0.1",
|
|
70
69
|
"@peerbit/indexer-interface": "3.0.5",
|
|
71
70
|
"@peerbit/indexer-sqlite3": "3.0.8",
|
|
72
|
-
"@peerbit/
|
|
71
|
+
"@peerbit/cache": "3.1.0",
|
|
72
|
+
"@peerbit/log": "6.2.3",
|
|
73
|
+
"@peerbit/pubsub": "5.3.0",
|
|
73
74
|
"@peerbit/logger": "2.0.1",
|
|
75
|
+
"@peerbit/program": "6.0.33",
|
|
74
76
|
"@peerbit/pubsub-interface": "5.1.5",
|
|
75
|
-
"@peerbit/program": "6.0.32",
|
|
76
|
-
"@peerbit/pubsub": "5.3.0",
|
|
77
77
|
"@peerbit/riblt": "1.2.0",
|
|
78
|
-
"@peerbit/rpc": "6.1.
|
|
78
|
+
"@peerbit/rpc": "6.1.1",
|
|
79
79
|
"@peerbit/time": "3.0.0",
|
|
80
80
|
"@peerbit/stream-interface": "6.0.11"
|
|
81
81
|
},
|
|
82
82
|
"optionalDependencies": {
|
|
83
|
-
"@peerbit/native-backbone": "0.1.
|
|
84
|
-
"@peerbit/shared-log-rust": "0.1.
|
|
83
|
+
"@peerbit/native-backbone": "0.1.2",
|
|
84
|
+
"@peerbit/shared-log-rust": "0.1.1"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@types/libsodium-wrappers": "^0.7.14",
|
|
88
88
|
"@types/pidusage": "^2.0.5",
|
|
89
89
|
"uuid": "^10.0.0",
|
|
90
|
-
"@peerbit/any-store-rust": "0.1.
|
|
91
|
-
"@peerbit/
|
|
92
|
-
"peerbit": "
|
|
93
|
-
"
|
|
90
|
+
"@peerbit/any-store-rust": "0.1.1",
|
|
91
|
+
"@peerbit/test-utils": "3.1.3",
|
|
92
|
+
"@peerbit/indexer-rust": "1.0.2",
|
|
93
|
+
"peerbit": "5.3.3"
|
|
94
94
|
},
|
|
95
95
|
"repository": {
|
|
96
96
|
"type": "git",
|
package/src/index.ts
CHANGED
|
@@ -8833,11 +8833,14 @@ export class SharedLog<
|
|
|
8833
8833
|
? this._nativeBackbone.graph
|
|
8834
8834
|
: this._nativeBackbone.storageBackedGraph
|
|
8835
8835
|
: undefined;
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8836
|
+
// The log always opens on RemoteBlocks, whose local layer is the native
|
|
8837
|
+
// block store when the backbone is active (see localBlocks above). Opening
|
|
8838
|
+
// it on the raw native store instead would drop the remote-fetch options
|
|
8839
|
+
// joins rely on: a replicate:false observer syncing a head whose parents
|
|
8840
|
+
// are not local would fail block resolution, and Log.join treats that as
|
|
8841
|
+
// recoverable and skips the entry without persisting anything.
|
|
8839
8842
|
await this.log.open(
|
|
8840
|
-
|
|
8843
|
+
this.remoteBlocks,
|
|
8841
8844
|
this.node.identity,
|
|
8842
8845
|
{
|
|
8843
8846
|
keychain: this.node.services.keychain,
|