fsl-authorization
Version:
## What id FSL ID
14 lines (13 loc) • 608 B
TypeScript
import { Transaction, VersionedTransaction } from '@solana/web3.js';
export declare enum DEVICE_TYPE {
IOS = "ios",
ANDROID = "android",
PC = "PC"
}
export declare const getUserAgent: () => DEVICE_TYPE;
declare const terminalType: DEVICE_TYPE;
declare function initModal(or?: string): void;
declare const closeModal: () => void;
declare function showModal(url: string, silent?: boolean): HTMLIFrameElement;
declare const bufferToTransaction: (data: any[], versions: any[]) => (VersionedTransaction | Transaction)[];
export { terminalType, initModal, closeModal, showModal, bufferToTransaction };