larksr_websdk 3.2.16 → 3.2.33
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/README.md +19 -21
- package/dist/doc/config.md +1 -0
- package/dist/doc/index.md +22 -75
- package/dist/doc/sdkid_encryption.md +40 -0
- package/dist/doc/update.md +54 -0
- package/dist/larksr-web-sdk.min.js +1 -15
- package/dist/types/api.d.ts +1 -0
- package/dist/types/appli_params.d.ts +2 -2
- package/dist/types/index.d.ts +1 -4
- package/dist/types/larksr.d.ts +44 -48
- package/package.json +1 -1
- package/types/api.d.ts +1 -0
- package/types/appli_params.d.ts +2 -2
- package/types/index.d.ts +1 -4
- package/types/lark/application.d.ts +15 -1
- package/types/lark/lark_event_type.d.ts +3 -2
- package/types/lark/peer_connection.d.ts +4 -1
- package/types/lark/recoder.d.ts +55 -0
- package/types/larksr.d.ts +44 -48
- package/types/operation/keyboard_handler.d.ts +3 -0
- package/types/operation/mouse_handler.d.ts +2 -0
- package/types/operation/operation.d.ts +0 -1
- package/types/protobuf/cloudlark.d.ts +806 -2
- package/types/utils/capabilities.d.ts +4 -0
- package/types/utils/log.d.ts +1 -1
- package/dist/types/sdk_auth.d.ts +0 -11
- package/types/sdk_auth.d.ts +0 -11
|
@@ -27,6 +27,10 @@ declare class Capabilities {
|
|
|
27
27
|
static get isMobile(): boolean;
|
|
28
28
|
static $isWeChat: boolean;
|
|
29
29
|
static get isWeChat(): boolean;
|
|
30
|
+
static $isQQ: boolean;
|
|
31
|
+
static get isQQ(): boolean;
|
|
32
|
+
static $isHuawei: boolean;
|
|
33
|
+
static get isHuawei(): boolean;
|
|
30
34
|
/**
|
|
31
35
|
* @private
|
|
32
36
|
*/
|
package/types/utils/log.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare class Level {
|
|
|
3
3
|
static WARN: string;
|
|
4
4
|
static ERR: string;
|
|
5
5
|
static TRACE: string;
|
|
6
|
-
static getLevelIndex(level: string):
|
|
6
|
+
static getLevelIndex(level: string): 0 | 2 | 1 | 3 | 4;
|
|
7
7
|
}
|
|
8
8
|
export interface LogObserver {
|
|
9
9
|
onLog(msg: string): void;
|
package/dist/types/sdk_auth.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class SDKAuth {
|
|
2
|
-
get isSuccess(): boolean;
|
|
3
|
-
private _isSuccess;
|
|
4
|
-
get error(): any;
|
|
5
|
-
private _error;
|
|
6
|
-
constructor();
|
|
7
|
-
auth(id: string): Promise<void>;
|
|
8
|
-
signature(key: string, secret: string, timestamp: string): string;
|
|
9
|
-
check(id: string): boolean;
|
|
10
|
-
save(id: string, expire: string): void;
|
|
11
|
-
}
|
package/types/sdk_auth.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class SDKAuth {
|
|
2
|
-
get isSuccess(): boolean;
|
|
3
|
-
private _isSuccess;
|
|
4
|
-
get error(): any;
|
|
5
|
-
private _error;
|
|
6
|
-
constructor();
|
|
7
|
-
auth(id: string): Promise<void>;
|
|
8
|
-
signature(key: string, secret: string, timestamp: string): string;
|
|
9
|
-
check(id: string): boolean;
|
|
10
|
-
save(id: string, expire: string): void;
|
|
11
|
-
}
|