Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 992f026c8b chore(release): 0.1.0-develop.35 [skip ci]
# [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](419c7f85a8))
2023-09-02 01:49:23 +00:00
Derrick Hammer d461b917e6
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 21:48:23 -04:00
Derrick Hammer 419c7f85a8
fix: convert binary string to uint8array 2023-09-01 21:48:17 -04:00
4 changed files with 12 additions and 4 deletions

View File

@ -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)

4
npm-shrinkwrap.json generated
View File

@ -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",

View File

@ -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": {

View File

@ -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;