Compare commits

...

3 Commits

4 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,5 @@
# [0.1.0-develop.20](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.19...v0.1.0-develop.20) (2023-09-01)
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-09-01)
# [0.1.0-develop.18](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.17...v0.1.0-develop.18) (2023-09-01)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.19",
"version": "0.1.0-develop.20",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.19",
"version": "0.1.0-develop.20",
"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.19",
"version": "0.1.0-develop.20",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -173,7 +173,7 @@ export class RegistryService {
await this.set(sre);
}
async signRegistryEntry({
signRegistryEntry({
kp,
data,
revision,
@ -181,7 +181,7 @@ export class RegistryService {
kp: KeyPairEd25519;
data: Uint8Array;
revision: number;
}): Promise<SignedRegistryEntry> {
}): SignedRegistryEntry {
const list = new Uint8Array([
recordTypeRegistryEntry,
...encodeEndian(revision, 8),