@lynx-js/web-constants 0.10.0 → 0.11.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/CHANGELOG.md +32 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +2 -0
- package/dist/endpoints.d.ts +3 -5
- package/dist/endpoints.js +3 -4
- package/dist/types/Cloneable.d.ts +1 -1
- package/dist/types/LynxContextEventTarget.d.ts +13 -0
- package/dist/types/LynxContextEventTarget.js +19 -0
- package/dist/types/NapiModules.d.ts +2 -1
- package/dist/types/NativeApp.d.ts +20 -14
- package/dist/types/NativeApp.js +0 -19
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +2 -2
- package/dist/types/LynxLifecycleEvent.d.ts +0 -1
- package/dist/types/LynxLifecycleEvent.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @lynx-js/web-constants
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat: support mts event handler (1/n) ([#495](https://github.com/lynx-family/lynx-stack/pull/495))
|
|
8
|
+
|
|
9
|
+
now the main-thread:bind handler could be invoked. The params of the handler will be implemented later.
|
|
10
|
+
|
|
11
|
+
- feat: allow multi lynx-view to share bts worker ([#520](https://github.com/lynx-family/lynx-stack/pull/520))
|
|
12
|
+
|
|
13
|
+
Now we allow users to enable so-called "shared-context" feature on the Web Platform.
|
|
14
|
+
|
|
15
|
+
Similar to the same feature for Lynx iOS/Android, this feature let multi lynx cards to share one js context.
|
|
16
|
+
|
|
17
|
+
The `lynx.getSharedData` and `lynx.setSharedData` are also supported in this commit.
|
|
18
|
+
|
|
19
|
+
To enable this feature, set property `lynxGroupId` or attribute `lynx-group-id` before a lynx-view starts rendering. Those card with same context id will share one web worker for the bts scripts.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies []:
|
|
22
|
+
- @lynx-js/web-worker-rpc@0.11.0
|
|
23
|
+
|
|
24
|
+
## 0.10.1
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- feat: onNapiModulesCall function add new param: `dispatchNapiModules`, napiModulesMap val add new param: `handleDispatch`. ([#414](https://github.com/lynx-family/lynx-stack/pull/414))
|
|
29
|
+
|
|
30
|
+
Now you can use them to actively communicate to napiModules (background thread) in onNapiModulesCall (ui thread).
|
|
31
|
+
|
|
32
|
+
- Updated dependencies []:
|
|
33
|
+
- @lynx-js/web-worker-rpc@0.10.1
|
|
34
|
+
|
|
3
35
|
## 0.10.0
|
|
4
36
|
|
|
5
37
|
### Minor Changes
|
package/dist/constants.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export declare const lynxTagAttribute: "lynx-tag";
|
|
|
5
5
|
export declare const lynxDefaultDisplayLinearAttribute: "lynx-default-display-linear";
|
|
6
6
|
export declare const lynxDefaultOverflowVisibleAttribute: "lynx-default-overflow-visible";
|
|
7
7
|
export declare const __lynx_timing_flag: "__lynx_timing_flag";
|
|
8
|
-
export declare const globalMuteableVars: readonly ["registerDataProcessor"];
|
|
8
|
+
export declare const globalMuteableVars: readonly ["registerDataProcessor", "registerWorkletInternal", "lynxWorkletImpl"];
|
package/dist/constants.js
CHANGED
|
@@ -10,5 +10,7 @@ export const lynxDefaultOverflowVisibleAttribute = 'lynx-default-overflow-visibl
|
|
|
10
10
|
export const __lynx_timing_flag = '__lynx_timing_flag';
|
|
11
11
|
export const globalMuteableVars = [
|
|
12
12
|
'registerDataProcessor',
|
|
13
|
+
'registerWorkletInternal',
|
|
14
|
+
'lynxWorkletImpl',
|
|
13
15
|
];
|
|
14
16
|
//# sourceMappingURL=constants.js.map
|
package/dist/endpoints.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ExposureWorkerEvent, LynxCrossThreadEvent } from './types/EventType.js';
|
|
2
2
|
import type { Cloneable, CloneableObject } from './types/Cloneable.js';
|
|
3
3
|
import type { MainThreadStartConfigs } from './types/MainThreadStartConfigs.js';
|
|
4
|
-
import type { LynxLifecycleEvent } from './types/LynxLifecycleEvent.js';
|
|
5
4
|
import type { IdentifierType, InvokeCallbackRes } from './types/NativeApp.js';
|
|
6
5
|
import type { LynxTemplate } from './types/LynxModule.js';
|
|
7
6
|
import type { NapiModulesMap } from './types/NapiModules.js';
|
|
@@ -23,8 +22,6 @@ export declare const mainThreadStartEndpoint: import("@lynx-js/web-worker-rpc/di
|
|
|
23
22
|
export declare const updateDataEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[Cloneable, Record<string, string>], void>;
|
|
24
23
|
export declare const sendGlobalEventEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[string, Cloneable[] | undefined]>;
|
|
25
24
|
export declare const disposeEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[], void>;
|
|
26
|
-
export declare const uiThreadFpReadyEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[]>;
|
|
27
|
-
export declare const onLifecycleEventEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[LynxLifecycleEvent]>;
|
|
28
25
|
export declare const BackgroundThreadStartEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[{
|
|
29
26
|
initData: unknown;
|
|
30
27
|
globalProps: unknown;
|
|
@@ -39,7 +36,6 @@ export declare const BackgroundThreadStartEndpoint: import("@lynx-js/web-worker-
|
|
|
39
36
|
*/
|
|
40
37
|
export declare const reportErrorEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[string, unknown]>;
|
|
41
38
|
export declare const flushElementTreeEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[operations: ElementOperation[]], void>;
|
|
42
|
-
export declare const mainThreadChunkReadyEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[]>;
|
|
43
39
|
export declare const callLepusMethodEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[name: string, data: unknown], void>;
|
|
44
40
|
export declare const invokeUIMethodEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[type: IdentifierType, identifier: string, component_id: string, method: string, params: object, root_unique_id: number | undefined], InvokeCallbackRes>;
|
|
45
41
|
export declare const setNativePropsEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[type: IdentifierType, identifier: string, component_id: string, first_only: boolean, native_props: object, root_unique_id: number | undefined], void>;
|
|
@@ -54,4 +50,6 @@ export declare const triggerComponentEventEndpoint: import("@lynx-js/web-worker-
|
|
|
54
50
|
componentId: string;
|
|
55
51
|
}]>;
|
|
56
52
|
export declare const selectComponentEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsync<[componentId: string, idSelector: string, single: boolean], void>;
|
|
57
|
-
export declare const dispatchLynxViewEventEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").
|
|
53
|
+
export declare const dispatchLynxViewEventEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[eventType: string, detail: CloneableObject]>;
|
|
54
|
+
export declare const dispatchNapiModuleEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[data: Cloneable]>;
|
|
55
|
+
export declare const dispatchCoreContextEventEndpoint: import("@lynx-js/web-worker-rpc/dist/RpcEndpoint.js").RpcEndpointAsyncVoid<[eventType: string, data: Cloneable]>;
|
package/dist/endpoints.js
CHANGED
|
@@ -11,15 +11,12 @@ export const mainThreadStartEndpoint = createRpcEndpoint('mainThreadStart', fals
|
|
|
11
11
|
export const updateDataEndpoint = createRpcEndpoint('updateData', false, true);
|
|
12
12
|
export const sendGlobalEventEndpoint = createRpcEndpoint('sendGlobalEventEndpoint', false, false);
|
|
13
13
|
export const disposeEndpoint = createRpcEndpoint('dispose', false, true);
|
|
14
|
-
export const uiThreadFpReadyEndpoint = createRpcEndpoint('uiThreadFpReady', false, false);
|
|
15
|
-
export const onLifecycleEventEndpoint = createRpcEndpoint('__OnLifecycleEvent', false, false);
|
|
16
14
|
export const BackgroundThreadStartEndpoint = createRpcEndpoint('start', false, true);
|
|
17
15
|
/**
|
|
18
16
|
* Error message, info
|
|
19
17
|
*/
|
|
20
18
|
export const reportErrorEndpoint = createRpcEndpoint('reportError', false, false);
|
|
21
19
|
export const flushElementTreeEndpoint = createRpcEndpoint('flushElementTree', false, true);
|
|
22
|
-
export const mainThreadChunkReadyEndpoint = createRpcEndpoint('mainThreadChunkReady', false, false);
|
|
23
20
|
export const callLepusMethodEndpoint = createRpcEndpoint('callLepusMethod', false, true);
|
|
24
21
|
export const invokeUIMethodEndpoint = createRpcEndpoint('__invokeUIMethod', false, true);
|
|
25
22
|
export const setNativePropsEndpoint = createRpcEndpoint('__setNativeProps', false, true);
|
|
@@ -30,5 +27,7 @@ export const markTimingEndpoint = createRpcEndpoint('markTiming', false, false);
|
|
|
30
27
|
export const postTimingFlagsEndpoint = createRpcEndpoint('postTimingFlags', false, false);
|
|
31
28
|
export const triggerComponentEventEndpoint = createRpcEndpoint('__triggerComponentEvent', false, false);
|
|
32
29
|
export const selectComponentEndpoint = createRpcEndpoint('__selectComponent', false, true);
|
|
33
|
-
export const dispatchLynxViewEventEndpoint = createRpcEndpoint('dispatchLynxViewEvent', false,
|
|
30
|
+
export const dispatchLynxViewEventEndpoint = createRpcEndpoint('dispatchLynxViewEvent', false, false);
|
|
31
|
+
export const dispatchNapiModuleEndpoint = createRpcEndpoint('dispatchNapiModule', false, false);
|
|
32
|
+
export const dispatchCoreContextEventEndpoint = createRpcEndpoint('dispatchCoreContextEventEndpoint', false, false);
|
|
34
33
|
//# sourceMappingURL=endpoints.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Cloneable<T = string | number | null | undefined> = T | Record<string, T
|
|
1
|
+
export type Cloneable<T = string | number | null | undefined> = T | Record<string, T> | T[];
|
|
2
2
|
export type CloneableObject<T = string | number | null | undefined> = Record<string, T>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const DispatchEventResult: {
|
|
2
|
+
readonly NotCanceled: 0;
|
|
3
|
+
readonly CanceledByEventHandler: 1;
|
|
4
|
+
readonly CanceledByDefaultEventHandler: 2;
|
|
5
|
+
readonly CanceledBeforeDispatch: 3;
|
|
6
|
+
};
|
|
7
|
+
export interface LynxContextEventTarget {
|
|
8
|
+
onTriggerEvent?: (event: MessageEvent) => void;
|
|
9
|
+
postMessage(message: any): void;
|
|
10
|
+
dispatchEvent(event: MessageEvent): typeof DispatchEventResult[keyof typeof DispatchEventResult];
|
|
11
|
+
addEventListener(type: string, listener: (event: MessageEvent) => void): void;
|
|
12
|
+
removeEventListener(type: string, listener: (event: MessageEvent) => void): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const DispatchEventResult = {
|
|
2
|
+
// Event was not canceled by event handler or default event handler.
|
|
3
|
+
NotCanceled: 0,
|
|
4
|
+
// Event was canceled by event handler; i.e. a script handler calling
|
|
5
|
+
// preventDefault.
|
|
6
|
+
CanceledByEventHandler: 1,
|
|
7
|
+
// Event was canceled by the default event handler; i.e. executing the default
|
|
8
|
+
// action. This result should be used sparingly as it deviates from the DOM
|
|
9
|
+
// Event Dispatch model. Default event handlers really shouldn't be invoked
|
|
10
|
+
// inside of dispatch.
|
|
11
|
+
CanceledByDefaultEventHandler: 2,
|
|
12
|
+
// Event was canceled but suppressed before dispatched to event handler. This
|
|
13
|
+
// result should be used sparingly; and its usage likely indicates there is
|
|
14
|
+
// potential for a bug. Trusted events may return this code; but untrusted
|
|
15
|
+
// events likely should always execute the event handler the developer intends
|
|
16
|
+
// to execute.
|
|
17
|
+
CanceledBeforeDispatch: 3,
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=LynxContextEventTarget.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { Cloneable } from './Cloneable.js';
|
|
1
2
|
export type NapiModulesMap = Record<string, string>;
|
|
2
|
-
export type NapiModulesCall = (name: string, data: any, moduleName: string) => Promise<{
|
|
3
|
+
export type NapiModulesCall = (name: string, data: any, moduleName: string, dispatchNapiModules: (data: Cloneable) => void) => Promise<{
|
|
3
4
|
data: unknown;
|
|
4
5
|
transfer?: unknown[];
|
|
5
6
|
}> | {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CloneableObject } from './Cloneable.js';
|
|
2
|
+
import type { LynxContextEventTarget } from './LynxContextEventTarget.js';
|
|
2
3
|
import type { PerformancePipelineOptions } from './Performance.js';
|
|
3
4
|
export declare const enum IdentifierType {
|
|
4
5
|
ID_SELECTOR = 0,// css selector
|
|
@@ -22,8 +23,16 @@ export interface EventEmitter {
|
|
|
22
23
|
trigger(eventName: string, params: string | Record<any, any>): void;
|
|
23
24
|
toggle(eventName: string, ...data: unknown[]): void;
|
|
24
25
|
}
|
|
26
|
+
export type NativeLynx = {
|
|
27
|
+
__globalProps: CloneableObject;
|
|
28
|
+
getJSModule(_moduleName: string): unknown;
|
|
29
|
+
getNativeApp(): NativeApp;
|
|
30
|
+
getCoreContext(): LynxContextEventTarget;
|
|
31
|
+
getCustomSectionSync(key: string): CloneableObject;
|
|
32
|
+
getCustomSection(key: string): Promise<CloneableObject>;
|
|
33
|
+
};
|
|
25
34
|
export type NativeTTObject = {
|
|
26
|
-
lynx:
|
|
35
|
+
lynx: NativeLynx;
|
|
27
36
|
OnLifecycleEvent: (...args: unknown[]) => void;
|
|
28
37
|
publicComponentEvent(componentId: string, handlerName: string, eventData?: unknown): void;
|
|
29
38
|
publishEvent(handlerName: string, data?: unknown): void;
|
|
@@ -62,19 +71,6 @@ export interface InvokeCallbackRes {
|
|
|
62
71
|
code: ErrorCode;
|
|
63
72
|
data?: string;
|
|
64
73
|
}
|
|
65
|
-
export declare enum DispatchEventResult {
|
|
66
|
-
NotCanceled = 0,
|
|
67
|
-
CanceledByEventHandler = 1,
|
|
68
|
-
CanceledByDefaultEventHandler = 2,
|
|
69
|
-
CanceledBeforeDispatch = 3
|
|
70
|
-
}
|
|
71
|
-
export interface ContextProxy {
|
|
72
|
-
onTriggerEvent?: (event: MessageEvent) => void;
|
|
73
|
-
postMessage(message: any): void;
|
|
74
|
-
dispatchEvent(event: MessageEvent): DispatchEventResult;
|
|
75
|
-
addEventListener(type: string, listener: (event: MessageEvent) => void): void;
|
|
76
|
-
removeEventListener(type: string, listener: (event: MessageEvent) => void): void;
|
|
77
|
-
}
|
|
78
74
|
export interface NativeApp {
|
|
79
75
|
id: string;
|
|
80
76
|
callLepusMethod(name: string, data: unknown, callback: (ret: unknown) => void): void;
|
|
@@ -94,6 +90,14 @@ export interface NativeApp {
|
|
|
94
90
|
onPipelineStart: (pipeline_id: string) => void;
|
|
95
91
|
markPipelineTiming: (pipeline_id: string, timing_key: string) => void;
|
|
96
92
|
bindPipelineIdWithTimingFlag: (pipeline_id: string, timing_flag: string) => void;
|
|
93
|
+
/**
|
|
94
|
+
* Support from Lynx 3.0
|
|
95
|
+
*/
|
|
96
|
+
profileStart: (traceName: string, option?: unknown) => void;
|
|
97
|
+
/**
|
|
98
|
+
* Support from Lynx 3.0
|
|
99
|
+
*/
|
|
100
|
+
profileEnd: () => void;
|
|
97
101
|
triggerComponentEvent(id: string, params: {
|
|
98
102
|
eventDetail: CloneableObject;
|
|
99
103
|
eventOption: CloneableObject;
|
|
@@ -101,4 +105,6 @@ export interface NativeApp {
|
|
|
101
105
|
}): void;
|
|
102
106
|
selectComponent(componentId: string, idSelector: string, single: boolean, callback?: () => void): void;
|
|
103
107
|
createJSObjectDestructionObserver(callback: (...args: unknown[]) => unknown): {};
|
|
108
|
+
setSharedData<T>(dataKey: string, dataVal: T): void;
|
|
109
|
+
getSharedData<T = unknown>(dataKey: string): T | undefined;
|
|
104
110
|
}
|
package/dist/types/NativeApp.js
CHANGED
|
@@ -23,23 +23,4 @@ export var ErrorCode;
|
|
|
23
23
|
ErrorCode[ErrorCode["SELECTOR_NOT_SUPPORTED"] = 5] = "SELECTOR_NOT_SUPPORTED";
|
|
24
24
|
ErrorCode[ErrorCode["NO_UI_FOR_NODE"] = 6] = "NO_UI_FOR_NODE";
|
|
25
25
|
})(ErrorCode || (ErrorCode = {}));
|
|
26
|
-
export var DispatchEventResult;
|
|
27
|
-
(function (DispatchEventResult) {
|
|
28
|
-
// Event was not canceled by event handler or default event handler.
|
|
29
|
-
DispatchEventResult[DispatchEventResult["NotCanceled"] = 0] = "NotCanceled";
|
|
30
|
-
// Event was canceled by event handler; i.e. a script handler calling
|
|
31
|
-
// preventDefault.
|
|
32
|
-
DispatchEventResult[DispatchEventResult["CanceledByEventHandler"] = 1] = "CanceledByEventHandler";
|
|
33
|
-
// Event was canceled by the default event handler; i.e. executing the default
|
|
34
|
-
// action. This result should be used sparingly as it deviates from the DOM
|
|
35
|
-
// Event Dispatch model. Default event handlers really shouldn't be invoked
|
|
36
|
-
// inside of dispatch.
|
|
37
|
-
DispatchEventResult[DispatchEventResult["CanceledByDefaultEventHandler"] = 2] = "CanceledByDefaultEventHandler";
|
|
38
|
-
// Event was canceled but suppressed before dispatched to event handler. This
|
|
39
|
-
// result should be used sparingly; and its usage likely indicates there is
|
|
40
|
-
// potential for a bug. Trusted events may return this code; but untrusted
|
|
41
|
-
// events likely should always execute the event handler the developer intends
|
|
42
|
-
// to execute.
|
|
43
|
-
DispatchEventResult[DispatchEventResult["CanceledBeforeDispatch"] = 3] = "CanceledBeforeDispatch";
|
|
44
|
-
})(DispatchEventResult || (DispatchEventResult = {}));
|
|
45
26
|
//# sourceMappingURL=NativeApp.js.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './EventType.js';
|
|
|
3
3
|
export * from './PageConfig.js';
|
|
4
4
|
export * from './Cloneable.js';
|
|
5
5
|
export * from './LynxModule.js';
|
|
6
|
-
export * from './LynxLifecycleEvent.js';
|
|
7
6
|
export * from './ProcessDataCallback.js';
|
|
8
7
|
export * from './Performance.js';
|
|
9
8
|
export * from './MainThreadStartConfigs.js';
|
|
@@ -12,3 +11,4 @@ export * from './UpdateDataOptions.js';
|
|
|
12
11
|
export * from './NativeModules.js';
|
|
13
12
|
export * from './NapiModules.js';
|
|
14
13
|
export * from './FlushElementTreeOptions.js';
|
|
14
|
+
export * from './LynxContextEventTarget.js';
|
package/dist/types/index.js
CHANGED
|
@@ -3,7 +3,6 @@ export * from './EventType.js';
|
|
|
3
3
|
export * from './PageConfig.js';
|
|
4
4
|
export * from './Cloneable.js';
|
|
5
5
|
export * from './LynxModule.js';
|
|
6
|
-
export * from './LynxLifecycleEvent.js';
|
|
7
6
|
export * from './ProcessDataCallback.js';
|
|
8
7
|
export * from './Performance.js';
|
|
9
8
|
export * from './MainThreadStartConfigs.js';
|
|
@@ -12,4 +11,5 @@ export * from './UpdateDataOptions.js';
|
|
|
12
11
|
export * from './NativeModules.js';
|
|
13
12
|
export * from './NapiModules.js';
|
|
14
13
|
export * from './FlushElementTreeOptions.js';
|
|
14
|
+
export * from './LynxContextEventTarget.js';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-constants",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"**/*.css"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lynx-js/web-worker-rpc": "0.
|
|
26
|
+
"@lynx-js/web-worker-rpc": "0.11.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@lynx-js/offscreen-document": "0.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type LynxLifecycleEvent = [eventName: string, params: unknown];
|