New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alien-worlds/aw-core

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alien-worlds/aw-core - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

5

build/blockchain/domain/services/block-reader.d.ts

@@ -8,2 +8,3 @@ import { Block } from '../entities/block';

};
export declare type AsyncCallback = (...args: unknown[]) => Promise<void>;
export declare type BlockReaderConfig = BlockReaderOptions & {

@@ -19,2 +20,4 @@ endpoints: string[];

protected blockRangeCompleteHandler: (startBlock: bigint, endBlock: bigint) => Promise<void>;
protected connectedCallback: AsyncCallback;
protected disconnectedCallback: AsyncCallback;
abstract connect(): Promise<void>;

@@ -30,2 +33,4 @@ abstract disconnect(): Promise<void>;

onWarning(handler: (...args: unknown[]) => void): void;
onConnected(callback: AsyncCallback): void;
onDisconnected(callback: AsyncCallback): void;
}

@@ -9,2 +9,4 @@ "use strict";

blockRangeCompleteHandler;
connectedCallback;
disconnectedCallback;
onReceivedBlock(handler) {

@@ -22,3 +24,9 @@ this.receivedBlockHandler = handler;

}
onConnected(callback) {
this.connectedCallback = callback;
}
onDisconnected(callback) {
this.disconnectedCallback = callback;
}
}
exports.BlockReader = BlockReader;

2

package.json
{
"name": "@alien-worlds/aw-core",
"version": "0.0.17",
"version": "0.0.18",
"description": "",

@@ -5,0 +5,0 @@ "packageManager": "yarn@3.2.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc