@rpack-dev/core 0.1.20-41ad399 → 0.1.20-d85e751
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 +1 -1
- package/dist/docs.json +6216 -6267
- package/dist/rpack-core-esm.bundle.js +1 -1
- package/dist/rpack-core-umd.bundle.js +1 -1
- package/dist/rpack-core.d.ts +3 -3
- package/package.json +1 -1
package/dist/rpack-core.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ export declare class NetworkManager {
|
|
|
392
392
|
private threadId;
|
|
393
393
|
private readonly wellKnownMap;
|
|
394
394
|
private readonly wellKnownReverseMap;
|
|
395
|
-
constructor(rpack: RPack
|
|
395
|
+
constructor(rpack: RPack);
|
|
396
396
|
private mapWellKnown;
|
|
397
397
|
__initPlugin(pluginKey: string, scriptUrl: string): Promise<void>;
|
|
398
398
|
getRPack(): RPack;
|
|
@@ -943,7 +943,7 @@ export interface EnvironmentInfo {
|
|
|
943
943
|
*
|
|
944
944
|
* This only works on plugin threads, otherwise returns null.
|
|
945
945
|
*/
|
|
946
|
-
getCoreMessenger(): Messenger<
|
|
946
|
+
getCoreMessenger(): Messenger<C2PPackets, P2CPackets> | null;
|
|
947
947
|
/**
|
|
948
948
|
* Returns the Messenger interface used to
|
|
949
949
|
* communicate with the current host.
|
|
@@ -951,7 +951,7 @@ export interface EnvironmentInfo {
|
|
|
951
951
|
* If there is no host connected (no project is open),
|
|
952
952
|
* this method will return null.
|
|
953
953
|
*/
|
|
954
|
-
getHostMessenger(): Messenger<
|
|
954
|
+
getHostMessenger(): Messenger<H2CPackets, C2HPackets> | null;
|
|
955
955
|
}
|
|
956
956
|
export interface H2CHelloResponsePacket extends NoncePacket {
|
|
957
957
|
id: "host:hello_response";
|