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 CHANGED
@@ -358,6 +358,10 @@ var WsCloseCode = {
358
358
  * Внутренняя ошибка сервера
359
359
  */
360
360
  INTERNAL_ERROR: 1005,
361
+ /**
362
+ * Появилось новое соединение, старое закрывается
363
+ */
364
+ NEW_SESSION: 1006,
361
365
  };
362
366
 
363
367
  var NOTIFICATION_WS_PATHNAME = '/notification';
@@ -19,7 +19,7 @@ export type UserAuthResponse = {
19
19
  balance: number;
20
20
  freeBalance: number;
21
21
  accessToken: string;
22
- activeRoomId?: number;
22
+ activeRoomId: number | undefined;
23
23
  referralCount: number;
24
24
  roomIds: number[];
25
25
  isNew: boolean | undefined;
@@ -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
@@ -356,6 +356,10 @@ var WsCloseCode = {
356
356
  * Внутренняя ошибка сервера
357
357
  */
358
358
  INTERNAL_ERROR: 1005,
359
+ /**
360
+ * Появилось новое соединение, старое закрывается
361
+ */
362
+ NEW_SESSION: 1006,
359
363
  };
360
364
 
361
365
  var NOTIFICATION_WS_PATHNAME = '/notification';
@@ -19,7 +19,7 @@ export type UserAuthResponse = {
19
19
  balance: number;
20
20
  freeBalance: number;
21
21
  accessToken: string;
22
- activeRoomId?: number;
22
+ activeRoomId: number | undefined;
23
23
  referralCount: number;
24
24
  roomIds: number[];
25
25
  isNew: boolean | undefined;
@@ -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?: number;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "front-back-poker-types",
3
- "version": "5.0.185",
3
+ "version": "5.0.186",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "files": [