react-render-hooks 0.0.1 → 0.0.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.
|
@@ -2,5 +2,5 @@ import { Provider, ObservableProviderGameCountSetting, ObservableProviderInfoSet
|
|
|
2
2
|
type Props = {
|
|
3
3
|
isMobile: boolean;
|
|
4
4
|
} & (ObservableProvidersSetting | ObservableProviderInfoSetting | ObservableProviderGameCountSetting);
|
|
5
|
-
export declare const useProviders: (props: Props) => Provider[] | null;
|
|
5
|
+
export declare const useProviders: (props: Props) => Provider[] | Provider | null;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { PrepareFavoriteEntitiesForSavingProps } from 'react-memory-optimization/dist/lib/store/user/entities/favorites/types';
|
|
2
|
-
type Props = {
|
|
3
|
-
isConnectedApp: boolean;
|
|
4
|
-
};
|
|
5
2
|
export type ReturnType = {
|
|
6
3
|
updateFavorites?: (d: PrepareFavoriteEntitiesForSavingProps) => void;
|
|
7
4
|
};
|
|
8
|
-
export declare const useFavoriteController: (
|
|
9
|
-
export {};
|
|
5
|
+
export declare const useFavoriteController: () => ReturnType;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-render-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": "decoderdog",
|
|
8
8
|
"license": "",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"react-memory-optimization": "0.0.
|
|
10
|
+
"react-memory-optimization": "0.0.2"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"brotli": "1.3.3",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dev": "rm -rf dist/lib && webpack --watch",
|
|
19
19
|
"build": "rm -rf dist && webpack --mode=production --node-env=production",
|
|
20
20
|
"publish": "npm i && npm run build && npm publish",
|
|
21
|
-
"dev:
|
|
21
|
+
"dev:app": "sudo npm link ../../casino-apps/front-end/web-spa/node_modules/react react-memory-optimization && npm run dev",
|
|
22
22
|
"dev:ssr": "sudo npm link ../../casino-apps/front-end/web-ssr/node_modules/react react-memory-optimization && npm run dev",
|
|
23
23
|
"dev:xxx": "sudo npm link ../../xxxbet/web/node_modules/react react-memory-optimization && npm run dev"
|
|
24
24
|
},
|