Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 589ccbe37c | |
Derrick Hammer | ef63d8d250 | |
Derrick Hammer | 384e941b09 |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.37](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.36...v0.1.0-develop.37) (2023-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* set sublevel valueEncoding to buffer ([384e941](https://git.lumeweb.com/LumeWeb/libs5/commit/384e941b095b6b5c412f502cd8579758fe90ce17))
|
||||
|
||||
# [0.1.0-develop.36](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.35...v0.1.0-develop.36) (2023-09-02)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.36",
|
||||
"version": "0.1.0-develop.37",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.36",
|
||||
"version": "0.1.0-develop.37",
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.36",
|
||||
"version": "0.1.0-develop.37",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"repository": {
|
||||
|
|
|
@ -87,7 +87,9 @@ export class P2PService extends EventEmitter {
|
|||
|
||||
async init(): Promise<void> {
|
||||
this.localNodeId = new NodeId(this.nodeKeyPair.publicKey); // Define the NodeId constructor
|
||||
this.nodesDb = this._node.db.sublevel<string, Uint8Array>("s5-nodes", {});
|
||||
this.nodesDb = this._node.db.sublevel<string, Uint8Array>("s5-nodes", {
|
||||
valueEncoding: "buffer",
|
||||
});
|
||||
}
|
||||
|
||||
async start(): Promise<void> {
|
||||
|
|
|
@ -35,7 +35,9 @@ export class RegistryService {
|
|||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
this.db = this.node.db.sublevel<string, Uint8Array>("s5-registry-db", {});
|
||||
this.db = this.node.db.sublevel<string, Uint8Array>("s5-registry-db", {
|
||||
valueEncoding: "buffer",
|
||||
});
|
||||
}
|
||||
|
||||
async set(
|
||||
|
|
Loading…
Reference in New Issue