Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 58240f032e | |
Derrick Hammer | af36a49257 | |
Derrick Hammer | 1b04799943 |
|
@ -1,3 +1,5 @@
|
|||
# [0.1.0-develop.24](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.23...v0.1.0-develop.24) (2023-09-01)
|
||||
|
||||
# [0.1.0-develop.23](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.22...v0.1.0-develop.23) (2023-09-01)
|
||||
|
||||
# [0.1.0-develop.22](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.21...v0.1.0-develop.22) (2023-09-01)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libs5",
|
||||
"version": "0.1.0-develop.23",
|
||||
"version": "0.1.0-develop.24",
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"repository": {
|
||||
|
|
|
@ -212,7 +212,7 @@ export class RegistryService {
|
|||
public listen(
|
||||
pk: Uint8Array,
|
||||
cb: (sre: SignedRegistryEntry) => void,
|
||||
): ((() => void) | EventEmitter)[] {
|
||||
): () => void {
|
||||
const key = new Multihash(pk).toString();
|
||||
if (!this.streams[key]) {
|
||||
this.streams[key] = new EventEmitter();
|
||||
|
@ -226,7 +226,7 @@ export class RegistryService {
|
|||
|
||||
stream.on("event", cb);
|
||||
|
||||
return [done, stream];
|
||||
return done;
|
||||
}
|
||||
|
||||
public deserializeRegistryEntry(event: Uint8Array): SignedRegistryEntry {
|
||||
|
|
Loading…
Reference in New Issue