larksr_websdk 3.2.322 → 3.2.323

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.
Files changed (62) hide show
  1. package/dist/larksr-web-sdk.min.js +1 -1
  2. package/package.json +1 -1
  3. package/types/api.d.ts +2 -0
  4. package/types/larksr.d.ts +7 -1
  5. package/dist/doc/config.md +0 -158
  6. package/dist/doc/events.md +0 -139
  7. package/dist/doc/functions.md +0 -412
  8. package/dist/doc/index.md +0 -82
  9. package/dist/doc/member_variables.md +0 -385
  10. package/dist/doc/sdkid_encryption.md +0 -40
  11. package/dist/doc/update.md +0 -240
  12. package/dist/types/api.d.ts +0 -124
  13. package/dist/types/appli_params.d.ts +0 -289
  14. package/dist/types/common/cmd.d.ts +0 -28
  15. package/dist/types/common/constant.d.ts +0 -4
  16. package/dist/types/common/interface.d.ts +0 -30
  17. package/dist/types/config.d.ts +0 -59
  18. package/dist/types/event/event_base.d.ts +0 -11
  19. package/dist/types/event/iframe_poster.d.ts +0 -9
  20. package/dist/types/index.d.ts +0 -23
  21. package/dist/types/lark/Worker.d.ts +0 -0
  22. package/dist/types/lark/application.d.ts +0 -179
  23. package/dist/types/lark/custom.d.ts +0 -7
  24. package/dist/types/lark/ice_candiadate_parser.d.ts +0 -24
  25. package/dist/types/lark/lark_event_type.d.ts +0 -113
  26. package/dist/types/lark/message.d.ts +0 -20
  27. package/dist/types/lark/peer_connection.d.ts +0 -174
  28. package/dist/types/lark/recoder.d.ts +0 -55
  29. package/dist/types/lark/sdp_util.d.ts +0 -36
  30. package/dist/types/lark/test_pixel_streaming.d.ts +0 -54
  31. package/dist/types/lark/websocket_channel.d.ts +0 -56
  32. package/dist/types/lark/websocket_proxy.d.ts +0 -56
  33. package/dist/types/larksr.d.ts +0 -928
  34. package/dist/types/localization/base.d.ts +0 -8
  35. package/dist/types/localization/gesture_ins.d.ts +0 -4
  36. package/dist/types/localization/language.d.ts +0 -6
  37. package/dist/types/localization/loader.d.ts +0 -14
  38. package/dist/types/localization/message.d.ts +0 -81
  39. package/dist/types/localization/ui.d.ts +0 -58
  40. package/dist/types/operation/gamepad_handler.d.ts +0 -67
  41. package/dist/types/operation/gesture.d.ts +0 -72
  42. package/dist/types/operation/gesture_handler.d.ts +0 -53
  43. package/dist/types/operation/handler_base.d.ts +0 -8
  44. package/dist/types/operation/keyboard_handler.d.ts +0 -21
  45. package/dist/types/operation/keymap.d.ts +0 -24
  46. package/dist/types/operation/letter_keymap.d.ts +0 -8
  47. package/dist/types/operation/mouse_handler.d.ts +0 -42
  48. package/dist/types/operation/num_keymap.d.ts +0 -12
  49. package/dist/types/operation/operation.d.ts +0 -97
  50. package/dist/types/operation/pixel_streaming_input.d.ts +0 -82
  51. package/dist/types/operation/touch_handler.d.ts +0 -11
  52. package/dist/types/operation/utils.d.ts +0 -18
  53. package/dist/types/protobuf/cloudlark.d.ts +0 -7384
  54. package/dist/types/screen_state.d.ts +0 -116
  55. package/dist/types/utils/browser_type.d.ts +0 -37
  56. package/dist/types/utils/capabilities.d.ts +0 -54
  57. package/dist/types/utils/full_screen.d.ts +0 -25
  58. package/dist/types/utils/ios-inner-height.d.ts +0 -4
  59. package/dist/types/utils/lock_pointer.d.ts +0 -23
  60. package/dist/types/utils/log.d.ts +0 -25
  61. package/dist/types/utils/scale_mode.d.ts +0 -26
  62. package/dist/types/utils/unit.d.ts +0 -142
@@ -1,56 +0,0 @@
1
- import { EventBase, LocalEvent } from '../event/event_base';
2
- import * as Msg from '../protobuf/cloudlark';
3
- import { LarkSR } from '../larksr';
4
- export declare enum CHANNEL_EVENT_TYPE {
5
- OPEN = 0,
6
- CLOSE = 1,
7
- ERROR = 2,
8
- CLIENT_MSG = 3
9
- }
10
- export interface ChannelEvent extends LocalEvent<CHANNEL_EVENT_TYPE> {
11
- data?: Msg.CloudLark.ToClientMessage;
12
- }
13
- export interface WebscocketConfig {
14
- serverAddress: string;
15
- ip: string;
16
- port: string;
17
- path?: string;
18
- }
19
- export default class WebsocketChannel extends EventBase<CHANNEL_EVENT_TYPE, ChannelEvent> {
20
- private get wsServer();
21
- private config;
22
- private connection;
23
- private keepAliveTimeout;
24
- private larksr;
25
- constructor(config: WebscocketConfig, larksr: LarkSR);
26
- /**
27
- *
28
- */
29
- connect(): Promise<this>;
30
- /**
31
- *
32
- */
33
- close(): Promise<void>;
34
- sendMsg(msg: Msg.CloudLark.ToServerMessage): void;
35
- sendBuffer(data: ArrayBuffer): void;
36
- isOpen(): boolean;
37
- private startKeepAlive;
38
- private stopKeepAlive;
39
- /**
40
- *
41
- */
42
- private onMessage;
43
- private onOpen;
44
- /**
45
- *
46
- * @param e
47
- */
48
- private onWSError;
49
- /**
50
- *
51
- * @param e
52
- */
53
- private onWSClose;
54
- private $emit;
55
- private createEvent;
56
- }
@@ -1,56 +0,0 @@
1
- import { EventBase, LocalEvent } from '../event/event_base';
2
- import * as Msg from '../protobuf/cloudlark';
3
- import { LarkSR } from '../larksr';
4
- export declare enum PROXY_EVENT_TYPE {
5
- OPEN = 0,
6
- CLOSE = 1,
7
- ERROR = 2,
8
- CLIENT_MSG = 3
9
- }
10
- export interface ProxyEvent extends LocalEvent<PROXY_EVENT_TYPE> {
11
- data?: Msg.CloudLark.ToClientMessage;
12
- }
13
- export interface ProxyConfig {
14
- serverAddress: string;
15
- appServer: string;
16
- appPort: string;
17
- }
18
- export declare const PROXY_PATH = "websocket";
19
- export default class WebsocketProxy extends EventBase<PROXY_EVENT_TYPE, ProxyEvent> {
20
- private get wsServer();
21
- private config;
22
- private connection;
23
- private keepAliveTimeout;
24
- private larksr;
25
- constructor(config: ProxyConfig, larksr: LarkSR);
26
- /**
27
- *
28
- */
29
- connect(): Promise<this>;
30
- /**
31
- *
32
- */
33
- close(): Promise<void>;
34
- isOpen(): boolean;
35
- sendMsg(msg: Msg.CloudLark.ToServerMessage): void;
36
- sendBuffer(data: ArrayBuffer): void;
37
- private startKeepAlive;
38
- private stopKeepAlive;
39
- /**
40
- *
41
- */
42
- private onMessage;
43
- private onOpen;
44
- /**
45
- *
46
- * @param e
47
- */
48
- private onWSError;
49
- /**
50
- *
51
- * @param e
52
- */
53
- private onWSClose;
54
- private $emit;
55
- private createEvent;
56
- }