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

redux-beacon

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-beacon - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

4

dist/create-events.d.ts
import { EventDefinition } from './types';
declare const createEvents: (eventDefs: EventDefinition<any>[], prevState: any, action: any, nextState: any) => any[];
declare const createEvents: (eventDefs: EventDefinition<any, {
[key: string]: any;
}, any>[], prevState: any, action: any, nextState: any) => any[];
export default createEvents;

@@ -8,5 +8,5 @@ export declare type Target = (events: any[]) => void;

*/
export declare type EventDefinition<E = any> = (action: {
export declare type EventDefinition<E = any, A = {
[key: string]: any;
}, prevState: any, nextState: any) => E;
}, S = any> = (action: A, prevState: S, nextState: S) => E;
export declare type EventsMapper = (action: {

@@ -13,0 +13,0 @@ [key: string]: any;

{
"name": "redux-beacon",
"version": "2.0.4",
"version": "2.0.5",
"description": "Analytics integration for Redux and ngrx/store",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -9,6 +9,6 @@ export type Target = (events: any[]) => void;

*/
export type EventDefinition<E = any> = (
action: { [key: string]: any },
prevState: any,
nextState: any
export type EventDefinition<E = any, A = { [key: string]: any }, S = any> = (
action: A,
prevState: S,
nextState: S
) => E;

@@ -15,0 +15,0 @@

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