Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.auvy.ai/llms.txt

Use this file to discover all available pages before exploring further.

SDK compatibility

Runtime

PackageMinimum Node
@auvy-synapse/client18+
@auvy-synapse/connect-client18+
Both ship ESM (.mjs) and CJS (.cjs) builds. "type": "module" projects should use default imports; CommonJS can require() the CJS artifacts.

Peer dependencies

PackagePeersNotes
@auvy-synapse/client(none required)Standalone
@auvy-synapse/connect-client@auvy-synapse/client (optional)Required for browser transport; server subpath uses kernel only
Install both for browser Connect:
npm install @auvy-synapse/client @auvy-synapse/connect-client

Entry points

Import pathBuild outputUse
@auvy-synapse/clientdist/index.mjsSynapse product API
@auvy-synapse/connect-clientdist/index.mjsconnectFromSession, public types
@auvy-synapse/connect-client/advanceddist/advanced.mjsFull IntegrationsClient
@auvy-synapse/connect-client/serverdist/server/index.mjsS2S execute
@auvy-synapse/connect-client/server/envdist/server/env.mjsURL/secret env helpers

Transitive kernel

@auvy-synapse/kernel is a dependency (not a peer) of both published SDK packages. Types and small isomorphic helpers resolve through kernel subpaths. Do not depend on kernel directly unless you need shared schemas outside the client facades.

Browser bundlers

  • Vite / Nuxt / Next: default ESM imports work
  • Set public env vars (NEXT_PUBLIC_*, NUXT_PUBLIC_*) for baseUrl and publishable keys
  • Never embed API keys or Connect internal secrets in frontend bundles

Version alignment

Keep @auvy-synapse/client and @auvy-synapse/connect-client on the same minor release when using both in one app (e.g. 0.6.x).