{"version":3,"sources":["../src/session-relay.ts"],"sourcesContent":["/**\n * Session Relay service integration for Vana app flows.\n *\n * @remarks\n * Session Relay coordinates the handoff between a builder app and the Vana app\n * that completes user consent. This entry point is intentionally separate from\n * `protocol/*`: it is a Vana-operated service integration, like Account or\n * Storage integrations, not a canonical on-chain protocol primitive.\n *\n * @example\n * ```typescript\n * import { createSessionRelayBuilderClient } from \"@opendatalabs/vana-sdk/session-relay\";\n *\n * const relay = createSessionRelayBuilderClient({\n *   granteeAddress: appAddress,\n *   signMessage,\n * });\n * ```\n *\n * @category Integrations\n * @module session-relay\n */\n\nexport {\n  SESSION_RELAY_DEV_URL,\n  SESSION_RELAY_PRODUCTION_URL,\n  getSessionRelayUrl,\n} from \"./session-relay/endpoints\";\nexport {\n  SessionRelayError,\n  type SessionRelayErrorDetails,\n} from \"./session-relay/errors\";\nexport {\n  computeSessionRelayBodyHash,\n  buildSessionRelayWeb3SignedHeader,\n} from \"./session-relay/signing\";\nexport {\n  createSessionRelayClient,\n  createSessionRelayBuilderClient,\n} from \"./session-relay/client\";\nexport type {\n  SessionRelayEnvironment,\n  SessionRelayFetch,\n  SessionRelayClientOptions,\n  SessionRelayBuilderClientOptions,\n  SessionRelayInitParams,\n  SessionRelayInitResult,\n  SessionRelayGrantPayload,\n  SessionRelayPollResult,\n  SessionRelayClaimRequest,\n  SessionRelayClaimResponse,\n  SessionRelayApproveRequest,\n  SessionRelayDenyRequest,\n  SessionRelayClient,\n  SessionRelayBuilderClient,\n} from \"./session-relay/types\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuBA,uBAIO;AACP,oBAGO;AACP,qBAGO;AACP,oBAGO;","names":[]}