front-back-poker-types 5.0.185 → 5.0.186
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/cjs/index.js +4 -0
- package/dist/cjs/types/api/user.d.ts +1 -1
- package/dist/cjs/types/ws/room/index.d.ts +4 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/types/api/user.d.ts +1 -1
- package/dist/esm/types/ws/room/index.d.ts +4 -0
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -32,6 +32,10 @@ export declare const WsCloseCode: {
|
|
|
32
32
|
* Внутренняя ошибка сервера
|
|
33
33
|
*/
|
|
34
34
|
readonly INTERNAL_ERROR: 1005;
|
|
35
|
+
/**
|
|
36
|
+
* Появилось новое соединение, старое закрывается
|
|
37
|
+
*/
|
|
38
|
+
readonly NEW_SESSION: 1006;
|
|
35
39
|
};
|
|
36
40
|
export type WsCloseCode = Values<typeof WsCloseCode>;
|
|
37
41
|
export * from './to-back';
|
package/dist/esm/index.js
CHANGED
|
@@ -32,6 +32,10 @@ export declare const WsCloseCode: {
|
|
|
32
32
|
* Внутренняя ошибка сервера
|
|
33
33
|
*/
|
|
34
34
|
readonly INTERNAL_ERROR: 1005;
|
|
35
|
+
/**
|
|
36
|
+
* Появилось новое соединение, старое закрывается
|
|
37
|
+
*/
|
|
38
|
+
readonly NEW_SESSION: 1006;
|
|
35
39
|
};
|
|
36
40
|
export type WsCloseCode = Values<typeof WsCloseCode>;
|
|
37
41
|
export * from './to-back';
|
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ type UserAuthResponse = {
|
|
|
56
56
|
balance: number;
|
|
57
57
|
freeBalance: number;
|
|
58
58
|
accessToken: string;
|
|
59
|
-
activeRoomId
|
|
59
|
+
activeRoomId: number | undefined;
|
|
60
60
|
referralCount: number;
|
|
61
61
|
roomIds: number[];
|
|
62
62
|
isNew: boolean | undefined;
|
|
@@ -1042,6 +1042,10 @@ declare const WsCloseCode: {
|
|
|
1042
1042
|
* Внутренняя ошибка сервера
|
|
1043
1043
|
*/
|
|
1044
1044
|
readonly INTERNAL_ERROR: 1005;
|
|
1045
|
+
/**
|
|
1046
|
+
* Появилось новое соединение, старое закрывается
|
|
1047
|
+
*/
|
|
1048
|
+
readonly NEW_SESSION: 1006;
|
|
1045
1049
|
};
|
|
1046
1050
|
type WsCloseCode = Values<typeof WsCloseCode>;
|
|
1047
1051
|
|