rx-tiny-flux 1.0.26 → 1.0.27
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/dist/rx-tiny-flux.d.ts +4 -4
- package/package.json +2 -1
package/dist/rx-tiny-flux.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperatorFunction, Subscription, Observable } from 'rxjs';
|
|
1
|
+
import { OperatorFunction, Subscription, Observable, MonoTypeOperatorFunction } from 'rxjs';
|
|
2
2
|
export * from 'rxjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -113,17 +113,17 @@ declare function withLatestFromStore<T>(selector: (state: object) => T): Operato
|
|
|
113
113
|
/**
|
|
114
114
|
* RxJS operator that filters for the Side Service environment.
|
|
115
115
|
*/
|
|
116
|
-
declare const isSideService: () =>
|
|
116
|
+
declare const isSideService: <T>() => MonoTypeOperatorFunction<T>;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* RxJS operator that filters for the App/Page environment.
|
|
120
120
|
*/
|
|
121
|
-
declare const
|
|
121
|
+
declare const isSideService: <T>() => MonoTypeOperatorFunction<T>;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* RxJS operator to propagate an action to another ZeppOS context.
|
|
125
125
|
*/
|
|
126
126
|
declare const propagateAction: () => OperatorFunction<Action, Action>;
|
|
127
127
|
|
|
128
|
-
export { Store, anyAction, createAction, createEffect, createFeatureSelector, createReducer, createSelector,
|
|
128
|
+
export { Store, anyAction, createAction, createEffect, createFeatureSelector, createReducer, createSelector, isSideService, ofType, on, propagateAction, storePlugin, withLatestFromStore };
|
|
129
129
|
export type { Action, StorePage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rx-tiny-flux",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "A lightweight, minimalist state management library for pure JavaScript projects, inspired by NgRx and Redux, and built with RxJS.",
|
|
5
5
|
"author": "Bernardo Baumblatt <baumblatt@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"lightweight"
|
|
20
20
|
],
|
|
21
21
|
"type": "module",
|
|
22
|
+
"types": "dist/rx-tiny-flux.d.ts",
|
|
22
23
|
"main": "dist/rx-tiny-flux.esm.js",
|
|
23
24
|
"zeppos": true,
|
|
24
25
|
"exports": {
|