@opendatalabs/vana-sdk
Version:
A TypeScript library for interacting with Vana Network smart contracts.
12 lines (11 loc) • 672 B
TypeScript
/**
* Platform adapter types and implementations
*
* This module exports the platform-specific adapters and interfaces
* along with utilities for platform detection and adapter creation.
*/
export type { VanaCryptoAdapter, VanaPGPAdapter, VanaHttpAdapter, VanaPlatformAdapter, PlatformType, } from "./interface";
export { NodePlatformAdapter } from "./node";
export { BrowserPlatformAdapter } from "./browser";
export { detectPlatform, createPlatformAdapter, createPlatformAdapterFor, isPlatformSupported, getPlatformCapabilities, } from "./utils";
export { createNodePlatformAdapter, createBrowserPlatformAdapter, createPlatformAdapterSafe, } from "./browser-safe";