@tramvai/state 1.101.9 → 1.104.2
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.es.js +8 -8
- package/lib/index.js +8 -8
- package/package.json +5 -5
package/lib/index.es.js
CHANGED
|
@@ -794,22 +794,22 @@ selectorFactory,
|
|
|
794
794
|
{
|
|
795
795
|
// the func used to compute this HOC's displayName from the wrapped component's displayName.
|
|
796
796
|
// probably overridden by wrapper functions such as connect()
|
|
797
|
-
getDisplayName
|
|
797
|
+
getDisplayName,
|
|
798
798
|
// shown in error messages
|
|
799
799
|
// probably overridden by wrapper functions such as connect()
|
|
800
|
-
methodName
|
|
800
|
+
methodName,
|
|
801
801
|
// stores to connect to
|
|
802
|
-
stores
|
|
802
|
+
stores,
|
|
803
803
|
// determines whether this HOC subscribes to store changes
|
|
804
|
-
shouldHandleStateChanges
|
|
804
|
+
shouldHandleStateChanges,
|
|
805
805
|
// use React's forwardRef to expose a ref of the wrapped component
|
|
806
|
-
forwardRef
|
|
806
|
+
forwardRef,
|
|
807
807
|
// function used to schedule updates
|
|
808
|
-
schedule
|
|
808
|
+
schedule,
|
|
809
809
|
// is component and all toProps functions are pure, so they can be memoized
|
|
810
|
-
pure
|
|
810
|
+
pure,
|
|
811
811
|
// additional options are passed through to the selectorFactory
|
|
812
|
-
...connectOptions }
|
|
812
|
+
...connectOptions }) {
|
|
813
813
|
return function wrapWithConnect(WrappedComponent) {
|
|
814
814
|
if (process.env.NODE_ENV !== 'production') {
|
|
815
815
|
invariant(isValidElementType(WrappedComponent), `You must pass a component to the function returned by ` +
|
package/lib/index.js
CHANGED
|
@@ -816,22 +816,22 @@ selectorFactory,
|
|
|
816
816
|
{
|
|
817
817
|
// the func used to compute this HOC's displayName from the wrapped component's displayName.
|
|
818
818
|
// probably overridden by wrapper functions such as connect()
|
|
819
|
-
getDisplayName
|
|
819
|
+
getDisplayName,
|
|
820
820
|
// shown in error messages
|
|
821
821
|
// probably overridden by wrapper functions such as connect()
|
|
822
|
-
methodName
|
|
822
|
+
methodName,
|
|
823
823
|
// stores to connect to
|
|
824
|
-
stores
|
|
824
|
+
stores,
|
|
825
825
|
// determines whether this HOC subscribes to store changes
|
|
826
|
-
shouldHandleStateChanges
|
|
826
|
+
shouldHandleStateChanges,
|
|
827
827
|
// use React's forwardRef to expose a ref of the wrapped component
|
|
828
|
-
forwardRef
|
|
828
|
+
forwardRef,
|
|
829
829
|
// function used to schedule updates
|
|
830
|
-
schedule
|
|
830
|
+
schedule,
|
|
831
831
|
// is component and all toProps functions are pure, so they can be memoized
|
|
832
|
-
pure
|
|
832
|
+
pure,
|
|
833
833
|
// additional options are passed through to the selectorFactory
|
|
834
|
-
...connectOptions }
|
|
834
|
+
...connectOptions }) {
|
|
835
835
|
return function wrapWithConnect(WrappedComponent) {
|
|
836
836
|
if (process.env.NODE_ENV !== 'production') {
|
|
837
837
|
invariant__default["default"](reactIs.isValidElementType(WrappedComponent), `You must pass a component to the function returned by ` +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/state",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.104.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"build-for-publish": "true"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tinkoff/react-hooks": "0.0.
|
|
21
|
+
"@tinkoff/react-hooks": "0.0.26",
|
|
22
22
|
"@tinkoff/utils": "^2.1.2",
|
|
23
|
-
"@tramvai/types-actions-state-context": "1.
|
|
23
|
+
"@tramvai/types-actions-state-context": "1.104.2",
|
|
24
24
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
25
25
|
"invariant": "^2.2.4",
|
|
26
26
|
"react-is": ">=17",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"hoist-non-react-statics": "^3.3.1",
|
|
32
32
|
"prop-types": "^15.6.2",
|
|
33
|
-
"react": ">=16.
|
|
34
|
-
"react-dom": ">=16.
|
|
33
|
+
"react": ">=16.14.0",
|
|
34
|
+
"react-dom": ">=16.14.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@reatom/core": "^1.1.5",
|