Repository navigation
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:
SynapseAnchorSapbridge class with automatic Synapse endpoint resolution andSapClientinitializationSynapseAnchorSap.fromSynapseClient()factory to reuse an existingSynapseClientRPC connectioncreateSapProvider()— HMR-safe singleton for Next.js server routescreateSapContextBlueprint()— React context blueprint (no React dependency in the SDK)SapWalletinterface, 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