@konemono/nostr-login 1.7.16 → 1.7.17
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/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/Nip46.d.ts +2 -0
- package/dist/unpkg.js +2 -2
- package/package.json +1 -1
- package/src/modules/BannerManager.ts +4 -0
- package/src/modules/Nip46.ts +1 -1
- package/src/modules/ProcessManager.ts +13 -2
- package/src/utils/index.ts +1 -1
package/dist/modules/Nip46.d.ts
CHANGED
|
@@ -24,9 +24,11 @@ export declare class IframeNostrRpc extends NostrRpc {
|
|
|
24
24
|
private peerOrigin?;
|
|
25
25
|
private iframePort?;
|
|
26
26
|
private iframeRequests;
|
|
27
|
+
private iframePingInterval?;
|
|
27
28
|
constructor(ndk: NDK, localSigner: PrivateKeySigner, iframePeerOrigin?: string);
|
|
28
29
|
subscribe(filter: NDKFilter): Promise<NDKSubscription>;
|
|
29
30
|
setWorkerIframePort(port: MessagePort): void;
|
|
31
|
+
cleanup(): void;
|
|
30
32
|
sendRequest(remotePubkey: string, method: string, params?: string[], kind?: number, cb?: (res: NDKRpcResponse) => void): Promise<NDKRpcResponse>;
|
|
31
33
|
}
|
|
32
34
|
export declare class ReadyListener {
|