Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 8470d578a5 | |
Derrick Hammer | 178df36f93 | |
Derrick Hammer | 9f00d8fec8 |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.51](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.50...v0.1.0-develop.51) (2023-09-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* IStore should extend EventEmitter ([9f00d8f](https://git.lumeweb.com/LumeWeb/libethsync/commit/9f00d8fec80d05592974d28c557117419027d21e))
|
||||
|
||||
# [0.1.0-develop.50](https://git.lumeweb.com/LumeWeb/libethsync/compare/v0.1.0-develop.49...v0.1.0-develop.50) (2023-09-16)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.50",
|
||||
"version": "0.1.0-develop.51",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.50",
|
||||
"version": "0.1.0-develop.51",
|
||||
"dependencies": {
|
||||
"@chainsafe/as-sha256": "^0.3.1",
|
||||
"@chainsafe/bls": "7.1.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libethsync",
|
||||
"version": "0.1.0-develop.50",
|
||||
"version": "0.1.0-develop.51",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -2,6 +2,7 @@ import { BeaconConfig } from "@lodestar/config";
|
|||
import { GenesisData, LightClientUpdate } from "#types.js";
|
||||
import { ProverRequestCallback } from "#client/index.js";
|
||||
import BaseClient from "#baseClient.js";
|
||||
import { EventEmitter } from "events";
|
||||
|
||||
export interface IProver {
|
||||
get callback(): ProverRequestCallback;
|
||||
|
@ -12,7 +13,7 @@ export interface IProver {
|
|||
): Promise<LightClientUpdate[]>;
|
||||
}
|
||||
|
||||
export interface IStore {
|
||||
export interface IStore extends EventEmitter {
|
||||
addUpdate(period: number, update: LightClientUpdate): void;
|
||||
getUpdate(period: number): Uint8Array;
|
||||
hasUpdate(period: number): boolean;
|
||||
|
|
Loading…
Reference in New Issue