Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@schirkan/reactron-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schirkan/reactron-interfaces - npm Package Compare versions

Comparing version 0.10.0-alpha.9 to 0.10.0-alpha.10

13

dist/IPubSub.d.ts

@@ -1,12 +0,11 @@

export interface IPubSubEvgent {
export interface IPubSubEvent {
name: string;
resolve: (data: any) => void;
reject: (reason: any) => void;
}
export declare type PubSubListener = (event: IPubSubEvent, ...args: any[]) => void;
export interface IPubSub {
subscribe(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
once(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
unsubscribe(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
publish(eventName: string, ...args: any[]): Promise<any>;
subscribe(eventName: string, listener: PubSubListener): void;
once(eventName: string, listener: PubSubListener): void;
unsubscribe(eventName: string, listener: PubSubListener): void;
publish(eventName: string, ...args: any[]): void;
clearAllSubscriptions(): void;
}
{
"name": "@schirkan/reactron-interfaces",
"version": "0.10.0-alpha.9",
"version": "0.10.0-alpha.10",
"description": "interfaces for reactron modules",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,13 +0,13 @@

export interface IPubSubEvgent {
export interface IPubSubEvent {
name: string;
resolve: (data: any) => void;
reject: (reason: any) => void;
}
export type PubSubListener = (event: IPubSubEvent, ...args: any[]) => void;
export interface IPubSub {
subscribe(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
once(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
unsubscribe(eventName: string, listener: (event: IPubSubEvgent, ...args: any[]) => void): void;
publish(eventName: string, ...args: any[]): Promise<any>;
subscribe(eventName: string, listener: PubSubListener): void;
once(eventName: string, listener: PubSubListener): void;
unsubscribe(eventName: string, listener: PubSubListener): void;
publish(eventName: string, ...args: any[]): void;
clearAllSubscriptions(): void;
}
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