@perawallet/connect
Version:
JavaScript SDK for integrating Pera Wallet to web applications.
13 lines (12 loc) • 550 B
TypeScript
export declare const WAIT_FOR_TAB_TRY_INTERVAL = 700;
export declare const WAIT_FOR_TAB_MAX_TRY_COUNT = 50;
declare function getMetaInfo(): {
title: string;
description: string;
url: string;
favicon: string;
};
declare function getFavicons(): string[];
declare function waitForElementCreatedAtShadowDOM(element: Element, className: string): Promise<Element>;
declare function waitForTabOpening(url: string): Promise<Window | null>;
export { getMetaInfo, getFavicons, waitForElementCreatedAtShadowDOM, waitForTabOpening };