Skip to content

v2.0.5

Latest

Choose a tag to compare

@0xSteveTheHead 0xSteveTheHead released this 12 Mar 20:12
· 19 commits to main since this release
252747e

Release 2.0.5 — SAP Integration Bridge

Replaced the full SAP implementation (~4,000 lines, 9 files) with a thin integration bridge wrapping @oobe-protocol-labs/synapse-sap-sdk.

Added:

  • SynapseAnchorSap bridge class with automatic Synapse endpoint resolution and SapClient initialization
  • SynapseAnchorSap.fromSynapseClient() factory to reuse an existing SynapseClient RPC connection
  • createSapProvider() — HMR-safe singleton for Next.js server routes
  • createSapContextBlueprint() — React context blueprint (no React dependency in the SDK)
  • SapWallet interface, directly compatible with @solana/wallet-adapter-react (Phantom, Solflare, Backpack, WalletConnect, Ledger)
  • Optional peer dependencies: synapse-sap-sdk >=0.1.0, @coral-xyz/anchor >=0.30.0, @solana/web3.js >=1.90.0

Breaking (SAP module only):
Removed SAPInstructionBuilder, SAPDiscovery, SAPCapabilityRegistry, SAPValidator, SubnetworkBuilder, OnChainPersistenceAdapter, and all related types/errors. Migrate by installing @oobe-protocol-labs/synapse-sap-sdk and using SynapseAnchorSap as the entry point.

Full changelog: https://github.com/OOBE-PROTOCOL/synapse-client-sdk/blob/main/CHANGELOG.md