Compare commits

..

No commits in common. "v0.1.0-develop.35" and "v0.1.0-develop.34" have entirely different histories.

4 changed files with 4 additions and 12 deletions

View File

@ -1,10 +1,3 @@
# [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) # [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", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.35", "version": "0.1.0-develop.34",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.35", "version": "0.1.0-develop.34",
"dependencies": { "dependencies": {
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1", "@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.35", "version": "0.1.0-develop.34",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -15,7 +15,6 @@ import { Buffer } from "buffer";
import { EventEmitter } from "events"; import { EventEmitter } from "events";
import KeyPairEd25519 from "#ed25519.js"; import KeyPairEd25519 from "#ed25519.js";
import { S5Node, stringifyBytes } from "#node.js"; import { S5Node, stringifyBytes } from "#node.js";
import { utf8ToBytes } from "@noble/hashes/utils";
export class RegistryService { export class RegistryService {
private db?: AbstractSublevel< private db?: AbstractSublevel<
@ -201,7 +200,7 @@ export class RegistryService {
} catch {} } catch {}
if (val) { if (val) {
return this.deserializeRegistryEntry(utf8ToBytes(val)); return this.deserializeRegistryEntry(val);
} }
return null; return null;