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

redux-awaiter

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-awaiter - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

es/internal/awaiters.d.ts

2

es/createAwaiterMiddleware.js
"use strict";
import awaiters from './awaiters';
import awaiters from './internal/awaiters';
export var createAwaiterMiddleware = function () { return function () { return function (next) { return function (action) {

@@ -4,0 +4,0 @@ awaiters.consume(action);

export * from './createAwaiterMiddleware';
export * from './operations';
export * from './types';
"use strict";
import awaiters from '../awaiters';
import awaiters from '../internal/awaiters';
export var take = function (pattern) {

@@ -4,0 +4,0 @@ return new Promise(function (resolve) { return awaiters.produce({ pattern: pattern, resolve: resolve }); });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var awaiters_1 = require("./awaiters");
var awaiters_1 = require("./internal/awaiters");
exports.createAwaiterMiddleware = function () { return function () { return function (next) { return function (action) {

@@ -5,0 +5,0 @@ awaiters_1.default.consume(action);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var awaiters_1 = require("../awaiters");
var awaiters_1 = require("../internal/awaiters");
exports.take = function (pattern) {

@@ -5,0 +5,0 @@ return new Promise(function (resolve) { return awaiters_1.default.produce({ pattern: pattern, resolve: resolve }); });

{
"name": "redux-awaiter",
"version": "0.2.0",
"version": "0.2.1",
"description": "A Redux middleware for giving opportunities to await and receive actions in anywhere",

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

import { Middleware } from 'redux';
import awaiters from './awaiters';
import awaiters from './internal/awaiters';

@@ -5,0 +5,0 @@ export const createAwaiterMiddleware = (): Middleware => () => next => (action) => {

export * from './createAwaiterMiddleware';
export * from './operations';
export * from './types';

@@ -1,2 +0,2 @@

import awaiters from '../awaiters';
import awaiters from '../internal/awaiters';
import { Action, Pattern } from '../types';

@@ -3,0 +3,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc