UNPKG

httpay

Version:

HTTPay SDK for interacting with HTTPay smart contracts on Neutron

20 lines 1.2 kB
/** * HTTPay SDK v2 - React Integration * * This module provides React components, hooks, and utilities for integrating * with the HTTPay protocol. It follows React best practices with: * - Smaller, focused components instead of monolithic contexts * - Proper separation of concerns * - TypeScript-first approach with comprehensive type safety * - Better error handling and loading states * - Proper dependency injection for better testability */ export { HTTPaySDKProvider, useHTTPaySDK, useSDK } from "./providers/httpay-sdk-provider"; export { useRegistry, type ToastFunction } from "./hooks/use-registry"; export { useEscrow } from "./hooks/use-escrow"; export { useWalletIntegration } from "./hooks/use-wallet-integration"; export { useBlockHeight } from "./hooks/use-block-height"; export * from "./types"; export * from "./utils/client-utils"; export type { HTTPaySDKConfig, HTTPayClients, ConnectionState, LoadingStates, HTTPaySDKContextType, Tool, Escrow, ToolRegistrationForm, EscrowCreationForm, EscrowVerificationForm, UsagePostingForm, EscrowsFilter, LockFundsResult, VerificationResult, ReleaseResult, RegistrationResult, } from "./types"; //# sourceMappingURL=react.d.ts.map