@shimotsuki/core 1.0.45 → 2.0.0
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.d.ts +2 -3
- package/dist/index.js +1 -2842
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import EventEmitter, { EventEmitter as EventEmitter$1 } from 'eventemitter3';
|
|
|
4
4
|
import * as crypto_es_lib_cipher_core from 'crypto-es/lib/cipher-core';
|
|
5
5
|
import { DescMessage, MessageShape } from '@bufbuild/protobuf';
|
|
6
6
|
import { ClientOption } from 'pitayaclient';
|
|
7
|
-
import { SocialGameClientOption, AllEventResponsePairs,
|
|
7
|
+
import { SocialGameClient, SocialGameClientOption, AllEventResponsePairs, AudienceOptionsJson } from 'sgc';
|
|
8
8
|
import { ReflectMessage } from '@bufbuild/protobuf/reflect';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -771,8 +771,6 @@ declare class CoreUtil extends BaseManager {
|
|
|
771
771
|
* @date 2024-09-12 11:47:51
|
|
772
772
|
*/
|
|
773
773
|
declare class WrapperSocialGameClient extends SocialGameClient {
|
|
774
|
-
/**名称 */
|
|
775
|
-
name: string;
|
|
776
774
|
/**日志黑名单 */
|
|
777
775
|
protected logBlackList: string[];
|
|
778
776
|
ignore: (route: string) => boolean;
|
|
@@ -785,6 +783,7 @@ declare class SocialGameClientManager extends BaseManager {
|
|
|
785
783
|
private managedClients;
|
|
786
784
|
private isGlobalOnline;
|
|
787
785
|
private isInBackground;
|
|
786
|
+
get activeClients(): WrapperSocialGameClient[];
|
|
788
787
|
constructor(cat: Manager);
|
|
789
788
|
/**
|
|
790
789
|
* 创建并注册WebSocket客户端
|