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

View File

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