@oobe-protocol-labs/synapse-client-sdk 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +117 -0
- package/dist/cjs/ai/gateway/index.d.ts +86 -5
- package/dist/cjs/ai/gateway/index.d.ts.map +1 -1
- package/dist/cjs/ai/gateway/index.js +278 -40
- package/dist/cjs/ai/gateway/index.js.map +1 -1
- package/dist/cjs/ai/gateway/registry.d.ts +223 -0
- package/dist/cjs/ai/gateway/registry.d.ts.map +1 -0
- package/dist/cjs/ai/gateway/registry.js +290 -0
- package/dist/cjs/ai/gateway/registry.js.map +1 -0
- package/dist/cjs/ai/gateway/types.d.ts +107 -1
- package/dist/cjs/ai/gateway/types.d.ts.map +1 -1
- package/dist/cjs/ai/gateway/x402/index.d.ts +2 -4
- package/dist/cjs/ai/gateway/x402/index.d.ts.map +1 -1
- package/dist/cjs/ai/gateway/x402/index.js +2 -1
- package/dist/cjs/ai/gateway/x402/index.js.map +1 -1
- package/dist/cjs/ai/gateway/x402/registry.d.ts +131 -1
- package/dist/cjs/ai/gateway/x402/registry.d.ts.map +1 -1
- package/dist/cjs/ai/gateway/x402/registry.js +229 -1
- package/dist/cjs/ai/gateway/x402/registry.js.map +1 -1
- package/dist/cjs/ai/index.d.ts +2 -1
- package/dist/cjs/ai/index.d.ts.map +1 -1
- package/dist/cjs/ai/index.js +21 -2
- package/dist/cjs/ai/index.js.map +1 -1
- package/dist/cjs/ai/persistence/helpers.d.ts +83 -0
- package/dist/cjs/ai/persistence/helpers.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/helpers.js +193 -0
- package/dist/cjs/ai/persistence/helpers.js.map +1 -0
- package/dist/cjs/ai/persistence/index.d.ts +91 -0
- package/dist/cjs/ai/persistence/index.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/index.js +109 -0
- package/dist/cjs/ai/persistence/index.js.map +1 -0
- package/dist/cjs/ai/persistence/memory.d.ts +71 -0
- package/dist/cjs/ai/persistence/memory.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/memory.js +192 -0
- package/dist/cjs/ai/persistence/memory.js.map +1 -0
- package/dist/cjs/ai/persistence/postgresql.d.ts +119 -0
- package/dist/cjs/ai/persistence/postgresql.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/postgresql.js +310 -0
- package/dist/cjs/ai/persistence/postgresql.js.map +1 -0
- package/dist/cjs/ai/persistence/redis.d.ts +84 -0
- package/dist/cjs/ai/persistence/redis.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/redis.js +241 -0
- package/dist/cjs/ai/persistence/redis.js.map +1 -0
- package/dist/cjs/ai/persistence/types.d.ts +267 -0
- package/dist/cjs/ai/persistence/types.d.ts.map +1 -0
- package/dist/cjs/ai/persistence/types.js +40 -0
- package/dist/cjs/ai/persistence/types.js.map +1 -0
- package/dist/cjs/ai/tools/protocols/metaplex/tools.d.ts.map +1 -1
- package/dist/cjs/ai/tools/protocols/metaplex/tools.js +13 -19
- package/dist/cjs/ai/tools/protocols/metaplex/tools.js.map +1 -1
- package/dist/cjs/core/client.d.ts +16 -0
- package/dist/cjs/core/client.d.ts.map +1 -1
- package/dist/cjs/core/client.js +18 -0
- package/dist/cjs/core/client.js.map +1 -1
- package/dist/cjs/core/transport.d.ts +1 -1
- package/dist/cjs/core/transport.d.ts.map +1 -1
- package/dist/cjs/core/transport.js.map +1 -1
- package/dist/cjs/core/types.d.ts +5 -1
- package/dist/cjs/core/types.d.ts.map +1 -1
- package/dist/cjs/das/methods/get-asset-batch.js +1 -1
- package/dist/cjs/das/methods/get-asset-batch.js.map +1 -1
- package/dist/cjs/das/methods/get-asset-proof-batch.js +1 -1
- package/dist/cjs/das/methods/get-asset-proof-batch.js.map +1 -1
- package/dist/cjs/das/methods/get-asset-proof.js +1 -1
- package/dist/cjs/das/methods/get-asset-proof.js.map +1 -1
- package/dist/cjs/das/methods/get-asset.js +1 -1
- package/dist/cjs/das/methods/get-asset.js.map +1 -1
- package/dist/cjs/das/methods/get-assets-by-authority.js +1 -1
- package/dist/cjs/das/methods/get-assets-by-authority.js.map +1 -1
- package/dist/cjs/das/methods/get-assets-by-creator.js +1 -1
- package/dist/cjs/das/methods/get-assets-by-creator.js.map +1 -1
- package/dist/cjs/das/methods/get-assets-by-group.js +1 -1
- package/dist/cjs/das/methods/get-assets-by-group.js.map +1 -1
- package/dist/cjs/das/methods/get-assets-by-owner.js +1 -1
- package/dist/cjs/das/methods/get-assets-by-owner.js.map +1 -1
- package/dist/cjs/das/methods/get-signatures-for-asset.js +1 -1
- package/dist/cjs/das/methods/get-signatures-for-asset.js.map +1 -1
- package/dist/cjs/das/methods/get-token-accounts.js +1 -1
- package/dist/cjs/das/methods/get-token-accounts.js.map +1 -1
- package/dist/cjs/das/methods/search-assets.js +1 -1
- package/dist/cjs/das/methods/search-assets.js.map +1 -1
- package/dist/cjs/next/index.d.ts +141 -0
- package/dist/cjs/next/index.d.ts.map +1 -0
- package/dist/cjs/next/index.js +177 -0
- package/dist/cjs/next/index.js.map +1 -0
- package/dist/cjs/utils/helpers.d.ts +79 -1
- package/dist/cjs/utils/helpers.d.ts.map +1 -1
- package/dist/cjs/utils/helpers.js +109 -0
- package/dist/cjs/utils/helpers.js.map +1 -1
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/AccountReader.html +18 -18
- package/dist/docs/classes/AccountsClient.html +10 -10
- package/dist/docs/classes/AsyncProviderError.html +4 -4
- package/dist/docs/classes/CircularDependencyError.html +4 -4
- package/dist/docs/classes/DasClient.html +13 -13
- package/dist/docs/classes/GeyserParser.html +17 -17
- package/dist/docs/classes/GrpcTransport.html +6 -6
- package/dist/docs/classes/HttpTransport.html +5 -5
- package/dist/docs/classes/InstructionWriter.html +11 -11
- package/dist/docs/classes/MemoryGuard.html +9 -9
- package/dist/docs/classes/NetworkError.html +5 -5
- package/dist/docs/classes/RefRegistry.html +11 -11
- package/dist/docs/classes/RefReleasedError.html +4 -4
- package/dist/docs/classes/RpcMethodNotFoundError.html +4 -4
- package/dist/docs/classes/ServiceNotFoundError.html +4 -4
- package/dist/docs/classes/ServiceRef.html +13 -13
- package/dist/docs/classes/SolanaRpc.html +55 -55
- package/dist/docs/classes/SynapseClient.html +25 -15
- package/dist/docs/classes/SynapseContext.html +27 -27
- package/dist/docs/classes/SynapseError.html +4 -4
- package/dist/docs/classes/TimeoutError.html +4 -4
- package/dist/docs/classes/UpstreamError.html +6 -6
- package/dist/docs/classes/WeakServiceRef.html +4 -4
- package/dist/docs/classes/WsClient.html +10 -10
- package/dist/docs/enums/SynapseNetwork.html +2 -2
- package/dist/docs/enums/SynapseRegion.html +2 -2
- package/dist/docs/enums/TokenExtensionType.html +2 -2
- package/dist/docs/functions/Epoch-1.html +1 -1
- package/dist/docs/functions/Lamports-2.html +1 -1
- package/dist/docs/functions/Pubkey-1.html +1 -1
- package/dist/docs/functions/Sig.html +1 -1
- package/dist/docs/functions/Slot-1.html +1 -1
- package/dist/docs/functions/UnixTs.html +1 -1
- package/dist/docs/functions/autoSelectRegion.html +1 -1
- package/dist/docs/functions/autoWire.html +1 -1
- package/dist/docs/functions/base58Encode.html +1 -1
- package/dist/docs/functions/base64ToBytes.html +1 -1
- package/dist/docs/functions/bigIntReplacer.html +6 -0
- package/dist/docs/functions/chunk.html +1 -1
- package/dist/docs/functions/computeBalanceChanges.html +1 -1
- package/dist/docs/functions/computeTokenBalanceChanges.html +1 -1
- package/dist/docs/functions/createBareContext.html +1 -1
- package/dist/docs/functions/createBinding.html +1 -1
- package/dist/docs/functions/createBoundHook.html +1 -1
- package/dist/docs/functions/createReactAdapter.html +1 -1
- package/dist/docs/functions/createRefHook.html +1 -1
- package/dist/docs/functions/createServerMiddleware.html +1 -1
- package/dist/docs/functions/createServiceHook.html +1 -1
- package/dist/docs/functions/createSingleton.html +15 -0
- package/dist/docs/functions/createSynapse.html +1 -1
- package/dist/docs/functions/createSynapseContext.html +1 -1
- package/dist/docs/functions/createToken.html +1 -1
- package/dist/docs/functions/decodeBase58.html +1 -1
- package/dist/docs/functions/decodeLookupTable.html +1 -1
- package/dist/docs/functions/decodeMint.html +1 -1
- package/dist/docs/functions/decodeMultisig.html +1 -1
- package/dist/docs/functions/decodeNonceAccount.html +1 -1
- package/dist/docs/functions/decodeStakeAccount.html +1 -1
- package/dist/docs/functions/decodeToken2022Account.html +1 -1
- package/dist/docs/functions/decodeToken2022Mint.html +1 -1
- package/dist/docs/functions/decodeTokenAccount.html +1 -1
- package/dist/docs/functions/encodeBase58.html +1 -1
- package/dist/docs/functions/fetchLookupTable.html +1 -1
- package/dist/docs/functions/fetchMint.html +1 -1
- package/dist/docs/functions/fetchNonceAccount.html +1 -1
- package/dist/docs/functions/fetchStakeAccount.html +1 -1
- package/dist/docs/functions/fetchTokenAccount.html +1 -1
- package/dist/docs/functions/fetchTokenAccountsByOwner.html +1 -1
- package/dist/docs/functions/fromKitAddress.html +1 -1
- package/dist/docs/functions/getAccountInfo.html +1 -1
- package/dist/docs/functions/getAsset.html +1 -1
- package/dist/docs/functions/getAssetBatch.html +1 -1
- package/dist/docs/functions/getAssetProof.html +1 -1
- package/dist/docs/functions/getAssetProofBatch.html +1 -1
- package/dist/docs/functions/getAssetsByAuthority.html +1 -1
- package/dist/docs/functions/getAssetsByCreator.html +1 -1
- package/dist/docs/functions/getAssetsByGroup.html +1 -1
- package/dist/docs/functions/getAssetsByOwner.html +1 -1
- package/dist/docs/functions/getBalance.html +1 -1
- package/dist/docs/functions/getBlock.html +1 -1
- package/dist/docs/functions/getBlockCommitment.html +1 -1
- package/dist/docs/functions/getBlockHeight.html +1 -1
- package/dist/docs/functions/getBlockProduction.html +1 -1
- package/dist/docs/functions/getBlockTime.html +1 -1
- package/dist/docs/functions/getBlocks.html +1 -1
- package/dist/docs/functions/getBlocksWithLimit.html +1 -1
- package/dist/docs/functions/getClusterNodes.html +1 -1
- package/dist/docs/functions/getContext.html +1 -1
- package/dist/docs/functions/getDecodedAccount.html +1 -1
- package/dist/docs/functions/getDecodedAccounts.html +1 -1
- package/dist/docs/functions/getEnvironment.html +1 -1
- package/dist/docs/functions/getEpochInfo.html +1 -1
- package/dist/docs/functions/getEpochSchedule.html +1 -1
- package/dist/docs/functions/getFeeForMessage.html +1 -1
- package/dist/docs/functions/getFirstAvailableBlock.html +1 -1
- package/dist/docs/functions/getGenesisHash.html +1 -1
- package/dist/docs/functions/getHealth.html +1 -1
- package/dist/docs/functions/getHighestSnapshotSlot.html +1 -1
- package/dist/docs/functions/getIdentity.html +1 -1
- package/dist/docs/functions/getInflationGovernor.html +1 -1
- package/dist/docs/functions/getInflationRate.html +1 -1
- package/dist/docs/functions/getInflationReward.html +1 -1
- package/dist/docs/functions/getLargestAccounts.html +1 -1
- package/dist/docs/functions/getLatestBlockhash.html +1 -1
- package/dist/docs/functions/getLeaderSchedule.html +1 -1
- package/dist/docs/functions/getMaxRetransmitSlot.html +1 -1
- package/dist/docs/functions/getMaxShredInsertSlot.html +1 -1
- package/dist/docs/functions/getMinimumBalanceForRentExemption.html +1 -1
- package/dist/docs/functions/getMultipleAccounts.html +1 -1
- package/dist/docs/functions/getProgramAccounts.html +1 -1
- package/dist/docs/functions/getProgramCategory.html +1 -1
- package/dist/docs/functions/getRecentPerformanceSamples.html +1 -1
- package/dist/docs/functions/getRecentPrioritizationFees.html +1 -1
- package/dist/docs/functions/getSignatureStatuses.html +1 -1
- package/dist/docs/functions/getSignaturesForAddress.html +1 -1
- package/dist/docs/functions/getSignaturesForAsset.html +1 -1
- package/dist/docs/functions/getSlot.html +1 -1
- package/dist/docs/functions/getSlotLeader.html +1 -1
- package/dist/docs/functions/getSlotLeaders.html +1 -1
- package/dist/docs/functions/getStakeActivation.html +1 -1
- package/dist/docs/functions/getStakeMinimumDelegation.html +1 -1
- package/dist/docs/functions/getSupply.html +1 -1
- package/dist/docs/functions/getTokenAccountBalance.html +1 -1
- package/dist/docs/functions/getTokenAccounts.html +1 -1
- package/dist/docs/functions/getTokenAccountsByDelegate.html +1 -1
- package/dist/docs/functions/getTokenAccountsByOwner.html +1 -1
- package/dist/docs/functions/getTokenLargestAccounts.html +1 -1
- package/dist/docs/functions/getTokenSupply.html +1 -1
- package/dist/docs/functions/getTransaction.html +1 -1
- package/dist/docs/functions/getTransactionCount.html +1 -1
- package/dist/docs/functions/getVersion.html +1 -1
- package/dist/docs/functions/getVoteAccounts.html +1 -1
- package/dist/docs/functions/isBlockhashValid.html +1 -1
- package/dist/docs/functions/isBrowser.html +1 -1
- package/dist/docs/functions/isDisposable.html +1 -1
- package/dist/docs/functions/isProgramInCategory.html +1 -1
- package/dist/docs/functions/isServer.html +1 -1
- package/dist/docs/functions/isValidPubkey.html +1 -1
- package/dist/docs/functions/isValidSignature.html +1 -1
- package/dist/docs/functions/lamportsToSol.html +1 -1
- package/dist/docs/functions/listEndpoints.html +1 -1
- package/dist/docs/functions/listNetworks.html +1 -1
- package/dist/docs/functions/listRegions.html +1 -1
- package/dist/docs/functions/minimumLedgerSlot.html +1 -1
- package/dist/docs/functions/parseAccountUpdate.html +1 -1
- package/dist/docs/functions/parseBlockMeta.html +1 -1
- package/dist/docs/functions/parseEntry.html +1 -1
- package/dist/docs/functions/parseGeyserUpdate.html +1 -1
- package/dist/docs/functions/parseSlotUpdate.html +1 -1
- package/dist/docs/functions/parseTimestamp.html +1 -1
- package/dist/docs/functions/parseTransaction.html +1 -1
- package/dist/docs/functions/probeLatency.html +1 -1
- package/dist/docs/functions/rawBufferToBase58.html +1 -1
- package/dist/docs/functions/rawBufferToBase64.html +1 -1
- package/dist/docs/functions/rawBufferToBytes.html +1 -1
- package/dist/docs/functions/rawBufferToHex.html +1 -1
- package/dist/docs/functions/readonly.html +1 -1
- package/dist/docs/functions/readonlySigner.html +1 -1
- package/dist/docs/functions/requestAirdrop.html +1 -1
- package/dist/docs/functions/resolveEndpoint.html +1 -1
- package/dist/docs/functions/resolveProgram.html +1 -1
- package/dist/docs/functions/resolveProgramBatch.html +1 -1
- package/dist/docs/functions/retry.html +1 -1
- package/dist/docs/functions/searchAssets.html +1 -1
- package/dist/docs/functions/sendTransaction.html +1 -1
- package/dist/docs/functions/setGlobalContext.html +1 -1
- package/dist/docs/functions/simulateTransaction.html +1 -1
- package/dist/docs/functions/sleep.html +1 -1
- package/dist/docs/functions/solToLamports.html +1 -1
- package/dist/docs/functions/toClientConfig.html +1 -1
- package/dist/docs/functions/toJsonSafe.html +13 -0
- package/dist/docs/functions/toKitAddress.html +1 -1
- package/dist/docs/functions/toKitInstruction.html +1 -1
- package/dist/docs/functions/toKitLamports.html +1 -1
- package/dist/docs/functions/toKitSignatureString.html +1 -1
- package/dist/docs/functions/tryGetContext.html +1 -1
- package/dist/docs/functions/tryUseService.html +1 -1
- package/dist/docs/functions/useBoundServices.html +1 -1
- package/dist/docs/functions/useService.html +1 -1
- package/dist/docs/functions/useSharedRef.html +1 -1
- package/dist/docs/functions/withRef.html +1 -1
- package/dist/docs/functions/withRefAsync.html +1 -1
- package/dist/docs/functions/writable.html +1 -1
- package/dist/docs/functions/writableSigner.html +1 -1
- package/dist/docs/interfaces/AccountInfo.html +7 -7
- package/dist/docs/interfaces/AccountMeta.html +4 -4
- package/dist/docs/interfaces/AccountNotification.html +2 -2
- package/dist/docs/interfaces/AccountSubParams.html +2 -2
- package/dist/docs/interfaces/AddMemoParams.html +5 -5
- package/dist/docs/interfaces/AdvanceNonceParams.html +3 -3
- package/dist/docs/interfaces/AliasProvider.html +2 -2
- package/dist/docs/interfaces/AllocateParams.html +3 -3
- package/dist/docs/interfaces/ApproveCheckedParams.html +9 -9
- package/dist/docs/interfaces/ApproveParams.html +7 -7
- package/dist/docs/interfaces/AssetSignatureInfo.html +2 -2
- package/dist/docs/interfaces/AssetSignaturesPage.html +2 -2
- package/dist/docs/interfaces/AssignParams.html +3 -3
- package/dist/docs/interfaces/AsyncFactoryProvider.html +2 -2
- package/dist/docs/interfaces/AuthorizeNonceParams.html +4 -4
- package/dist/docs/interfaces/BalanceChange.html +6 -6
- package/dist/docs/interfaces/BlockProduction.html +3 -3
- package/dist/docs/interfaces/BlockResult.html +2 -2
- package/dist/docs/interfaces/BlockReward.html +2 -2
- package/dist/docs/interfaces/BlockhashResult.html +2 -2
- package/dist/docs/interfaces/BurnCheckedParams.html +8 -8
- package/dist/docs/interfaces/BurnParams.html +7 -7
- package/dist/docs/interfaces/CallOptions.html +6 -6
- package/dist/docs/interfaces/ClassProvider.html +2 -2
- package/dist/docs/interfaces/CloseAccountParams.html +6 -6
- package/dist/docs/interfaces/ConfirmedTransaction.html +6 -6
- package/dist/docs/interfaces/ContactInfo.html +2 -2
- package/dist/docs/interfaces/ContextAdapter.html +5 -5
- package/dist/docs/interfaces/ContextEvents.html +6 -6
- package/dist/docs/interfaces/ContextModule.html +3 -3
- package/dist/docs/interfaces/CreateATAParams.html +6 -6
- package/dist/docs/interfaces/CreateAccountParams.html +6 -6
- package/dist/docs/interfaces/CreateAccountWithSeedParams.html +8 -8
- package/dist/docs/interfaces/CreateSynapseContextOpts.html +4 -4
- package/dist/docs/interfaces/DasAsset.html +2 -2
- package/dist/docs/interfaces/DasAssetProof.html +2 -2
- package/dist/docs/interfaces/DasAuthority.html +2 -2
- package/dist/docs/interfaces/DasCompression.html +2 -2
- package/dist/docs/interfaces/DasContent.html +2 -2
- package/dist/docs/interfaces/DasCreator.html +2 -2
- package/dist/docs/interfaces/DasFile.html +2 -2
- package/dist/docs/interfaces/DasGrouping.html +2 -2
- package/dist/docs/interfaces/DasOpts.html +2 -2
- package/dist/docs/interfaces/DasOwnership.html +2 -2
- package/dist/docs/interfaces/DasPage.html +2 -2
- package/dist/docs/interfaces/DasRoyalty.html +2 -2
- package/dist/docs/interfaces/DasSearchParams.html +2 -2
- package/dist/docs/interfaces/DasSupply.html +2 -2
- package/dist/docs/interfaces/DataSlice.html +3 -3
- package/dist/docs/interfaces/DecodedAccountResult.html +4 -4
- package/dist/docs/interfaces/DecodedLookupTable.html +8 -8
- package/dist/docs/interfaces/DecodedMint.html +6 -6
- package/dist/docs/interfaces/DecodedMultisig.html +5 -5
- package/dist/docs/interfaces/DecodedNonceAccount.html +6 -6
- package/dist/docs/interfaces/DecodedStakeAccount.html +2 -2
- package/dist/docs/interfaces/DecodedToken2022Account.html +9 -9
- package/dist/docs/interfaces/DecodedToken2022Mint.html +6 -6
- package/dist/docs/interfaces/DecodedTokenAccount.html +9 -9
- package/dist/docs/interfaces/DefaultAccountStateExt.html +2 -2
- package/dist/docs/interfaces/Disposable.html +2 -2
- package/dist/docs/interfaces/EndpointConnectConfig.html +5 -5
- package/dist/docs/interfaces/EpochInfo.html +7 -7
- package/dist/docs/interfaces/EpochSchedule.html +2 -2
- package/dist/docs/interfaces/FactoryProvider.html +2 -2
- package/dist/docs/interfaces/FetchedMint.html +6 -6
- package/dist/docs/interfaces/FetchedTokenAccount.html +6 -6
- package/dist/docs/interfaces/FreezeThawParams.html +6 -6
- package/dist/docs/interfaces/GetAccountInfoOpts.html +6 -6
- package/dist/docs/interfaces/GetAssetsByAuthorityParams.html +2 -2
- package/dist/docs/interfaces/GetAssetsByCreatorParams.html +2 -2
- package/dist/docs/interfaces/GetAssetsByGroupParams.html +2 -2
- package/dist/docs/interfaces/GetAssetsByOwnerParams.html +2 -2
- package/dist/docs/interfaces/GetBlockOpts.html +6 -6
- package/dist/docs/interfaces/GetBlockProductionOpts.html +6 -6
- package/dist/docs/interfaces/GetMultipleAccountsOpts.html +6 -6
- package/dist/docs/interfaces/GetProgramAccountsOpts.html +6 -6
- package/dist/docs/interfaces/GetSignatureStatusesOpts.html +6 -6
- package/dist/docs/interfaces/GetSignaturesOpts.html +7 -7
- package/dist/docs/interfaces/GetTokenAccountsParams.html +2 -2
- package/dist/docs/interfaces/GetTransactionOpts.html +6 -6
- package/dist/docs/interfaces/GeyserParserConfig.html +6 -6
- package/dist/docs/interfaces/GeyserParserEvents.html +9 -9
- package/dist/docs/interfaces/GeyserParserStats.html +2 -2
- package/dist/docs/interfaces/GrpcCallOptions.html +2 -2
- package/dist/docs/interfaces/GrpcTransportConfig.html +6 -6
- package/dist/docs/interfaces/ImmutableOwnerExt.html +2 -2
- package/dist/docs/interfaces/InflationGovernor.html +2 -2
- package/dist/docs/interfaces/InflationRate.html +2 -2
- package/dist/docs/interfaces/InflationReward.html +2 -2
- package/dist/docs/interfaces/InitializeAccountParams.html +5 -5
- package/dist/docs/interfaces/InitializeMintParams.html +6 -6
- package/dist/docs/interfaces/InitializeNonceParams.html +3 -3
- package/dist/docs/interfaces/InterestBearingConfigExt.html +2 -2
- package/dist/docs/interfaces/LatencyProbeResult.html +2 -2
- package/dist/docs/interfaces/LeakReport.html +5 -5
- package/dist/docs/interfaces/LogsNotification.html +2 -2
- package/dist/docs/interfaces/LogsSubParams.html +2 -2
- package/dist/docs/interfaces/MemoTransferExt.html +2 -2
- package/dist/docs/interfaces/MemoryGuardConfig.html +4 -4
- package/dist/docs/interfaces/MetadataPointerExt.html +2 -2
- package/dist/docs/interfaces/MintCloseAuthorityExt.html +2 -2
- package/dist/docs/interfaces/MintToCheckedParams.html +8 -8
- package/dist/docs/interfaces/MintToParams.html +7 -7
- package/dist/docs/interfaces/NonTransferableExt.html +2 -2
- package/dist/docs/interfaces/PaginationOpts.html +2 -2
- package/dist/docs/interfaces/ParsedAccountUpdate.html +16 -16
- package/dist/docs/interfaces/ParsedBlockMeta.html +2 -2
- package/dist/docs/interfaces/ParsedEntry.html +2 -2
- package/dist/docs/interfaces/ParsedInstruction.html +9 -9
- package/dist/docs/interfaces/ParsedSlotUpdate.html +3 -3
- package/dist/docs/interfaces/ParsedTransaction.html +19 -19
- package/dist/docs/interfaces/PerfSample.html +2 -2
- package/dist/docs/interfaces/PermanentDelegateExt.html +2 -2
- package/dist/docs/interfaces/ProgramAccount.html +2 -2
- package/dist/docs/interfaces/ProgramNotification.html +2 -2
- package/dist/docs/interfaces/ProgramSubParams.html +2 -2
- package/dist/docs/interfaces/ProgramsBundle.html +33 -33
- package/dist/docs/interfaces/RawAccountInfo.html +2 -2
- package/dist/docs/interfaces/RawBlockMeta.html +2 -2
- package/dist/docs/interfaces/RawBuffer.html +2 -2
- package/dist/docs/interfaces/RawCompiledInstruction.html +2 -2
- package/dist/docs/interfaces/RawEntry.html +2 -2
- package/dist/docs/interfaces/RawGeyserUpdate.html +2 -2
- package/dist/docs/interfaces/RawInnerInstruction.html +2 -2
- package/dist/docs/interfaces/RawSlotInfo.html +2 -2
- package/dist/docs/interfaces/RawTimestamp.html +2 -2
- package/dist/docs/interfaces/RawTokenBalance.html +2 -2
- package/dist/docs/interfaces/RawTransactionInfo.html +2 -2
- package/dist/docs/interfaces/ReactAdapterConfig.html +2 -2
- package/dist/docs/interfaces/RecoverNestedParams.html +7 -7
- package/dist/docs/interfaces/RefRegistryConfig.html +2 -2
- package/dist/docs/interfaces/RefStats.html +7 -7
- package/dist/docs/interfaces/RequestHeapFrameParams.html +2 -2
- package/dist/docs/interfaces/ResolveMiddleware.html +1 -1
- package/dist/docs/interfaces/RevokeParams.html +5 -5
- package/dist/docs/interfaces/RootNotification.html +2 -2
- package/dist/docs/interfaces/RootSubParams.html +1 -1
- package/dist/docs/interfaces/RpcContext.html +2 -2
- package/dist/docs/interfaces/RpcError.html +4 -4
- package/dist/docs/interfaces/RpcRequest.html +4 -2
- package/dist/docs/interfaces/RpcResponse.html +2 -2
- package/dist/docs/interfaces/SendTransactionOpts.html +6 -6
- package/dist/docs/interfaces/ServerAdapterConfig.html +3 -3
- package/dist/docs/interfaces/ServiceBinding.html +6 -6
- package/dist/docs/interfaces/ServiceRegistration.html +3 -3
- package/dist/docs/interfaces/ServiceResolver.html +6 -6
- package/dist/docs/interfaces/ServiceToken.html +4 -4
- package/dist/docs/interfaces/SetComputeUnitLimitParams.html +2 -2
- package/dist/docs/interfaces/SetComputeUnitPriceParams.html +2 -2
- package/dist/docs/interfaces/SetLoadedAccountsDataSizeLimitParams.html +2 -2
- package/dist/docs/interfaces/SignatureInfo.html +7 -7
- package/dist/docs/interfaces/SignatureNotification.html +2 -2
- package/dist/docs/interfaces/SignatureStatus.html +5 -5
- package/dist/docs/interfaces/SignatureSubParams.html +2 -2
- package/dist/docs/interfaces/SignaturesForAssetParams.html +2 -2
- package/dist/docs/interfaces/SimulateResult.html +2 -2
- package/dist/docs/interfaces/SimulateTransactionOpts.html +7 -7
- package/dist/docs/interfaces/SingletonOptions.html +7 -0
- package/dist/docs/interfaces/SlotNotification.html +2 -2
- package/dist/docs/interfaces/SlotSubParams.html +1 -1
- package/dist/docs/interfaces/SortOpts.html +2 -2
- package/dist/docs/interfaces/StakeAuthorized.html +2 -2
- package/dist/docs/interfaces/StakeDelegation.html +3 -3
- package/dist/docs/interfaces/StakeLockup.html +4 -4
- package/dist/docs/interfaces/StakeMeta.html +2 -2
- package/dist/docs/interfaces/Supply.html +5 -5
- package/dist/docs/interfaces/SynapseClientConfig.html +9 -9
- package/dist/docs/interfaces/SynapseClientLike.html +2 -2
- package/dist/docs/interfaces/SynapseEndpoint.html +7 -7
- package/dist/docs/interfaces/SyncNativeParams.html +3 -3
- package/dist/docs/interfaces/SystemTransferParams.html +4 -4
- package/dist/docs/interfaces/TokenAccount.html +3 -3
- package/dist/docs/interfaces/TokenAccountsByOwnerResult.html +2 -2
- package/dist/docs/interfaces/TokenAmount.html +5 -5
- package/dist/docs/interfaces/TokenBalanceChange.html +2 -2
- package/dist/docs/interfaces/TokenTransferParams.html +7 -7
- package/dist/docs/interfaces/TransactionInstruction.html +4 -4
- package/dist/docs/interfaces/TransactionMeta.html +11 -11
- package/dist/docs/interfaces/TransferCheckedParams.html +9 -9
- package/dist/docs/interfaces/TransferFeeAmount.html +2 -2
- package/dist/docs/interfaces/TransferFeeConfig.html +2 -2
- package/dist/docs/interfaces/TransportConfig.html +7 -7
- package/dist/docs/interfaces/UnknownExtension.html +2 -2
- package/dist/docs/interfaces/ValueProvider.html +2 -2
- package/dist/docs/interfaces/VoteAccount.html +9 -9
- package/dist/docs/interfaces/VoteAccountsResult.html +3 -3
- package/dist/docs/interfaces/WithdrawNonceParams.html +5 -5
- package/dist/docs/interfaces/WsConfig.html +6 -6
- package/dist/docs/media/CHANGELOG.md +117 -0
- package/dist/docs/modules.html +4 -0
- package/dist/docs/types/AccountFetchOpts.html +1 -1
- package/dist/docs/types/AccountFilter.html +1 -1
- package/dist/docs/types/Base58.html +1 -1
- package/dist/docs/types/Brand.html +1 -1
- package/dist/docs/types/Commitment.html +1 -1
- package/dist/docs/types/DasSortBy.html +1 -1
- package/dist/docs/types/DasSortDirection.html +1 -1
- package/dist/docs/types/DataSizeFilter.html +1 -1
- package/dist/docs/types/DecodedExtension.html +1 -1
- package/dist/docs/types/Encoding.html +1 -1
- package/dist/docs/types/Epoch.html +1 -1
- package/dist/docs/types/Lamports.html +1 -1
- package/dist/docs/types/LogsFilter.html +1 -1
- package/dist/docs/types/MemcmpFilter.html +1 -1
- package/dist/docs/types/NonceState.html +1 -1
- package/dist/docs/types/ParsedGeyserUpdate.html +1 -1
- package/dist/docs/types/Pubkey.html +1 -1
- package/dist/docs/types/RuntimeEnv.html +1 -1
- package/dist/docs/types/ServiceLifecycle.html +1 -1
- package/dist/docs/types/ServiceProvider.html +1 -1
- package/dist/docs/types/Signature.html +1 -1
- package/dist/docs/types/Slot.html +1 -1
- package/dist/docs/types/StakeAccountType.html +1 -1
- package/dist/docs/types/SubscriptionId.html +1 -1
- package/dist/docs/types/TokenAccountState.html +1 -1
- package/dist/docs/types/TransactionDetail.html +1 -1
- package/dist/docs/types/UnaryMethod.html +1 -1
- package/dist/docs/types/UnixTimestamp.html +1 -1
- package/dist/docs/types/WsNotification.html +1 -1
- package/dist/docs/variables/ASSOCIATED_TOKEN_PROGRAM.html +1 -1
- package/dist/docs/variables/AssociatedToken.html +4 -4
- package/dist/docs/variables/COMPUTE_BUDGET_PROGRAM.html +1 -1
- package/dist/docs/variables/ComputeBudget.html +5 -5
- package/dist/docs/variables/JUPITER_PROGRAMS.html +1 -1
- package/dist/docs/variables/KNOWN_PROGRAMS.html +1 -1
- package/dist/docs/variables/KNOWN_PROGRAMS_COUNT.html +1 -1
- package/dist/docs/variables/LOOKUP_TABLE_HEADER_SIZE.html +1 -1
- package/dist/docs/variables/LOOKUP_TABLE_PROGRAM_ID.html +1 -1
- package/dist/docs/variables/MARINADE_PROGRAMS.html +1 -1
- package/dist/docs/variables/MAX_MULTISIG_SIGNERS.html +1 -1
- package/dist/docs/variables/MEMO_PROGRAM_V1.html +1 -1
- package/dist/docs/variables/MEMO_PROGRAM_V2.html +1 -1
- package/dist/docs/variables/METAPLEX_PROGRAMS.html +1 -1
- package/dist/docs/variables/METEORA_PROGRAMS.html +1 -1
- package/dist/docs/variables/MINT_SIZE.html +1 -1
- package/dist/docs/variables/MULTISIG_SIZE.html +1 -1
- package/dist/docs/variables/Memo.html +2 -2
- package/dist/docs/variables/NONCE_ACCOUNT_SIZE.html +1 -1
- package/dist/docs/variables/ORCA_PROGRAMS.html +1 -1
- package/dist/docs/variables/OTHER_PROGRAMS.html +1 -1
- package/dist/docs/variables/RAYDIUM_PROGRAMS.html +1 -1
- package/dist/docs/variables/SDK_USER_AGENT.html +1 -1
- package/dist/docs/variables/SPL_PROGRAMS.html +1 -1
- package/dist/docs/variables/STAKE_PROGRAM_ID.html +1 -1
- package/dist/docs/variables/SYNAPSE_DEVNET_EU.html +1 -1
- package/dist/docs/variables/SYNAPSE_DEVNET_US.html +1 -1
- package/dist/docs/variables/SYNAPSE_ENDPOINTS.html +1 -1
- package/dist/docs/variables/SYNAPSE_MAINNET_EU.html +1 -1
- package/dist/docs/variables/SYNAPSE_MAINNET_US.html +1 -1
- package/dist/docs/variables/SYSTEM_PROGRAM.html +1 -1
- package/dist/docs/variables/SYSTEM_PROGRAMS.html +1 -1
- package/dist/docs/variables/SYSTEM_PROGRAM_ID.html +1 -1
- package/dist/docs/variables/SplToken.html +16 -16
- package/dist/docs/variables/SystemProgram.html +10 -10
- package/dist/docs/variables/TOKEN_2022_PROGRAM.html +1 -1
- package/dist/docs/variables/TOKEN_2022_PROGRAM_ID.html +1 -1
- package/dist/docs/variables/TOKEN_ACCOUNT_SIZE.html +1 -1
- package/dist/docs/variables/TOKEN_PROGRAM.html +1 -1
- package/dist/docs/variables/TOKEN_PROGRAM_ID.html +1 -1
- package/dist/docs/variables/Tokens.html +1 -1
- package/dist/esm/ai/gateway/index.d.ts +86 -5
- package/dist/esm/ai/gateway/index.d.ts.map +1 -1
- package/dist/esm/ai/gateway/index.js +275 -39
- package/dist/esm/ai/gateway/index.js.map +1 -1
- package/dist/esm/ai/gateway/registry.d.ts +223 -0
- package/dist/esm/ai/gateway/registry.d.ts.map +1 -0
- package/dist/esm/ai/gateway/registry.js +285 -0
- package/dist/esm/ai/gateway/registry.js.map +1 -0
- package/dist/esm/ai/gateway/types.d.ts +107 -1
- package/dist/esm/ai/gateway/types.d.ts.map +1 -1
- package/dist/esm/ai/gateway/x402/index.d.ts +2 -4
- package/dist/esm/ai/gateway/x402/index.d.ts.map +1 -1
- package/dist/esm/ai/gateway/x402/index.js +2 -3
- package/dist/esm/ai/gateway/x402/index.js.map +1 -1
- package/dist/esm/ai/gateway/x402/registry.d.ts +131 -1
- package/dist/esm/ai/gateway/x402/registry.d.ts.map +1 -1
- package/dist/esm/ai/gateway/x402/registry.js +227 -0
- package/dist/esm/ai/gateway/x402/registry.js.map +1 -1
- package/dist/esm/ai/index.d.ts +2 -1
- package/dist/esm/ai/index.d.ts.map +1 -1
- package/dist/esm/ai/index.js +13 -1
- package/dist/esm/ai/index.js.map +1 -1
- package/dist/esm/ai/persistence/helpers.d.ts +83 -0
- package/dist/esm/ai/persistence/helpers.d.ts.map +1 -0
- package/dist/esm/ai/persistence/helpers.js +183 -0
- package/dist/esm/ai/persistence/helpers.js.map +1 -0
- package/dist/esm/ai/persistence/index.d.ts +91 -0
- package/dist/esm/ai/persistence/index.d.ts.map +1 -0
- package/dist/esm/ai/persistence/index.js +94 -0
- package/dist/esm/ai/persistence/index.js.map +1 -0
- package/dist/esm/ai/persistence/memory.d.ts +71 -0
- package/dist/esm/ai/persistence/memory.d.ts.map +1 -0
- package/dist/esm/ai/persistence/memory.js +188 -0
- package/dist/esm/ai/persistence/memory.js.map +1 -0
- package/dist/esm/ai/persistence/postgresql.d.ts +119 -0
- package/dist/esm/ai/persistence/postgresql.d.ts.map +1 -0
- package/dist/esm/ai/persistence/postgresql.js +306 -0
- package/dist/esm/ai/persistence/postgresql.js.map +1 -0
- package/dist/esm/ai/persistence/redis.d.ts +84 -0
- package/dist/esm/ai/persistence/redis.d.ts.map +1 -0
- package/dist/esm/ai/persistence/redis.js +237 -0
- package/dist/esm/ai/persistence/redis.js.map +1 -0
- package/dist/esm/ai/persistence/types.d.ts +267 -0
- package/dist/esm/ai/persistence/types.d.ts.map +1 -0
- package/dist/esm/ai/persistence/types.js +36 -0
- package/dist/esm/ai/persistence/types.js.map +1 -0
- package/dist/esm/ai/tools/protocols/metaplex/tools.d.ts.map +1 -1
- package/dist/esm/ai/tools/protocols/metaplex/tools.js +13 -19
- package/dist/esm/ai/tools/protocols/metaplex/tools.js.map +1 -1
- package/dist/esm/core/client.d.ts +16 -0
- package/dist/esm/core/client.d.ts.map +1 -1
- package/dist/esm/core/client.js +18 -0
- package/dist/esm/core/client.js.map +1 -1
- package/dist/esm/core/transport.d.ts +1 -1
- package/dist/esm/core/transport.d.ts.map +1 -1
- package/dist/esm/core/transport.js.map +1 -1
- package/dist/esm/core/types.d.ts +5 -1
- package/dist/esm/core/types.d.ts.map +1 -1
- package/dist/esm/das/methods/get-asset-batch.js +1 -1
- package/dist/esm/das/methods/get-asset-batch.js.map +1 -1
- package/dist/esm/das/methods/get-asset-proof-batch.js +1 -1
- package/dist/esm/das/methods/get-asset-proof-batch.js.map +1 -1
- package/dist/esm/das/methods/get-asset-proof.js +1 -1
- package/dist/esm/das/methods/get-asset-proof.js.map +1 -1
- package/dist/esm/das/methods/get-asset.js +1 -1
- package/dist/esm/das/methods/get-asset.js.map +1 -1
- package/dist/esm/das/methods/get-assets-by-authority.js +1 -1
- package/dist/esm/das/methods/get-assets-by-authority.js.map +1 -1
- package/dist/esm/das/methods/get-assets-by-creator.js +1 -1
- package/dist/esm/das/methods/get-assets-by-creator.js.map +1 -1
- package/dist/esm/das/methods/get-assets-by-group.js +1 -1
- package/dist/esm/das/methods/get-assets-by-group.js.map +1 -1
- package/dist/esm/das/methods/get-assets-by-owner.js +1 -1
- package/dist/esm/das/methods/get-assets-by-owner.js.map +1 -1
- package/dist/esm/das/methods/get-signatures-for-asset.js +1 -1
- package/dist/esm/das/methods/get-signatures-for-asset.js.map +1 -1
- package/dist/esm/das/methods/get-token-accounts.js +1 -1
- package/dist/esm/das/methods/get-token-accounts.js.map +1 -1
- package/dist/esm/das/methods/search-assets.js +1 -1
- package/dist/esm/das/methods/search-assets.js.map +1 -1
- package/dist/esm/next/index.d.ts +141 -0
- package/dist/esm/next/index.d.ts.map +1 -0
- package/dist/esm/next/index.js +171 -0
- package/dist/esm/next/index.js.map +1 -0
- package/dist/esm/utils/helpers.d.ts +79 -1
- package/dist/esm/utils/helpers.d.ts.map +1 -1
- package/dist/esm/utils/helpers.js +106 -0
- package/dist/esm/utils/helpers.js.map +1 -1
- package/package.json +20 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,123 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [1.2.2] — 2026-03-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`toJsonSafe()` & `bigIntReplacer()`** — Recursive BigInt→string serializer and
|
|
15
|
+
`JSON.stringify` replacer. Eliminates the "Do not know how to serialize a BigInt"
|
|
16
|
+
crash in Next.js API Routes and Express handlers.
|
|
17
|
+
(`import { toJsonSafe, bigIntReplacer } from '…/utils'`)
|
|
18
|
+
|
|
19
|
+
- **`createSingleton()`** — HMR-safe singleton factory using `globalThis.__synapse_singletons`.
|
|
20
|
+
Survives Next.js / Vite hot-module reloads in development. Supports `version` option
|
|
21
|
+
for cache invalidation.
|
|
22
|
+
(`import { createSingleton } from '…/utils'`)
|
|
23
|
+
|
|
24
|
+
- **`client.getTransport()`** — Public accessor for the underlying `HttpTransport`,
|
|
25
|
+
replacing the `(client as any)._transport` pattern.
|
|
26
|
+
|
|
27
|
+
- **`gateway.snapshot(depth?)`** — JSON-safe serialization of the entire AgentGateway
|
|
28
|
+
state with three depth levels: `'minimal'`, `'standard'`, `'full'`.
|
|
29
|
+
Also adds `gateway.toJSON()` enabling `JSON.stringify(gateway)`.
|
|
30
|
+
|
|
31
|
+
- **`gateway.createPaymentIntent(opts)`** — Builder for `PaymentIntent` objects with
|
|
32
|
+
auto-generated nonce, timestamp, token. Accepts buyer as `AgentId`, string, or
|
|
33
|
+
`AgentGateway` instance.
|
|
34
|
+
|
|
35
|
+
- **Retry on `gateway.execute()`** — Configurable retry with exponential backoff via
|
|
36
|
+
`RetryConfig`. Supports per-call overrides, transient error detection, and optional
|
|
37
|
+
fallback to direct RPC on the last attempt. Emits `call:retry` events.
|
|
38
|
+
|
|
39
|
+
- **x402 pipeline hooks & observability** — `executeWithX402()` now emits granular
|
|
40
|
+
`x402:pipeline:*` events for each pipeline step (paywall → verify → execute → settle).
|
|
41
|
+
Accepts `onStep` callback and returns full pipeline trace with per-step timing.
|
|
42
|
+
|
|
43
|
+
- **`AgentRegistry`** — Multi-agent lifecycle manager with CRUD, `filter()`,
|
|
44
|
+
`searchMarketplace()`, `getAggregateMetrics()`, `snapshot()`, pluggable persistence
|
|
45
|
+
via `PersistenceAdapter`, and `[Symbol.iterator]` support.
|
|
46
|
+
|
|
47
|
+
- **`FacilitatorDiscovery`** — Runtime-aware facilitator discovery wrapping the static
|
|
48
|
+
`FACILITATOR_REGISTRY`. Adds `filter()`, `query()`, `healthCheck()`, and `findBest()`
|
|
49
|
+
with optional health-check-based selection and gas-sponsoring preference.
|
|
50
|
+
|
|
51
|
+
- **Persistence module (`ai/persistence`)** — Full long-term storage layer for agent
|
|
52
|
+
gateway data:
|
|
53
|
+
- `MemoryStore` — in-process, for testing and dev
|
|
54
|
+
- `RedisPersistence` — Redis/Valkey adapter (ioredis, node-redis, @upstash/redis)
|
|
55
|
+
- `PostgresPersistence` — PostgreSQL adapter with auto-migration (pg, @vercel/postgres,
|
|
56
|
+
@neondatabase/serverless)
|
|
57
|
+
- Universal `PersistenceStore` interface covering agents, sessions, receipts, metrics,
|
|
58
|
+
and generic key-value with TTL
|
|
59
|
+
- All adapters implement `PersistenceAdapter` for drop-in use with `AgentRegistry`
|
|
60
|
+
- Helpers: `serialize()`, `deserialize()`, `buildKey()`, `buildSchema()` (DDL generator)
|
|
61
|
+
- New optional peer deps: `ioredis >=5.0.0`, `pg >=8.0.0`
|
|
62
|
+
|
|
63
|
+
- **Next.js integration (`./next`)** — Drop-in helpers for App Router:
|
|
64
|
+
- `synapseResponse(data)` — BigInt-safe `Response` factory
|
|
65
|
+
- `withSynapseError(handler)` — API Route error boundary
|
|
66
|
+
- `createSynapseProvider(config)` — HMR-safe SynapseClient singleton
|
|
67
|
+
- `createGatewayProvider(clientProvider, configFactory)` — HMR-safe AgentGateway singleton
|
|
68
|
+
|
|
69
|
+
### New types
|
|
70
|
+
|
|
71
|
+
- `RetryConfig`, `SnapshotDepth`, `GatewaySnapshot`, `X402PipelineStep`
|
|
72
|
+
- `SessionRecord`, `ReceiptRecord`, `MetricPoint`, `PersistenceStore`
|
|
73
|
+
- `RedisLike`, `PgLike`, `RedisStoreConfig`, `PostgresStoreConfig`, `MemoryStoreConfig`
|
|
74
|
+
- `FacilitatorHealthResult`, `FindBestOptions`, `AgentRegistryConfig`
|
|
75
|
+
- `SynapseResponseInit`, `SingletonOptions`
|
|
76
|
+
|
|
77
|
+
### New subpath exports
|
|
78
|
+
|
|
79
|
+
- `@oobe-protocol-labs/synapse-client-sdk/next`
|
|
80
|
+
- `@oobe-protocol-labs/synapse-client-sdk/ai/persistence`
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## [1.2.1] — 2025-07-22
|
|
85
|
+
|
|
86
|
+
### Fixed
|
|
87
|
+
|
|
88
|
+
- **DAS API: named params instead of positional arrays** — All 11 DAS (Metaplex Read API) methods
|
|
89
|
+
now send JSON-RPC 2.0 **named parameters** (`{ id: "..." }`) instead of wrapping them in a
|
|
90
|
+
positional array (`[{ id: "..." }]`). This was the root cause of 7 Metaplex AI tools returning
|
|
91
|
+
empty/default results: the gateway correctly expected named params per the DAS spec, but the SDK
|
|
92
|
+
was sending array-wrapped params that were silently dropped.
|
|
93
|
+
Affected methods: `getAsset`, `getAssetProof`, `getAssetBatch`, `getAssetProofBatch`,
|
|
94
|
+
`getAssetsByOwner`, `getAssetsByGroup`, `getAssetsByCreator`, `getAssetsByAuthority`,
|
|
95
|
+
`searchAssets`, `getSignaturesForAsset`, `getTokenAccounts`.
|
|
96
|
+
|
|
97
|
+
- **`RpcRequest.params` type widened** — Changed from `unknown[]` to
|
|
98
|
+
`unknown[] | Record<string, unknown>` to support both positional params (standard Solana RPC)
|
|
99
|
+
and named params (DAS / Read API).
|
|
100
|
+
|
|
101
|
+
- **`HttpTransport.request()` signature updated** — The `params` argument now accepts
|
|
102
|
+
`unknown[] | Record<string, unknown>` to match the widened `RpcRequest` type.
|
|
103
|
+
|
|
104
|
+
- **Metaplex AI executor simplified** — Removed special-casing for `getAsset`, `getAssetProof`,
|
|
105
|
+
`getAssets`, and `getAssetProofs` in the Metaplex executor; all DAS tools now use a unified
|
|
106
|
+
named-params code path.
|
|
107
|
+
|
|
108
|
+
- **`resolveCollection` executor** — Updated internal `getAsset` and `getAssetsByGroup` calls
|
|
109
|
+
to use named params.
|
|
110
|
+
|
|
111
|
+
### Known Issues (Gateway-side)
|
|
112
|
+
|
|
113
|
+
The following failures are **not SDK bugs** — they require server-side fixes on the Synapse gateway:
|
|
114
|
+
|
|
115
|
+
- **4 DAS methods not implemented in gateway**: `getAssetBatch`, `getAssetProofBatch`,
|
|
116
|
+
`getSignaturesForAsset`, `getTokenAccounts` — the SDK sends correct requests, but the gateway
|
|
117
|
+
does not yet route these methods.
|
|
118
|
+
- **6 Raydium REST tools return 500**: The gateway proxy to `api-v3.raydium.io` returns HTTP 500
|
|
119
|
+
for certain endpoints. Direct calls to Raydium's API succeed.
|
|
120
|
+
- **`getAccountInfo` blocked by gateway**: 3 on-chain tools (Jupiter/Raydium) fail because the
|
|
121
|
+
gateway RPC endpoint does not allow `getAccountInfo`.
|
|
122
|
+
- **`getProgramAccounts` returns 502**: 5 on-chain tools fail with 502 Bad Gateway when calling
|
|
123
|
+
`getProgramAccounts` through the gateway.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
10
127
|
## [1.2.0] — 2026-02-28
|
|
11
128
|
|
|
12
129
|
### Added
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* @since 1.0.0
|
|
21
21
|
*/
|
|
22
22
|
import type { SynapseClientLike } from '../../core/client';
|
|
23
|
-
import type { AgentId, AgentIdentity, GatewayConfig, GatewayEventHandler, GatewayEventType, PaymentIntent, PaymentReceipt, PricingTier, AttestedResult, ToolBundle, SessionState } from './types';
|
|
23
|
+
import type { AgentId, AgentIdentity, GatewayConfig, GatewayEventHandler, GatewayEventType, PaymentIntent, PaymentReceipt, PricingTier, AttestedResult, ToolBundle, SessionState, RetryConfig, SnapshotDepth, GatewaySnapshot, X402PipelineStep } from './types';
|
|
24
24
|
import { AgentSession } from './session';
|
|
25
25
|
import { PricingEngine } from './pricing';
|
|
26
26
|
import { ResponseValidator } from './validator';
|
|
@@ -194,13 +194,19 @@ export declare class AgentGateway {
|
|
|
194
194
|
* 4. `session.postCall()` — deduct budget, increment counters
|
|
195
195
|
* 5. `pricing.reportLatency()`— feed latency into dynamic pricing
|
|
196
196
|
*
|
|
197
|
+
* If `config.retry` is set, transient errors are retried with exponential
|
|
198
|
+
* backoff. Pass per-call `opts.retry` to override.
|
|
199
|
+
*
|
|
197
200
|
* @param {string} sessionId - The session to charge
|
|
198
201
|
* @param {string} method - Solana JSON-RPC method name
|
|
199
202
|
* @param {unknown[]} [params=[]] - Method parameters
|
|
203
|
+
* @param {{ retry?: RetryConfig }} [opts] - Per-call overrides
|
|
200
204
|
* @returns {Promise<AttestedResult<T>>} The attested result
|
|
201
205
|
* @since 1.0.0
|
|
202
206
|
*/
|
|
203
|
-
execute<T = unknown>(sessionId: string, method: string, params?: unknown[]
|
|
207
|
+
execute<T = unknown>(sessionId: string, method: string, params?: unknown[], opts?: {
|
|
208
|
+
retry?: RetryConfig;
|
|
209
|
+
}): Promise<AttestedResult<T>>;
|
|
204
210
|
/**
|
|
205
211
|
* @description Execute a batch of methods within a metered session.
|
|
206
212
|
* Each method is individually metered.
|
|
@@ -244,18 +250,31 @@ export declare class AgentGateway {
|
|
|
244
250
|
* This combines processX402Request + execute + settleX402Payment
|
|
245
251
|
* into a single call for convenience.
|
|
246
252
|
*
|
|
253
|
+
* Emits granular `x402:pipeline:*` events for each step so consumers
|
|
254
|
+
* can build step-by-step UI animations, logging, or monitoring without
|
|
255
|
+
* reconstructing the pipeline manually.
|
|
256
|
+
*
|
|
247
257
|
* @param {string | null} sessionId - Session to charge (or null for x402-only billing)
|
|
248
258
|
* @param {string} method - RPC method
|
|
249
259
|
* @param {unknown[]} [params=[]] - Method params
|
|
250
260
|
* @param {Record<string, string | undefined>} [incomingHeaders={}] - HTTP headers with PAYMENT-SIGNATURE
|
|
251
|
-
* @
|
|
261
|
+
* @param {{ onStep?: (step: X402PipelineStep) => void }} [opts] - Pipeline callbacks
|
|
262
|
+
* @returns {Promise<{ result: AttestedResult<T> | null; x402: PaywallResult; settlement: SettleResult | null; responseHeaders: Record<string, string>; pipeline: { steps: X402PipelineStep[]; totalDurationMs: number } }>}
|
|
252
263
|
* @since 1.0.0
|
|
253
264
|
*/
|
|
254
|
-
executeWithX402<T = unknown>(sessionId: string | null, method: string, params?: unknown[], incomingHeaders?: Record<string, string | undefined
|
|
265
|
+
executeWithX402<T = unknown>(sessionId: string | null, method: string, params?: unknown[], incomingHeaders?: Record<string, string | undefined>, opts?: {
|
|
266
|
+
/** Callback invoked after each pipeline step completes. */
|
|
267
|
+
onStep?: (step: X402PipelineStep) => void;
|
|
268
|
+
}): Promise<{
|
|
255
269
|
result: AttestedResult<T> | null;
|
|
256
270
|
x402: PaywallResult;
|
|
257
271
|
settlement: SettleResult | null;
|
|
258
272
|
responseHeaders: Record<string, string>;
|
|
273
|
+
/** Pipeline execution trace — always populated since v1.2.2. */
|
|
274
|
+
pipeline: {
|
|
275
|
+
steps: X402PipelineStep[];
|
|
276
|
+
totalDurationMs: number;
|
|
277
|
+
};
|
|
259
278
|
}>;
|
|
260
279
|
/**
|
|
261
280
|
* @description Execute an RPC call on a remote x402-enabled server.
|
|
@@ -346,6 +365,67 @@ export declare class AgentGateway {
|
|
|
346
365
|
clientPayments: number;
|
|
347
366
|
};
|
|
348
367
|
};
|
|
368
|
+
/**
|
|
369
|
+
* @description Return a JSON-safe snapshot of the entire gateway state.
|
|
370
|
+
*
|
|
371
|
+
* All `BigInt` values are converted to strings. The result can be passed
|
|
372
|
+
* directly to `JSON.stringify()` or `NextResponse.json()` without any
|
|
373
|
+
* manual serialization.
|
|
374
|
+
*
|
|
375
|
+
* @param {{ depth?: SnapshotDepth }} [opts] - Control how much data is included.
|
|
376
|
+
* - `'minimal'` — identity + metrics only (for lists)
|
|
377
|
+
* - `'standard'` — identity + metrics + sessions + tiers + marketplace (default)
|
|
378
|
+
* - `'full'` — everything including full session snapshots
|
|
379
|
+
* @returns {GatewaySnapshot} A plain object safe for JSON serialization.
|
|
380
|
+
* @since 1.2.2
|
|
381
|
+
*
|
|
382
|
+
* @example
|
|
383
|
+
* ```ts
|
|
384
|
+
* const snap = gateway.snapshot();
|
|
385
|
+
* return NextResponse.json(snap); // no bigIntToString() needed
|
|
386
|
+
* ```
|
|
387
|
+
*/
|
|
388
|
+
snapshot(opts?: {
|
|
389
|
+
depth?: SnapshotDepth;
|
|
390
|
+
}): GatewaySnapshot;
|
|
391
|
+
/**
|
|
392
|
+
* Alias for `snapshot()` — enables `JSON.stringify(gateway)`.
|
|
393
|
+
* @since 1.2.2
|
|
394
|
+
*/
|
|
395
|
+
toJSON(): GatewaySnapshot;
|
|
396
|
+
/**
|
|
397
|
+
* @description Build a {@link PaymentIntent} with sensible defaults.
|
|
398
|
+
*
|
|
399
|
+
* Generates `nonce`, `createdAt`, and `token` automatically. Accepts
|
|
400
|
+
* `budget` as a string or number that is converted to `BigInt` internally.
|
|
401
|
+
*
|
|
402
|
+
* @param {object} opts - Intent parameters
|
|
403
|
+
* @param {AgentId | string | AgentGateway} opts.buyer - Buyer agent ID, DID string, or gateway instance
|
|
404
|
+
* @param {string} [opts.tier='standard'] - Pricing tier ID
|
|
405
|
+
* @param {string | number | bigint} opts.budget - Max budget (converted to BigInt)
|
|
406
|
+
* @param {number} [opts.ttl] - TTL in seconds (default: config.sessionTtl or 3600)
|
|
407
|
+
* @param {string} [opts.signature='sdk-generated'] - Payment signature
|
|
408
|
+
* @returns {PaymentIntent} A ready-to-use PaymentIntent
|
|
409
|
+
* @since 1.2.2
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* ```ts
|
|
413
|
+
* const intent = gateway.createPaymentIntent({
|
|
414
|
+
* buyer: buyerGateway,
|
|
415
|
+
* tier: 'standard',
|
|
416
|
+
* budget: '100000',
|
|
417
|
+
* });
|
|
418
|
+
* const session = gateway.openSession(intent);
|
|
419
|
+
* ```
|
|
420
|
+
*/
|
|
421
|
+
createPaymentIntent(opts: {
|
|
422
|
+
buyer: AgentId | string | AgentGateway;
|
|
423
|
+
tier?: string;
|
|
424
|
+
budget: string | number | bigint;
|
|
425
|
+
ttl?: number;
|
|
426
|
+
signature?: string;
|
|
427
|
+
token?: PricingTier['token'];
|
|
428
|
+
}): PaymentIntent;
|
|
349
429
|
private getSessionOrThrow;
|
|
350
430
|
/**
|
|
351
431
|
* Basic intent verification (signature is deferred to wallet integration).
|
|
@@ -370,11 +450,12 @@ export declare class AgentGateway {
|
|
|
370
450
|
* @since 1.0.0
|
|
371
451
|
*/
|
|
372
452
|
export declare function createAgentGateway(client: SynapseClientLike, config: GatewayConfig): AgentGateway;
|
|
373
|
-
export type { AgentId, AgentIdentity, AgentCredential, PaymentToken, PricingTier, PaymentIntent, PaymentReceipt, SessionState, SessionStatus, ResponseAttestation, AttestedResult, ToolListing, ToolBundle, GatewayEventType, GatewayEvent, GatewayEventHandler, GatewayConfig, } from './types';
|
|
453
|
+
export type { AgentId, AgentIdentity, AgentCredential, PaymentToken, PricingTier, PaymentIntent, PaymentReceipt, SessionState, SessionStatus, ResponseAttestation, AttestedResult, ToolListing, ToolBundle, GatewayEventType, GatewayEvent, GatewayEventHandler, GatewayConfig, RetryConfig, SnapshotDepth, GatewaySnapshot, X402PipelineStep, } from './types';
|
|
374
454
|
export { AgentId as createAgentId } from './types';
|
|
375
455
|
export { AgentSession, SessionError, BudgetExhaustedError, RateLimitExceededError, SessionExpiredError, CallLimitExceededError, } from './session';
|
|
376
456
|
export { PricingEngine, DEFAULT_TIERS, type DynamicPricingConfig } from './pricing';
|
|
377
457
|
export { ResponseValidator } from './validator';
|
|
378
458
|
export { ToolMarketplace, type MarketplaceQuery, type MarketplaceStats } from './marketplace';
|
|
459
|
+
export { AgentRegistry, MemoryAdapter, type PersistenceAdapter, type AgentRegistryConfig, } from './registry';
|
|
379
460
|
export * from './x402';
|
|
380
461
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ai/gateway/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,aAAa,EAEb,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,WAA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