@aprilium/tripsm_global-states 0.0.40 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -6,6 +6,7 @@ import { PersistConfig } from 'redux-persist';
6
6
  import { PassengerState } from '@aprilium/tripsm_passenger/lib/state';
7
7
  import { ConstantState } from '@aprilium/tripsm_constants/lib/state';
8
8
  import passengerSaga from '@aprilium/tripsm_passenger/lib/effects';
9
+ import constantsSaga from '@aprilium/tripsm_constants/lib/effects';
9
10
  export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
10
11
  export declare const reducers: {
11
12
  passenger: import("immer-reducer").ImmerReducerFunction<typeof PassengerState>;
@@ -13,7 +14,7 @@ export declare const reducers: {
13
14
  };
14
15
  export declare const initialSagas: {
15
16
  passenger: typeof passengerSaga;
16
- constants: typeof passengerSaga;
17
+ constants: typeof constantsSaga;
17
18
  };
18
19
  export type States = {
19
20
  passenger: PassengerState;
@@ -21,7 +22,7 @@ export type States = {
21
22
  };
22
23
  export type StateName = 'passenger' | 'constants';
23
24
  export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
24
- export declare const sagas: (typeof passengerSaga)[];
25
+ export declare const sagas: (typeof passengerSaga | typeof constantsSaga)[];
25
26
  export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
26
27
  waitForRehydrate?: boolean): void;
27
28
  declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
package/lib/index.js CHANGED
@@ -62,7 +62,7 @@ var state_1 = require("@aprilium/tripsm_passenger/lib/state");
62
62
  var state_2 = require("@aprilium/tripsm_constants/lib/state");
63
63
  //import sagas
64
64
  var effects_2 = __importDefault(require("@aprilium/tripsm_passenger/lib/effects"));
65
- var effects_3 = __importDefault(require("@aprilium/tripsm_passenger/lib/effects"));
65
+ var effects_3 = __importDefault(require("@aprilium/tripsm_constants/lib/effects"));
66
66
  exports.sagaMiddleware = (0, redux_saga_1.default)();
67
67
  exports.reducers = {
68
68
  passenger: state_1.PassengerReducerFunction,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aprilium/tripsm_global-states",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "global states",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",