react-render-hooks 0.0.49 → 0.0.50
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/index.js +1 -1
- package/dist/lib/hooks/transport/useInitTransport/index.d.ts +1 -1
- package/dist/lib/hooks/transport/useTransportControllers/index.d.ts +3 -3
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/services/transport.d.ts +1 -1
- package/dist/lib/services/types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransportSetting } from 'services/types';
|
|
2
|
-
import { ESocketCallbackStep } from 'react-memory-optimization/dist/lib/socket/types';
|
|
2
|
+
import { ESocketCallbackStep } from 'react-memory-optimization/dist/lib/socket/types/socket';
|
|
3
3
|
export type InitTransportProps = {
|
|
4
4
|
transportInfo: {
|
|
5
5
|
address: string;
|
|
@@ -2,9 +2,9 @@ export declare const useTransportControllers: () => {
|
|
|
2
2
|
setSettings: (transportSetting: import("../../../services/types").TransportSetting) => void;
|
|
3
3
|
init: () => void;
|
|
4
4
|
reInit: () => void;
|
|
5
|
-
endpoints: import("react-memory-optimization/dist/lib/socket/types").SocketInterface;
|
|
6
|
-
addSubscriber: (key: keyof import("react-memory-optimization/dist/lib/socket/types").SocketInterface, data: unknown) => any;
|
|
7
|
-
removeSubscriber: (key: keyof import("react-memory-optimization/dist/lib/socket/types").SocketInterface, uid: string | {
|
|
5
|
+
endpoints: import("react-memory-optimization/dist/lib/socket/types/socket").SocketInterface;
|
|
6
|
+
addSubscriber: (key: keyof import("react-memory-optimization/dist/lib/socket/types/socket").SocketInterface, data: unknown) => any;
|
|
7
|
+
removeSubscriber: (key: keyof import("react-memory-optimization/dist/lib/socket/types/socket").SocketInterface, uid: string | {
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
uid: string;
|
|
10
10
|
}) => any;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrencyInfoByIdOrName } from 'react-memory-optimization/dist/bundle';
|
|
1
|
+
import { getCurrencyInfoByIdOrName, api } from 'react-memory-optimization/dist/bundle';
|
|
2
2
|
import { useCurrencies } from './hooks/shared/useCurrencies';
|
|
3
3
|
import { useTransportControllers } from './hooks/transport/useTransportControllers';
|
|
4
4
|
import { useInitTransport } from './hooks/transport/useInitTransport';
|
|
@@ -113,4 +113,4 @@ export { useDailyTasks, useDailyActiveTask, useDailyTaskControllers };
|
|
|
113
113
|
export { useUserAvatar, useUserAvatars, useUserAvatarControllers };
|
|
114
114
|
export { useBonusWheelController };
|
|
115
115
|
export { useCurrencies };
|
|
116
|
-
export { getCurrencyInfoByIdOrName, useTransportControllers, useInitTransport };
|
|
116
|
+
export { getCurrencyInfoByIdOrName, useTransportControllers, useInitTransport, api, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ESocketCallbackStep, SocketInterface } from 'react-memory-optimization/dist/lib/socket/types';
|
|
1
|
+
import { ESocketCallbackStep, SocketInterface } from 'react-memory-optimization/dist/lib/socket/types/socket';
|
|
2
2
|
import { TransportSetting } from './types';
|
|
3
3
|
declare class Transport {
|
|
4
4
|
try: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ERequestIds } from 'react-memory-optimization/dist/lib/binary/types';
|
|
2
|
-
import { ESocketCallbackStep, TBettingSettings, TCasinoSettings } from 'react-memory-optimization/dist/lib/socket/types';
|
|
2
|
+
import { ESocketCallbackStep, TBettingSettings, TCasinoSettings } from 'react-memory-optimization/dist/lib/socket/types/socket';
|
|
3
3
|
export type TransportSetting = {
|
|
4
4
|
socketUrl: string;
|
|
5
5
|
language: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-render-hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50",
|
|
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.50"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"brotli": "1.3.3",
|