Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 992f026c8b | |
Derrick Hammer | d461b917e6 | |
Derrick Hammer | 419c7f85a8 |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.35](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.34...v0.1.0-develop.35) (2023-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* convert binary string to uint8array ([419c7f8](https://git.lumeweb.com/LumeWeb/libs5/commit/419c7f85a8bd22e8ee10839bc30ea1248e2b6f3a))
|
||||
|
||||
# [0.1.0-develop.34](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.33...v0.1.0-develop.34) (2023-09-02)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.34",
|
||||
"version": "0.1.0-develop.35",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.34",
|
||||
"version": "0.1.0-develop.35",
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.34",
|
||||
"version": "0.1.0-develop.35",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"repository": {
|
||||
|
|
|
@ -15,6 +15,7 @@ import { Buffer } from "buffer";
|
|||
import { EventEmitter } from "events";
|
||||
import KeyPairEd25519 from "#ed25519.js";
|
||||
import { S5Node, stringifyBytes } from "#node.js";
|
||||
import { utf8ToBytes } from "@noble/hashes/utils";
|
||||
|
||||
export class RegistryService {
|
||||
private db?: AbstractSublevel<
|
||||
|
@ -200,7 +201,7 @@ export class RegistryService {
|
|||
} catch {}
|
||||
|
||||
if (val) {
|
||||
return this.deserializeRegistryEntry(val);
|
||||
return this.deserializeRegistryEntry(utf8ToBytes(val));
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue