You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@uppy/store-redux

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/store-redux - npm Package Compare versions

Comparing version

to
3.0.5

2

lib/index.js

@@ -7,3 +7,3 @@ let _Symbol$for;

const packageJson = {
"version": "3.0.4"
"version": "3.0.5"
}; // Redux action name.

@@ -10,0 +10,0 @@ export const STATE_UPDATE = 'uppy/STATE_UPDATE';

{
"name": "@uppy/store-redux",
"description": "Make Uppy use your existing Redux store.",
"version": "3.0.4",
"version": "3.0.5",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -5,3 +5,7 @@ import type { Store } from '@uppy/utils'

type State = Record<string, unknown>
type StateChangeListener = (prevState: State, nextState: State, patch: State) => void
type StateChangeListener = (
prevState: State,
nextState: State,
patch: State,
) => void

@@ -15,9 +19,9 @@ interface ReduxStoreOptions {

export class ReduxStore implements Store {
constructor (opts: ReduxStoreOptions)
constructor(opts: ReduxStoreOptions)
getState (): State
getState(): State
setState (patch: State): void
setState(patch: State): void
subscribe (listener: StateChangeListener): () => void
subscribe(listener: StateChangeListener): () => void
}

@@ -24,0 +28,0 @@