@opendatalabs/vana-sdk
Version:
A TypeScript library for interacting with Vana Network smart contracts.
1 lines • 1.08 kB
Source Map (JSON)
{"version":3,"sources":["../../src/platform/index.ts"],"sourcesContent":["/**\n * Platform adapter types and implementations\n *\n * This module exports the platform-specific adapters and interfaces\n * along with utilities for platform detection and adapter creation.\n */\n\n// Export types\nexport type {\n VanaCryptoAdapter,\n VanaPGPAdapter,\n VanaHttpAdapter,\n VanaPlatformAdapter,\n PlatformType,\n} from \"./interface\";\n\n// Export implementations\nexport { NodePlatformAdapter } from \"./node\";\nexport { BrowserPlatformAdapter } from \"./browser\";\n\n// Export utilities\nexport {\n detectPlatform,\n createPlatformAdapter,\n createPlatformAdapterFor,\n isPlatformSupported,\n getPlatformCapabilities,\n} from \"./utils\";\n\n// Export browser-safe utilities\nexport {\n createNodePlatformAdapter,\n createBrowserPlatformAdapter,\n createPlatformAdapterSafe,\n} from \"./browser-safe\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBA,kBAAoC;AACpC,qBAAuC;AAGvC,mBAMO;AAGP,0BAIO;","names":[]}