webext-messenger 0.22.0-2 → 0.22.0-4
Sign up to get free protection for your applications and to get access to all the features.
package/distribution/shared.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AnyTarget, Message, MessengerMeta, Sender } from "./types.js";
|
1
|
+
import { AnyTarget, KnownTarget, Message, MessengerMeta, Sender } from "./types.js";
|
2
2
|
export declare function getActionForMessage(from: Sender, message: Message): "respond" | "forward" | "ignore";
|
3
3
|
export declare function __getTabData(this: MessengerMeta): AnyTarget;
|
4
|
-
export declare function getThisTarget(): Promise<
|
4
|
+
export declare function getThisTarget(): Promise<KnownTarget>;
|
5
5
|
export declare function initPrivateApi(): void;
|
package/distribution/types.d.ts
CHANGED