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