UNPKG

@opendatalabs/vana-sdk

Version:

A TypeScript library for interacting with Vana Network smart contracts.

23 lines (22 loc) 798 B
/** * Browser-only exports for platform adapters * * This file provides browser-only exports that completely avoid Node.js imports * when bundling for browser environments. This is used by the browser entry point. */ import type { VanaPlatformAdapter } from "./interface"; /** * Creates a BrowserPlatformAdapter instance * * @returns A BrowserPlatformAdapter instance */ export declare function createBrowserPlatformAdapter(): VanaPlatformAdapter; /** * Browser-only platform adapter factory * This version does not include Node.js imports at all * * @returns A BrowserPlatformAdapter instance */ export declare function createPlatformAdapterSafe(): VanaPlatformAdapter; export type { VanaPlatformAdapter } from "./interface"; export type { BrowserPlatformAdapter } from "./browser";