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

@streamr/utils

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamr/utils - npm Package Compare versions

Comparing version 101.0.0-beta.1 to 101.0.0-beta.2

10

dist/src/addManagedEventListener.d.ts
/// <reference types="node" />
import EventEmitter from 'eventemitter3';
type Events<T> = {
[K in keyof T]: (...payloads: any[]) => void;
};
export declare const addManagedEventListener: <E extends Events<E>, T extends EventEmitter.EventNames<E>>(emitter: Pick<EventEmitter<E>, 'on' | 'off'>, eventName: T, listener: EventEmitter.EventListener<E, T>, abortSignal: AbortSignal) => void;
export {};
export declare const addManagedEventListener: <TEventName extends string, TListener extends (...payloads: any[]) => void>(emitter: {
on: (eventName: TEventName, listener: TListener) => unknown;
off: (eventName: TEventName, listener: TListener) => unknown;
}, eventName: TEventName, listener: TListener, abortSignal: AbortSignal) => void;

2

package.json
{
"name": "@streamr/utils",
"version": "101.0.0-beta.1",
"version": "101.0.0-beta.2",
"description": "A collection of shared common utilities",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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