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

react-router-redux-saga-model

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-redux-saga-model - npm Package Compare versions

Comparing version 0.0.48 to 0.0.481

6

es/index.js

@@ -11,3 +11,3 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

import { Provider } from "react-redux";
import { sagaModelManagerFactory } from "redux-saga-model";
import { SagaModelManager } from "redux-saga-model";
import { ConnectedRouter, routerMiddleware, routerReducer as routing } from "react-router-redux";

@@ -79,7 +79,7 @@ import createBrowserHistory from "history/createBrowserHistory";

var initialModels = models;
var modelManager = sagaModelManagerFactory({ initialState: initialState, initialReducer: initialReducer, initialMiddleware: initialMiddleware, initialModels: initialModels, history: history });
var modelManager = new SagaModelManager({ initialState: initialState, initialReducer: initialReducer, initialMiddleware: initialMiddleware, initialModels: initialModels, history: history });
return React.createElement(
Provider,
{ store: modelManager.getStore() },
{ store: modelManager.store() },
React.createElement(BindRouter, { children: children, history: history, sagaModel: modelManager })

@@ -86,0 +86,0 @@ );

@@ -104,7 +104,7 @@ "use strict";

var initialModels = models;
var modelManager = (0, _reduxSagaModel.sagaModelManagerFactory)({ initialState: initialState, initialReducer: initialReducer, initialMiddleware: initialMiddleware, initialModels: initialModels, history: history });
var modelManager = new _reduxSagaModel.SagaModelManager({ initialState: initialState, initialReducer: initialReducer, initialMiddleware: initialMiddleware, initialModels: initialModels, history: history });
return _react2.default.createElement(
_reactRedux.Provider,
{ store: modelManager.getStore() },
{ store: modelManager.store() },
_react2.default.createElement(BindRouter, { children: children, history: history, sagaModel: modelManager })

@@ -111,0 +111,0 @@ );

{
"name": "react-router-redux-saga-model",
"version": "0.0.48",
"version": "0.0.481",
"main": "lib/index.js",

@@ -15,3 +15,3 @@ "author": "tangzixiang <tomson_tang@yeah.net>",

"redux": "^3.7.2",
"redux-saga-model": "^0.0.94"
"redux-saga-model": "^0.0.941"
},

@@ -18,0 +18,0 @@ "scripts": {

import React from "react";
import {Provider} from "react-redux";
import {sagaModelManagerFactory} from "redux-saga-model";
import {SagaModelManager} from "redux-saga-model";
import {ConnectedRouter, routerMiddleware, routerReducer as routing} from "react-router-redux";

@@ -66,6 +66,6 @@ import createBrowserHistory from "history/createBrowserHistory";

const initialModels = models;
const modelManager = sagaModelManagerFactory({initialState, initialReducer, initialMiddleware, initialModels,history});
const modelManager = new SagaModelManager({initialState, initialReducer, initialMiddleware, initialModels,history});
return (
<Provider store={modelManager.getStore()}>
<Provider store={modelManager.store()}>
<BindRouter children={children} history={history} sagaModel={modelManager}/>

@@ -72,0 +72,0 @@ </Provider>

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