Socket
Socket
Sign inDemoInstall

@appnest/typed-actions

Package Overview
Dependencies
0
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

lib/index.cjs.d.ts

@@ -208,4 +208,4 @@ /**

*/
export declare const tryCatchDispatch: (dispatch: (action: Action<unknown, unknown>) => void) => <Success, Meta>(actionCreator: import("../async-action/async-action-creator").AsyncActionCreatorWithMeta<void, Success, Error, Meta>, handler: () => Success | Promise<Success>) => Promise<void>;
export declare const tryCatchDispatch: (dispatch: (action: Action<unknown, unknown>) => void) => <Success, Meta>(actionCreator: import("../async-action/async-action-creator").AsyncActionCreatorWithMeta<void, Success, Error, Meta>, handler: () => Success | Promise<Success>) => Promise<Success>;
//# sourceMappingURL=index.cjs.d.ts.map

@@ -140,2 +140,3 @@ 'use strict';

dispatch(actionCreator.success(data));
return data;
}

@@ -142,0 +143,0 @@ catch (e) {

@@ -208,4 +208,4 @@ /**

*/
export declare const tryCatchDispatch: (dispatch: (action: Action<unknown, unknown>) => void) => <Success, Meta>(actionCreator: import("../async-action/async-action-creator").AsyncActionCreatorWithMeta<void, Success, Error, Meta>, handler: () => Success | Promise<Success>) => Promise<void>;
export declare const tryCatchDispatch: (dispatch: (action: Action<unknown, unknown>) => void) => <Success, Meta>(actionCreator: import("../async-action/async-action-creator").AsyncActionCreatorWithMeta<void, Success, Error, Meta>, handler: () => Success | Promise<Success>) => Promise<Success>;
//# sourceMappingURL=index.esm.d.ts.map

@@ -137,2 +137,3 @@ /**

dispatch(actionCreator.success(data));
return data;
}

@@ -139,0 +140,0 @@ catch (e) {

{
"name": "@appnest/typed-actions",
"version": "1.0.3",
"version": "1.0.4",
"description": "A lightweight library to create and type check flux/redux actions in typescript",

@@ -5,0 +5,0 @@ "author": "runem",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc