@oobe-protocol-labs/synapse-client-sdk 1.0.1 → 1.0.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 +29 -0
- package/dist/cjs/ai/gateway/x402/facilitator.d.ts +4 -4
- package/dist/cjs/ai/gateway/x402/facilitator.js +4 -4
- package/dist/cjs/core/client.d.ts +72 -9
- package/dist/cjs/core/client.d.ts.map +1 -1
- package/dist/cjs/core/client.js +90 -5
- 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 +5 -5
- package/dist/cjs/core/transport.js.map +1 -1
- package/dist/cjs/core/types.d.ts +23 -4
- package/dist/cjs/core/types.d.ts.map +1 -1
- package/dist/cjs/core/types.js +5 -1
- package/dist/cjs/core/types.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/kit/index.d.ts +94 -0
- package/dist/cjs/kit/index.d.ts.map +1 -0
- package/dist/cjs/kit/index.js +196 -0
- package/dist/cjs/kit/index.js.map +1 -0
- package/dist/docs/assets/highlight.css +7 -0
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- 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 +4 -4
- package/dist/docs/classes/NetworkError.html +5 -5
- package/dist/docs/classes/RpcMethodNotFoundError.html +4 -4
- package/dist/docs/classes/SolanaError.html +40 -0
- package/dist/docs/classes/SolanaRpc.html +55 -55
- package/dist/docs/classes/SynapseClient.html +37 -16
- 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/WsClient.html +10 -10
- package/dist/docs/enums/AccountRole.html +40 -0
- package/dist/docs/enums/SynapseNetwork.html +2 -2
- package/dist/docs/enums/SynapseRegion.html +2 -2
- package/dist/docs/functions/Epoch-1.html +1 -1
- package/dist/docs/functions/{Lamports-1.html → Lamports-2.html} +2 -2
- 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/addSignersToTransactionMessage.html +14 -0
- package/dist/docs/functions/address-1.html +15 -0
- package/dist/docs/functions/airdropFactory.html +9 -0
- package/dist/docs/functions/appendTransactionMessageInstruction.html +8 -0
- package/dist/docs/functions/appendTransactionMessageInstructions.html +8 -0
- package/dist/docs/functions/assertAccountDecoded.html +13 -0
- package/dist/docs/functions/assertAccountExists.html +10 -0
- package/dist/docs/functions/assertIsAddress.html +7 -0
- package/dist/docs/functions/assertIsKeyPairSigner.html +6 -0
- package/dist/docs/functions/assertIsKitSignature.html +7 -0
- package/dist/docs/functions/assertIsTransactionSigner.html +7 -0
- package/dist/docs/functions/autoSelectRegion.html +1 -1
- package/dist/docs/functions/base58Encode.html +1 -1
- package/dist/docs/functions/blockhash.html +15 -0
- package/dist/docs/functions/chunk.html +1 -1
- package/dist/docs/functions/commitmentComparator.html +1 -0
- package/dist/docs/functions/compileTransaction.html +14 -0
- package/dist/docs/functions/compileTransactionMessage.html +8 -0
- package/dist/docs/functions/computeBalanceChanges.html +1 -1
- package/dist/docs/functions/computeTokenBalanceChanges.html +1 -1
- package/dist/docs/functions/createAddressWithSeed.html +6 -0
- package/dist/docs/functions/createDefaultRpcSubscriptionsTransport.html +7 -0
- package/dist/docs/functions/createDefaultRpcTransport.html +10 -0
- package/dist/docs/functions/createDefaultSolanaRpcSubscriptionsChannelCreator.html +5 -0
- package/dist/docs/functions/createKeyPairFromBytes.html +12 -0
- package/dist/docs/functions/createKeyPairFromPrivateKeyBytes.html +17 -0
- package/dist/docs/functions/createKeyPairSignerFromBytes.html +6 -0
- package/dist/docs/functions/createKeyPairSignerFromPrivateKeyBytes.html +6 -0
- package/dist/docs/functions/createNoopSigner.html +6 -0
- package/dist/docs/functions/createRpc.html +3 -0
- package/dist/docs/functions/createSignableMessage.html +6 -0
- package/dist/docs/functions/createSignerFromKeyPair.html +12 -0
- package/dist/docs/functions/createSolanaRpc.html +4 -0
- package/dist/docs/functions/createSolanaRpcApi.html +12 -0
- package/dist/docs/functions/createSolanaRpcFromTransport.html +3 -0
- package/dist/docs/functions/createSolanaRpcSubscriptions.html +4 -0
- package/dist/docs/functions/createSolanaRpcSubscriptionsApi.html +1 -0
- package/dist/docs/functions/createSolanaRpcSubscriptionsFromTransport.html +3 -0
- package/dist/docs/functions/createSolanaRpcSubscriptions_UNSTABLE.html +4 -0
- package/dist/docs/functions/createSynapse.html +1 -1
- package/dist/docs/functions/createTransactionMessage.html +6 -0
- package/dist/docs/functions/decodeAccount.html +9 -0
- package/dist/docs/functions/devnet.html +2 -0
- package/dist/docs/functions/fetchEncodedAccount.html +9 -0
- package/dist/docs/functions/fetchEncodedAccounts.html +11 -0
- package/dist/docs/functions/fetchJsonParsedAccount.html +12 -0
- package/dist/docs/functions/fetchJsonParsedAccounts.html +14 -0
- package/dist/docs/functions/fromKitAddress.html +5 -0
- package/dist/docs/functions/generateKeyPair.html +6 -0
- package/dist/docs/functions/generateKeyPairSigner.html +7 -0
- package/dist/docs/functions/getAccountInfo.html +1 -1
- package/dist/docs/functions/getAddressCodec.html +6 -0
- package/dist/docs/functions/getAddressComparator.html +1 -0
- package/dist/docs/functions/getAddressDecoder.html +6 -0
- package/dist/docs/functions/getAddressEncoder.html +5 -0
- package/dist/docs/functions/getAddressFromPublicKey.html +5 -0
- 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/getBase58Codec.html +26 -0
- package/dist/docs/functions/getBase58Decoder.html +10 -0
- package/dist/docs/functions/getBase58Encoder.html +11 -0
- package/dist/docs/functions/getBase64Codec.html +26 -0
- package/dist/docs/functions/getBase64Decoder.html +10 -0
- package/dist/docs/functions/getBase64Encoder.html +11 -0
- 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/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/getProgramDerivedAddress.html +6 -0
- 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/isAddress.html +6 -0
- package/dist/docs/functions/isBlockhashValid.html +1 -1
- package/dist/docs/functions/isBrowser.html +1 -1
- package/dist/docs/functions/isKeyPairSigner.html +6 -0
- package/dist/docs/functions/isKitSignature.html +6 -0
- package/dist/docs/functions/isProgramInCategory.html +1 -1
- package/dist/docs/functions/isServer.html +1 -1
- package/dist/docs/functions/isTransactionSigner.html +7 -0
- package/dist/docs/functions/isValidPubkey.html +1 -1
- package/dist/docs/functions/isValidSignature.html +1 -1
- package/dist/docs/functions/kitSignature.html +6 -0
- package/dist/docs/functions/kitUnixTimestamp.html +6 -0
- package/dist/docs/functions/lamports-1.html +6 -0
- 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/mainnet.html +2 -0
- package/dist/docs/functions/minimumLedgerSlot.html +1 -1
- package/dist/docs/functions/parseAccountUpdate.html +1 -1
- package/dist/docs/functions/parseBase58RpcAccount.html +7 -0
- package/dist/docs/functions/parseBase64RpcAccount.html +7 -0
- 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/parseJsonRpcAccount.html +9 -0
- 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/partiallySignTransaction.html +12 -0
- package/dist/docs/functions/partiallySignTransactionMessageWithSigners.html +22 -0
- package/dist/docs/functions/pipe.html +95 -0
- package/dist/docs/functions/prependTransactionMessageInstruction.html +8 -0
- package/dist/docs/functions/prependTransactionMessageInstructions.html +8 -0
- 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/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/sendAndConfirmDurableNonceTransactionFactory.html +6 -0
- package/dist/docs/functions/sendAndConfirmTransactionFactory.html +6 -0
- package/dist/docs/functions/sendTransaction.html +1 -1
- package/dist/docs/functions/sendTransactionWithoutConfirmingFactory.html +6 -0
- package/dist/docs/functions/setTransactionMessageFeePayer.html +7 -0
- package/dist/docs/functions/setTransactionMessageFeePayerSigner.html +8 -0
- package/dist/docs/functions/setTransactionMessageLifetimeUsingBlockhash.html +7 -0
- package/dist/docs/functions/setTransactionMessageLifetimeUsingDurableNonce.html +9 -0
- package/dist/docs/functions/signAndSendTransactionMessageWithSigners.html +32 -0
- package/dist/docs/functions/signBytes.html +7 -0
- package/dist/docs/functions/signTransaction.html +10 -0
- package/dist/docs/functions/signTransactionMessageWithSigners.html +13 -0
- package/dist/docs/functions/simulateTransaction.html +1 -1
- package/dist/docs/functions/sleep.html +1 -1
- package/dist/docs/functions/solToLamports.html +2 -2
- package/dist/docs/functions/testnet.html +2 -0
- package/dist/docs/functions/toClientConfig.html +1 -1
- package/dist/docs/functions/toKitAddress.html +8 -0
- package/dist/docs/functions/toKitLamports.html +6 -0
- package/dist/docs/functions/toKitSignatureString.html +5 -0
- package/dist/docs/functions/verifySignature.html +8 -0
- package/dist/docs/interfaces/AccountInfo.html +7 -7
- package/dist/docs/interfaces/AccountNotification.html +2 -2
- package/dist/docs/interfaces/AccountSubParams.html +2 -2
- package/dist/docs/interfaces/AssetSignatureInfo.html +2 -2
- package/dist/docs/interfaces/AssetSignaturesPage.html +2 -2
- 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/CallOptions.html +6 -6
- package/dist/docs/interfaces/ConfirmedTransaction.html +6 -6
- package/dist/docs/interfaces/ContactInfo.html +2 -2
- 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/EndpointConnectConfig.html +5 -5
- package/dist/docs/interfaces/EpochInfo.html +7 -7
- package/dist/docs/interfaces/EpochSchedule.html +2 -2
- 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/InflationGovernor.html +2 -2
- package/dist/docs/interfaces/InflationRate.html +2 -2
- package/dist/docs/interfaces/InflationReward.html +2 -2
- package/dist/docs/interfaces/LatencyProbeResult.html +2 -2
- package/dist/docs/interfaces/LogsNotification.html +2 -2
- package/dist/docs/interfaces/LogsSubParams.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/ProgramAccount.html +2 -2
- package/dist/docs/interfaces/ProgramNotification.html +2 -2
- package/dist/docs/interfaces/ProgramSubParams.html +2 -2
- 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/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 +2 -2
- package/dist/docs/interfaces/RpcResponse.html +2 -2
- package/dist/docs/interfaces/SendTransactionOpts.html +6 -6
- 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/SlotNotification.html +2 -2
- package/dist/docs/interfaces/SlotSubParams.html +1 -1
- package/dist/docs/interfaces/SortOpts.html +2 -2
- package/dist/docs/interfaces/Supply.html +5 -5
- package/dist/docs/interfaces/SynapseClientConfig.html +9 -9
- package/dist/docs/interfaces/SynapseEndpoint.html +7 -7
- 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/TransactionMessageWithBlockhashLifetime.html +12 -0
- package/dist/docs/interfaces/TransactionMeta.html +11 -11
- package/dist/docs/interfaces/TransportConfig.html +7 -7
- package/dist/docs/interfaces/VoteAccount.html +9 -9
- package/dist/docs/interfaces/VoteAccountsResult.html +3 -3
- package/dist/docs/interfaces/WsConfig.html +6 -6
- package/dist/docs/media/CHANGELOG.md +29 -0
- package/dist/docs/modules.html +117 -4
- package/dist/docs/types/AccountFilter.html +1 -1
- package/dist/docs/types/Address.html +5 -0
- 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/Encoding.html +1 -1
- package/dist/docs/types/Epoch.html +1 -1
- package/dist/docs/types/KeyPairSigner.html +17 -0
- package/dist/docs/types/KitCommitment.html +4 -0
- package/dist/docs/types/Lamports.html +2 -1
- package/dist/docs/types/LogsFilter.html +1 -1
- package/dist/docs/types/MemcmpFilter.html +1 -1
- package/dist/docs/types/MessagePartialSigner.html +23 -0
- package/dist/docs/types/MessageSigner.html +8 -0
- package/dist/docs/types/NoopSigner.html +18 -0
- package/dist/docs/types/ParsedGeyserUpdate.html +1 -1
- package/dist/docs/types/Pubkey.html +3 -2
- package/dist/docs/types/Rpc.html +4 -0
- package/dist/docs/types/RpcSubscriptions.html +5 -0
- package/dist/docs/types/RpcTransport.html +3 -0
- package/dist/docs/types/RuntimeEnv.html +1 -1
- package/dist/docs/types/Signature.html +3 -2
- package/dist/docs/types/SignatureBytes.html +5 -0
- package/dist/docs/types/Slot.html +1 -1
- package/dist/docs/types/SolanaRpcApi.html +3 -0
- package/dist/docs/types/SolanaRpcApiDevnet.html +3 -0
- package/dist/docs/types/SolanaRpcApiMainnet.html +4 -0
- package/dist/docs/types/SolanaRpcApiTestnet.html +3 -0
- package/dist/docs/types/SolanaRpcSubscriptionsApi.html +1 -0
- package/dist/docs/types/SubscriptionId.html +1 -1
- package/dist/docs/types/TransactionDetail.html +1 -1
- package/dist/docs/types/TransactionMessage.html +1 -0
- package/dist/docs/types/TransactionModifyingSigner.html +30 -0
- package/dist/docs/types/TransactionPartialSigner.html +22 -0
- package/dist/docs/types/TransactionSendingSigner.html +33 -0
- package/dist/docs/types/TransactionSigner.html +9 -0
- 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/DEFAULT_RPC_CONFIG.html +6 -0
- package/dist/docs/variables/DEFAULT_RPC_SUBSCRIPTIONS_CONFIG.html +1 -0
- 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/MARINADE_PROGRAMS.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/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/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_PROGRAMS.html +1 -1
- package/dist/esm/ai/gateway/index.js +2 -2
- package/dist/esm/ai/gateway/x402/facilitator.d.ts +4 -4
- package/dist/esm/ai/gateway/x402/facilitator.js +4 -4
- package/dist/esm/ai/index.js +2 -2
- package/dist/esm/ai/tools/index.js +3 -3
- package/dist/esm/ai/tools/protocols/index.js +6 -6
- package/dist/esm/core/client.d.ts +72 -9
- package/dist/esm/core/client.d.ts.map +1 -1
- package/dist/esm/core/client.js +90 -5
- 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 +5 -5
- package/dist/esm/core/transport.js.map +1 -1
- package/dist/esm/core/types.d.ts +23 -4
- package/dist/esm/core/types.d.ts.map +1 -1
- package/dist/esm/core/types.js +5 -1
- package/dist/esm/core/types.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/kit/index.d.ts +94 -0
- package/dist/esm/kit/index.d.ts.map +1 -0
- package/dist/esm/kit/index.js +100 -0
- package/dist/esm/kit/index.js.map +1 -0
- package/package.json +35 -48
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @solana/kit bridge — native Solana types, signers, and RPC for the Synapse SDK.
|
|
3
|
+
*
|
|
4
|
+
* This module re-exports curated types and functions from `@solana/kit` (the
|
|
5
|
+
* official Anza Solana TypeScript SDK) and provides bridge utilities to convert
|
|
6
|
+
* between Synapse branded types and Kit native types.
|
|
7
|
+
*
|
|
8
|
+
* @module kit
|
|
9
|
+
* @since 1.1.0
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { SynapseClient } from '@oobe-protocol-labs/synapse-client-sdk';
|
|
14
|
+
* import { toKitAddress, generateKeyPairSigner } from '@oobe-protocol-labs/synapse-client-sdk/kit';
|
|
15
|
+
*
|
|
16
|
+
* const client = new SynapseClient({ endpoint: 'https://rpc.synapse.com' });
|
|
17
|
+
*
|
|
18
|
+
* // Bridge Synapse Pubkey -> Kit Address
|
|
19
|
+
* const addr = toKitAddress(Pubkey('So11111111111111111111111111111111111111112'));
|
|
20
|
+
*
|
|
21
|
+
* // Use Kit's native RPC (fully typed 53 methods)
|
|
22
|
+
* const kitRpc = client.kitRpc;
|
|
23
|
+
* const balance = await kitRpc.getBalance(addr).send();
|
|
24
|
+
*
|
|
25
|
+
* // Generate a signer
|
|
26
|
+
* const signer = await generateKeyPairSigner();
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export type { Address } from '@solana/kit';
|
|
30
|
+
export { address, isAddress, assertIsAddress, getAddressFromPublicKey, getAddressEncoder, getAddressDecoder, getAddressCodec, getAddressComparator, getProgramDerivedAddress, createAddressWithSeed, } from '@solana/kit';
|
|
31
|
+
export type { SignatureBytes } from '@solana/kit';
|
|
32
|
+
export { generateKeyPair, createKeyPairFromBytes, createKeyPairFromPrivateKeyBytes, signBytes, verifySignature, signature as kitSignature, isSignature as isKitSignature, assertIsSignature as assertIsKitSignature, } from '@solana/kit';
|
|
33
|
+
export type { KeyPairSigner, TransactionSigner, MessageSigner, TransactionPartialSigner, MessagePartialSigner, NoopSigner, TransactionModifyingSigner, TransactionSendingSigner, } from '@solana/kit';
|
|
34
|
+
export { generateKeyPairSigner, createKeyPairSignerFromBytes, createKeyPairSignerFromPrivateKeyBytes, createSignerFromKeyPair, createNoopSigner, isKeyPairSigner, assertIsKeyPairSigner, isTransactionSigner, assertIsTransactionSigner, addSignersToTransactionMessage, } from '@solana/kit';
|
|
35
|
+
export type { Rpc, RpcTransport, SolanaRpcApi, SolanaRpcApiDevnet, SolanaRpcApiMainnet, SolanaRpcApiTestnet, } from '@solana/kit';
|
|
36
|
+
export { createSolanaRpc, createSolanaRpcFromTransport, createSolanaRpcApi, createDefaultRpcTransport, createRpc, DEFAULT_RPC_CONFIG, } from '@solana/kit';
|
|
37
|
+
export type { RpcSubscriptions, SolanaRpcSubscriptionsApi, } from '@solana/kit';
|
|
38
|
+
export { createSolanaRpcSubscriptions, createSolanaRpcSubscriptions_UNSTABLE, createSolanaRpcSubscriptionsFromTransport, createSolanaRpcSubscriptionsApi, createDefaultRpcSubscriptionsTransport, createDefaultSolanaRpcSubscriptionsChannelCreator, DEFAULT_RPC_SUBSCRIPTIONS_CONFIG, } from '@solana/kit';
|
|
39
|
+
export type { TransactionMessage, TransactionMessageWithBlockhashLifetime, } from '@solana/kit';
|
|
40
|
+
export { createTransactionMessage, setTransactionMessageFeePayer, setTransactionMessageFeePayerSigner, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce, appendTransactionMessageInstruction, appendTransactionMessageInstructions, prependTransactionMessageInstruction, prependTransactionMessageInstructions, compileTransaction, compileTransactionMessage, signTransactionMessageWithSigners, partiallySignTransactionMessageWithSigners, signAndSendTransactionMessageWithSigners, partiallySignTransaction, signTransaction, pipe, } from '@solana/kit';
|
|
41
|
+
export { sendAndConfirmTransactionFactory, sendAndConfirmDurableNonceTransactionFactory, sendTransactionWithoutConfirmingFactory, airdropFactory, } from '@solana/kit';
|
|
42
|
+
export type { Commitment as KitCommitment } from '@solana/kit';
|
|
43
|
+
export { lamports, blockhash, unixTimestamp as kitUnixTimestamp, commitmentComparator, } from '@solana/kit';
|
|
44
|
+
export { devnet, mainnet, testnet, } from '@solana/kit';
|
|
45
|
+
export { fetchEncodedAccount, fetchEncodedAccounts, fetchJsonParsedAccount, fetchJsonParsedAccounts, decodeAccount, parseBase58RpcAccount, parseBase64RpcAccount, parseJsonRpcAccount, assertAccountExists, assertAccountDecoded, } from '@solana/kit';
|
|
46
|
+
export { AccountRole } from '@solana/kit';
|
|
47
|
+
export { getBase58Encoder, getBase58Decoder, getBase58Codec, getBase64Encoder, getBase64Decoder, getBase64Codec, } from '@solana/kit';
|
|
48
|
+
export { SolanaError } from '@solana/kit';
|
|
49
|
+
export { createSignableMessage, } from '@solana/kit';
|
|
50
|
+
import type { Address } from '@solana/kit';
|
|
51
|
+
import type { Pubkey, Signature as SynapseSig, Lamports as SynapseLamports } from '../core/types';
|
|
52
|
+
/**
|
|
53
|
+
* Convert a Synapse branded {@link Pubkey} to a Kit {@link Address}.
|
|
54
|
+
*
|
|
55
|
+
* @param pubkey - A Synapse `Pubkey` (base58 string).
|
|
56
|
+
* @returns A Kit `Address` with full type-level validation.
|
|
57
|
+
* @since 1.1.0
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* import { Pubkey } from '@oobe-protocol-labs/synapse-client-sdk';
|
|
62
|
+
* import { toKitAddress } from '@oobe-protocol-labs/synapse-client-sdk/kit';
|
|
63
|
+
*
|
|
64
|
+
* const addr = toKitAddress(Pubkey('So11111111111111111111111111111111111111112'));
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function toKitAddress(pubkey: Pubkey): Address;
|
|
68
|
+
/**
|
|
69
|
+
* Convert a Kit {@link Address} to a Synapse branded {@link Pubkey}.
|
|
70
|
+
*
|
|
71
|
+
* @param addr - A Kit `Address`.
|
|
72
|
+
* @returns A Synapse `Pubkey`.
|
|
73
|
+
* @since 1.1.0
|
|
74
|
+
*/
|
|
75
|
+
export declare function fromKitAddress(addr: Address): Pubkey;
|
|
76
|
+
/**
|
|
77
|
+
* Convert a Synapse branded {@link Signature} to a Kit signature string.
|
|
78
|
+
*
|
|
79
|
+
* @param sig - A Synapse `Signature` (base58 string).
|
|
80
|
+
* @returns The raw base58 string (Kit uses plain strings for tx signatures in RPC responses).
|
|
81
|
+
* @since 1.1.0
|
|
82
|
+
*/
|
|
83
|
+
export declare function toKitSignatureString(sig: SynapseSig): string;
|
|
84
|
+
/**
|
|
85
|
+
* Convert a Synapse branded {@link Lamports} (bigint) to Kit lamports.
|
|
86
|
+
*
|
|
87
|
+
* Kit's `lamports()` factory produces an opaque branded bigint.
|
|
88
|
+
*
|
|
89
|
+
* @param amount - Synapse `Lamports` (bigint).
|
|
90
|
+
* @returns Kit-branded lamports value.
|
|
91
|
+
* @since 1.1.0
|
|
92
|
+
*/
|
|
93
|
+
export declare function toKitLamports(amount: SynapseLamports): import("@solana/kit").Lamports;
|
|
94
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/kit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAOH,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EACL,OAAO,EACP,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAGrB,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,gCAAgC,EAChC,SAAS,EACT,eAAe,EACf,S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|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @solana/kit bridge — native Solana types, signers, and RPC for the Synapse SDK.
|
|
4
|
+
*
|
|
5
|
+
* This module re-exports curated types and functions from `@solana/kit` (the
|
|
6
|
+
* official Anza Solana TypeScript SDK) and provides bridge utilities to convert
|
|
7
|
+
* between Synapse branded types and Kit native types.
|
|
8
|
+
*
|
|
9
|
+
* @module kit
|
|
10
|
+
* @since 1.1.0
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { SynapseClient } from '@oobe-protocol-labs/synapse-client-sdk';
|
|
15
|
+
* import { toKitAddress, generateKeyPairSigner } from '@oobe-protocol-labs/synapse-client-sdk/kit';
|
|
16
|
+
*
|
|
17
|
+
* const client = new SynapseClient({ endpoint: 'https://rpc.synapse.com' });
|
|
18
|
+
*
|
|
19
|
+
* // Bridge Synapse Pubkey -> Kit Address
|
|
20
|
+
* const addr = toKitAddress(Pubkey('So11111111111111111111111111111111111111112'));
|
|
21
|
+
*
|
|
22
|
+
* // Use Kit's native RPC (fully typed 53 methods)
|
|
23
|
+
* const kitRpc = client.kitRpc;
|
|
24
|
+
* const balance = await kitRpc.getBalance(addr).send();
|
|
25
|
+
*
|
|
26
|
+
* // Generate a signer
|
|
27
|
+
* const signer = await generateKeyPairSigner();
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.prependTransactionMessageInstructions = exports.prependTransactionMessageInstruction = exports.appendTransactionMessageInstructions = exports.appendTransactionMessageInstruction = exports.setTransactionMessageLifetimeUsingDurableNonce = exports.setTransactionMessageLifetimeUsingBlockhash = exports.setTransactionMessageFeePayerSigner = exports.setTransactionMessageFeePayer = exports.createTransactionMessage = exports.DEFAULT_RPC_SUBSCRIPTIONS_CONFIG = exports.createDefaultSolanaRpcSubscriptionsChannelCreator = exports.createDefaultRpcSubscriptionsTransport = exports.createSolanaRpcSubscriptionsApi = exports.createSolanaRpcSubscriptionsFromTransport = exports.createSolanaRpcSubscriptions_UNSTABLE = exports.createSolanaRpcSubscriptions = exports.DEFAULT_RPC_CONFIG = exports.createRpc = exports.createDefaultRpcTransport = exports.createSolanaRpcApi = exports.createSolanaRpcFromTransport = exports.createSolanaRpc = exports.addSignersToTransactionMessage = exports.assertIsTransactionSigner = exports.isTransactionSigner = exports.assertIsKeyPairSigner = exports.isKeyPairSigner = exports.createNoopSigner = exports.createSignerFromKeyPair = exports.createKeyPairSignerFromPrivateKeyBytes = exports.createKeyPairSignerFromBytes = exports.generateKeyPairSigner = exports.assertIsKitSignature = exports.isKitSignature = exports.kitSignature = exports.verifySignature = exports.signBytes = exports.createKeyPairFromPrivateKeyBytes = exports.createKeyPairFromBytes = exports.generateKeyPair = exports.createAddressWithSeed = exports.getProgramDerivedAddress = exports.getAddressComparator = exports.getAddressCodec = exports.getAddressDecoder = exports.getAddressEncoder = exports.getAddressFromPublicKey = exports.assertIsAddress = exports.isAddress = exports.address = void 0;
|
|
32
|
+
exports.createSignableMessage = exports.SolanaError = exports.getBase64Codec = exports.getBase64Decoder = exports.getBase64Encoder = exports.getBase58Codec = exports.getBase58Decoder = exports.getBase58Encoder = exports.AccountRole = exports.assertAccountDecoded = exports.assertAccountExists = exports.parseJsonRpcAccount = exports.parseBase64RpcAccount = exports.parseBase58RpcAccount = exports.decodeAccount = exports.fetchJsonParsedAccounts = exports.fetchJsonParsedAccount = exports.fetchEncodedAccounts = exports.fetchEncodedAccount = exports.testnet = exports.mainnet = exports.devnet = exports.commitmentComparator = exports.kitUnixTimestamp = exports.blockhash = exports.lamports = exports.airdropFactory = exports.sendTransactionWithoutConfirmingFactory = exports.sendAndConfirmDurableNonceTransactionFactory = exports.sendAndConfirmTransactionFactory = exports.pipe = exports.signTransaction = exports.partiallySignTransaction = exports.signAndSendTransactionMessageWithSigners = exports.partiallySignTransactionMessageWithSigners = exports.signTransactionMessageWithSigners = exports.compileTransactionMessage = exports.compileTransaction = void 0;
|
|
33
|
+
exports.toKitAddress = toKitAddress;
|
|
34
|
+
exports.fromKitAddress = fromKitAddress;
|
|
35
|
+
exports.toKitSignatureString = toKitSignatureString;
|
|
36
|
+
exports.toKitLamports = toKitLamports;
|
|
37
|
+
var kit_1 = require("@solana/kit");
|
|
38
|
+
Object.defineProperty(exports, "address", { enumerable: true, get: function () { return kit_1.address; } });
|
|
39
|
+
Object.defineProperty(exports, "isAddress", { enumerable: true, get: function () { return kit_1.isAddress; } });
|
|
40
|
+
Object.defineProperty(exports, "assertIsAddress", { enumerable: true, get: function () { return kit_1.assertIsAddress; } });
|
|
41
|
+
Object.defineProperty(exports, "getAddressFromPublicKey", { enumerable: true, get: function () { return kit_1.getAddressFromPublicKey; } });
|
|
42
|
+
Object.defineProperty(exports, "getAddressEncoder", { enumerable: true, get: function () { return kit_1.getAddressEncoder; } });
|
|
43
|
+
Object.defineProperty(exports, "getAddressDecoder", { enumerable: true, get: function () { return kit_1.getAddressDecoder; } });
|
|
44
|
+
Object.defineProperty(exports, "getAddressCodec", { enumerable: true, get: function () { return kit_1.getAddressCodec; } });
|
|
45
|
+
Object.defineProperty(exports, "getAddressComparator", { enumerable: true, get: function () { return kit_1.getAddressComparator; } });
|
|
46
|
+
Object.defineProperty(exports, "getProgramDerivedAddress", { enumerable: true, get: function () { return kit_1.getProgramDerivedAddress; } });
|
|
47
|
+
Object.defineProperty(exports, "createAddressWithSeed", { enumerable: true, get: function () { return kit_1.createAddressWithSeed; } });
|
|
48
|
+
var kit_2 = require("@solana/kit");
|
|
49
|
+
Object.defineProperty(exports, "generateKeyPair", { enumerable: true, get: function () { return kit_2.generateKeyPair; } });
|
|
50
|
+
Object.defineProperty(exports, "createKeyPairFromBytes", { enumerable: true, get: function () { return kit_2.createKeyPairFromBytes; } });
|
|
51
|
+
Object.defineProperty(exports, "createKeyPairFromPrivateKeyBytes", { enumerable: true, get: function () { return kit_2.createKeyPairFromPrivateKeyBytes; } });
|
|
52
|
+
Object.defineProperty(exports, "signBytes", { enumerable: true, get: function () { return kit_2.signBytes; } });
|
|
53
|
+
Object.defineProperty(exports, "verifySignature", { enumerable: true, get: function () { return kit_2.verifySignature; } });
|
|
54
|
+
Object.defineProperty(exports, "kitSignature", { enumerable: true, get: function () { return kit_2.signature; } });
|
|
55
|
+
Object.defineProperty(exports, "isKitSignature", { enumerable: true, get: function () { return kit_2.isSignature; } });
|
|
56
|
+
Object.defineProperty(exports, "assertIsKitSignature", { enumerable: true, get: function () { return kit_2.assertIsSignature; } });
|
|
57
|
+
var kit_3 = require("@solana/kit");
|
|
58
|
+
Object.defineProperty(exports, "generateKeyPairSigner", { enumerable: true, get: function () { return kit_3.generateKeyPairSigner; } });
|
|
59
|
+
Object.defineProperty(exports, "createKeyPairSignerFromBytes", { enumerable: true, get: function () { return kit_3.createKeyPairSignerFromBytes; } });
|
|
60
|
+
Object.defineProperty(exports, "createKeyPairSignerFromPrivateKeyBytes", { enumerable: true, get: function () { return kit_3.createKeyPairSignerFromPrivateKeyBytes; } });
|
|
61
|
+
Object.defineProperty(exports, "createSignerFromKeyPair", { enumerable: true, get: function () { return kit_3.createSignerFromKeyPair; } });
|
|
62
|
+
Object.defineProperty(exports, "createNoopSigner", { enumerable: true, get: function () { return kit_3.createNoopSigner; } });
|
|
63
|
+
Object.defineProperty(exports, "isKeyPairSigner", { enumerable: true, get: function () { return kit_3.isKeyPairSigner; } });
|
|
64
|
+
Object.defineProperty(exports, "assertIsKeyPairSigner", { enumerable: true, get: function () { return kit_3.assertIsKeyPairSigner; } });
|
|
65
|
+
Object.defineProperty(exports, "isTransactionSigner", { enumerable: true, get: function () { return kit_3.isTransactionSigner; } });
|
|
66
|
+
Object.defineProperty(exports, "assertIsTransactionSigner", { enumerable: true, get: function () { return kit_3.assertIsTransactionSigner; } });
|
|
67
|
+
Object.defineProperty(exports, "addSignersToTransactionMessage", { enumerable: true, get: function () { return kit_3.addSignersToTransactionMessage; } });
|
|
68
|
+
var kit_4 = require("@solana/kit");
|
|
69
|
+
Object.defineProperty(exports, "createSolanaRpc", { enumerable: true, get: function () { return kit_4.createSolanaRpc; } });
|
|
70
|
+
Object.defineProperty(exports, "createSolanaRpcFromTransport", { enumerable: true, get: function () { return kit_4.createSolanaRpcFromTransport; } });
|
|
71
|
+
Object.defineProperty(exports, "createSolanaRpcApi", { enumerable: true, get: function () { return kit_4.createSolanaRpcApi; } });
|
|
72
|
+
Object.defineProperty(exports, "createDefaultRpcTransport", { enumerable: true, get: function () { return kit_4.createDefaultRpcTransport; } });
|
|
73
|
+
Object.defineProperty(exports, "createRpc", { enumerable: true, get: function () { return kit_4.createRpc; } });
|
|
74
|
+
Object.defineProperty(exports, "DEFAULT_RPC_CONFIG", { enumerable: true, get: function () { return kit_4.DEFAULT_RPC_CONFIG; } });
|
|
75
|
+
var kit_5 = require("@solana/kit");
|
|
76
|
+
Object.defineProperty(exports, "createSolanaRpcSubscriptions", { enumerable: true, get: function () { return kit_5.createSolanaRpcSubscriptions; } });
|
|
77
|
+
Object.defineProperty(exports, "createSolanaRpcSubscriptions_UNSTABLE", { enumerable: true, get: function () { return kit_5.createSolanaRpcSubscriptions_UNSTABLE; } });
|
|
78
|
+
Object.defineProperty(exports, "createSolanaRpcSubscriptionsFromTransport", { enumerable: true, get: function () { return kit_5.createSolanaRpcSubscriptionsFromTransport; } });
|
|
79
|
+
Object.defineProperty(exports, "createSolanaRpcSubscriptionsApi", { enumerable: true, get: function () { return kit_5.createSolanaRpcSubscriptionsApi; } });
|
|
80
|
+
Object.defineProperty(exports, "createDefaultRpcSubscriptionsTransport", { enumerable: true, get: function () { return kit_5.createDefaultRpcSubscriptionsTransport; } });
|
|
81
|
+
Object.defineProperty(exports, "createDefaultSolanaRpcSubscriptionsChannelCreator", { enumerable: true, get: function () { return kit_5.createDefaultSolanaRpcSubscriptionsChannelCreator; } });
|
|
82
|
+
Object.defineProperty(exports, "DEFAULT_RPC_SUBSCRIPTIONS_CONFIG", { enumerable: true, get: function () { return kit_5.DEFAULT_RPC_SUBSCRIPTIONS_CONFIG; } });
|
|
83
|
+
var kit_6 = require("@solana/kit");
|
|
84
|
+
Object.defineProperty(exports, "createTransactionMessage", { enumerable: true, get: function () { return kit_6.createTransactionMessage; } });
|
|
85
|
+
Object.defineProperty(exports, "setTransactionMessageFeePayer", { enumerable: true, get: function () { return kit_6.setTransactionMessageFeePayer; } });
|
|
86
|
+
Object.defineProperty(exports, "setTransactionMessageFeePayerSigner", { enumerable: true, get: function () { return kit_6.setTransactionMessageFeePayerSigner; } });
|
|
87
|
+
Object.defineProperty(exports, "setTransactionMessageLifetimeUsingBlockhash", { enumerable: true, get: function () { return kit_6.setTransactionMessageLifetimeUsingBlockhash; } });
|
|
88
|
+
Object.defineProperty(exports, "setTransactionMessageLifetimeUsingDurableNonce", { enumerable: true, get: function () { return kit_6.setTransactionMessageLifetimeUsingDurableNonce; } });
|
|
89
|
+
Object.defineProperty(exports, "appendTransactionMessageInstruction", { enumerable: true, get: function () { return kit_6.appendTransactionMessageInstruction; } });
|
|
90
|
+
Object.defineProperty(exports, "appendTransactionMessageInstructions", { enumerable: true, get: function () { return kit_6.appendTransactionMessageInstructions; } });
|
|
91
|
+
Object.defineProperty(exports, "prependTransactionMessageInstruction", { enumerable: true, get: function () { return kit_6.prependTransactionMessageInstruction; } });
|
|
92
|
+
Object.defineProperty(exports, "prependTransactionMessageInstructions", { enumerable: true, get: function () { return kit_6.prependTransactionMessageInstructions; } });
|
|
93
|
+
Object.defineProperty(exports, "compileTransaction", { enumerable: true, get: function () { return kit_6.compileTransaction; } });
|
|
94
|
+
Object.defineProperty(exports, "compileTransactionMessage", { enumerable: true, get: function () { return kit_6.compileTransactionMessage; } });
|
|
95
|
+
Object.defineProperty(exports, "signTransactionMessageWithSigners", { enumerable: true, get: function () { return kit_6.signTransactionMessageWithSigners; } });
|
|
96
|
+
Object.defineProperty(exports, "partiallySignTransactionMessageWithSigners", { enumerable: true, get: function () { return kit_6.partiallySignTransactionMessageWithSigners; } });
|
|
97
|
+
Object.defineProperty(exports, "signAndSendTransactionMessageWithSigners", { enumerable: true, get: function () { return kit_6.signAndSendTransactionMessageWithSigners; } });
|
|
98
|
+
Object.defineProperty(exports, "partiallySignTransaction", { enumerable: true, get: function () { return kit_6.partiallySignTransaction; } });
|
|
99
|
+
Object.defineProperty(exports, "signTransaction", { enumerable: true, get: function () { return kit_6.signTransaction; } });
|
|
100
|
+
Object.defineProperty(exports, "pipe", { enumerable: true, get: function () { return kit_6.pipe; } });
|
|
101
|
+
// ── Transaction sending & confirmation ─────────────────────────
|
|
102
|
+
var kit_7 = require("@solana/kit");
|
|
103
|
+
Object.defineProperty(exports, "sendAndConfirmTransactionFactory", { enumerable: true, get: function () { return kit_7.sendAndConfirmTransactionFactory; } });
|
|
104
|
+
Object.defineProperty(exports, "sendAndConfirmDurableNonceTransactionFactory", { enumerable: true, get: function () { return kit_7.sendAndConfirmDurableNonceTransactionFactory; } });
|
|
105
|
+
Object.defineProperty(exports, "sendTransactionWithoutConfirmingFactory", { enumerable: true, get: function () { return kit_7.sendTransactionWithoutConfirmingFactory; } });
|
|
106
|
+
Object.defineProperty(exports, "airdropFactory", { enumerable: true, get: function () { return kit_7.airdropFactory; } });
|
|
107
|
+
var kit_8 = require("@solana/kit");
|
|
108
|
+
Object.defineProperty(exports, "lamports", { enumerable: true, get: function () { return kit_8.lamports; } });
|
|
109
|
+
Object.defineProperty(exports, "blockhash", { enumerable: true, get: function () { return kit_8.blockhash; } });
|
|
110
|
+
Object.defineProperty(exports, "kitUnixTimestamp", { enumerable: true, get: function () { return kit_8.unixTimestamp; } });
|
|
111
|
+
Object.defineProperty(exports, "commitmentComparator", { enumerable: true, get: function () { return kit_8.commitmentComparator; } });
|
|
112
|
+
// ── Cluster helpers ────────────────────────────────────────────
|
|
113
|
+
var kit_9 = require("@solana/kit");
|
|
114
|
+
Object.defineProperty(exports, "devnet", { enumerable: true, get: function () { return kit_9.devnet; } });
|
|
115
|
+
Object.defineProperty(exports, "mainnet", { enumerable: true, get: function () { return kit_9.mainnet; } });
|
|
116
|
+
Object.defineProperty(exports, "testnet", { enumerable: true, get: function () { return kit_9.testnet; } });
|
|
117
|
+
// ── Account helpers ────────────────────────────────────────────
|
|
118
|
+
var kit_10 = require("@solana/kit");
|
|
119
|
+
Object.defineProperty(exports, "fetchEncodedAccount", { enumerable: true, get: function () { return kit_10.fetchEncodedAccount; } });
|
|
120
|
+
Object.defineProperty(exports, "fetchEncodedAccounts", { enumerable: true, get: function () { return kit_10.fetchEncodedAccounts; } });
|
|
121
|
+
Object.defineProperty(exports, "fetchJsonParsedAccount", { enumerable: true, get: function () { return kit_10.fetchJsonParsedAccount; } });
|
|
122
|
+
Object.defineProperty(exports, "fetchJsonParsedAccounts", { enumerable: true, get: function () { return kit_10.fetchJsonParsedAccounts; } });
|
|
123
|
+
Object.defineProperty(exports, "decodeAccount", { enumerable: true, get: function () { return kit_10.decodeAccount; } });
|
|
124
|
+
Object.defineProperty(exports, "parseBase58RpcAccount", { enumerable: true, get: function () { return kit_10.parseBase58RpcAccount; } });
|
|
125
|
+
Object.defineProperty(exports, "parseBase64RpcAccount", { enumerable: true, get: function () { return kit_10.parseBase64RpcAccount; } });
|
|
126
|
+
Object.defineProperty(exports, "parseJsonRpcAccount", { enumerable: true, get: function () { return kit_10.parseJsonRpcAccount; } });
|
|
127
|
+
Object.defineProperty(exports, "assertAccountExists", { enumerable: true, get: function () { return kit_10.assertAccountExists; } });
|
|
128
|
+
Object.defineProperty(exports, "assertAccountDecoded", { enumerable: true, get: function () { return kit_10.assertAccountDecoded; } });
|
|
129
|
+
var kit_11 = require("@solana/kit");
|
|
130
|
+
Object.defineProperty(exports, "AccountRole", { enumerable: true, get: function () { return kit_11.AccountRole; } });
|
|
131
|
+
// ── Codecs ─────────────────────────────────────────────────────
|
|
132
|
+
var kit_12 = require("@solana/kit");
|
|
133
|
+
Object.defineProperty(exports, "getBase58Encoder", { enumerable: true, get: function () { return kit_12.getBase58Encoder; } });
|
|
134
|
+
Object.defineProperty(exports, "getBase58Decoder", { enumerable: true, get: function () { return kit_12.getBase58Decoder; } });
|
|
135
|
+
Object.defineProperty(exports, "getBase58Codec", { enumerable: true, get: function () { return kit_12.getBase58Codec; } });
|
|
136
|
+
Object.defineProperty(exports, "getBase64Encoder", { enumerable: true, get: function () { return kit_12.getBase64Encoder; } });
|
|
137
|
+
Object.defineProperty(exports, "getBase64Decoder", { enumerable: true, get: function () { return kit_12.getBase64Decoder; } });
|
|
138
|
+
Object.defineProperty(exports, "getBase64Codec", { enumerable: true, get: function () { return kit_12.getBase64Codec; } });
|
|
139
|
+
// ── Errors ─────────────────────────────────────────────────────
|
|
140
|
+
var kit_13 = require("@solana/kit");
|
|
141
|
+
Object.defineProperty(exports, "SolanaError", { enumerable: true, get: function () { return kit_13.SolanaError; } });
|
|
142
|
+
// ── Offchain messages ──────────────────────────────────────────
|
|
143
|
+
var kit_14 = require("@solana/kit");
|
|
144
|
+
Object.defineProperty(exports, "createSignableMessage", { enumerable: true, get: function () { return kit_14.createSignableMessage; } });
|
|
145
|
+
const kit_15 = require("@solana/kit");
|
|
146
|
+
/**
|
|
147
|
+
* Convert a Synapse branded {@link Pubkey} to a Kit {@link Address}.
|
|
148
|
+
*
|
|
149
|
+
* @param pubkey - A Synapse `Pubkey` (base58 string).
|
|
150
|
+
* @returns A Kit `Address` with full type-level validation.
|
|
151
|
+
* @since 1.1.0
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* ```ts
|
|
155
|
+
* import { Pubkey } from '@oobe-protocol-labs/synapse-client-sdk';
|
|
156
|
+
* import { toKitAddress } from '@oobe-protocol-labs/synapse-client-sdk/kit';
|
|
157
|
+
*
|
|
158
|
+
* const addr = toKitAddress(Pubkey('So11111111111111111111111111111111111111112'));
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
function toKitAddress(pubkey) {
|
|
162
|
+
return (0, kit_15.address)(pubkey);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Convert a Kit {@link Address} to a Synapse branded {@link Pubkey}.
|
|
166
|
+
*
|
|
167
|
+
* @param addr - A Kit `Address`.
|
|
168
|
+
* @returns A Synapse `Pubkey`.
|
|
169
|
+
* @since 1.1.0
|
|
170
|
+
*/
|
|
171
|
+
function fromKitAddress(addr) {
|
|
172
|
+
return addr;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Convert a Synapse branded {@link Signature} to a Kit signature string.
|
|
176
|
+
*
|
|
177
|
+
* @param sig - A Synapse `Signature` (base58 string).
|
|
178
|
+
* @returns The raw base58 string (Kit uses plain strings for tx signatures in RPC responses).
|
|
179
|
+
* @since 1.1.0
|
|
180
|
+
*/
|
|
181
|
+
function toKitSignatureString(sig) {
|
|
182
|
+
return sig;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Convert a Synapse branded {@link Lamports} (bigint) to Kit lamports.
|
|
186
|
+
*
|
|
187
|
+
* Kit's `lamports()` factory produces an opaque branded bigint.
|
|
188
|
+
*
|
|
189
|
+
* @param amount - Synapse `Lamports` (bigint).
|
|
190
|
+
* @returns Kit-branded lamports value.
|
|
191
|
+
* @since 1.1.0
|
|
192
|
+
*/
|
|
193
|
+
function toKitLamports(amount) {
|
|
194
|
+
return (0, kit_15.lamports)(amount);
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kit/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;;;;AAuMH,oCAEC;AASD,wCAEC;AASD,oDAEC;AAWD,sCAEC;AApOD,mCAWqB;AAVnB,8FAAA,OAAO,OAAA;AACP,gGAAA,SAAS,OAAA;AACT,sGAAA,eAAe,OAAA;AACf,8GAAA,uBAAuB,OAAA;AACvB,wGAAA,iBAAiB,OAAA;AACjB,wGAAA,iBAAiB,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AEpB,kEAAkE;AAClE,oCAEqB;AADnB,6GAAA,qBAAqB,OAAA;AAQvB,sCAGqB;AAGrB;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,MAAc;IACzC,OAAO,IAAA,cAAU,EAAC,MAA2B,CAAC,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,IAAyB,CAAC;AACnC,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,GAAe;IAClD,OAAO,GAAwB,CAAC;AAClC,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,aAAa,CAAC,MAAuB;IACnD,OAAO,IAAA,eAAkB,EAAC,MAA2B,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
--dark-hl-10: #4EC9B0;
|
|
24
24
|
--light-hl-11: #000000FF;
|
|
25
25
|
--dark-hl-11: #D4D4D4;
|
|
26
|
+
--light-hl-12: #EE0000;
|
|
27
|
+
--dark-hl-12: #D7BA7D;
|
|
26
28
|
--light-code-background: #FFFFFF;
|
|
27
29
|
--dark-code-background: #1E1E1E;
|
|
28
30
|
}
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
--hl-9: var(--light-hl-9);
|
|
41
43
|
--hl-10: var(--light-hl-10);
|
|
42
44
|
--hl-11: var(--light-hl-11);
|
|
45
|
+
--hl-12: var(--light-hl-12);
|
|
43
46
|
--code-background: var(--light-code-background);
|
|
44
47
|
} }
|
|
45
48
|
|
|
@@ -56,6 +59,7 @@
|
|
|
56
59
|
--hl-9: var(--dark-hl-9);
|
|
57
60
|
--hl-10: var(--dark-hl-10);
|
|
58
61
|
--hl-11: var(--dark-hl-11);
|
|
62
|
+
--hl-12: var(--dark-hl-12);
|
|
59
63
|
--code-background: var(--dark-code-background);
|
|
60
64
|
} }
|
|
61
65
|
|
|
@@ -72,6 +76,7 @@
|
|
|
72
76
|
--hl-9: var(--light-hl-9);
|
|
73
77
|
--hl-10: var(--light-hl-10);
|
|
74
78
|
--hl-11: var(--light-hl-11);
|
|
79
|
+
--hl-12: var(--light-hl-12);
|
|
75
80
|
--code-background: var(--light-code-background);
|
|
76
81
|
}
|
|
77
82
|
|
|
@@ -88,6 +93,7 @@
|
|
|
88
93
|
--hl-9: var(--dark-hl-9);
|
|
89
94
|
--hl-10: var(--dark-hl-10);
|
|
90
95
|
--hl-11: var(--dark-hl-11);
|
|
96
|
+
--hl-12: var(--dark-hl-12);
|
|
91
97
|
--code-background: var(--dark-code-background);
|
|
92
98
|
}
|
|
93
99
|
|
|
@@ -103,4 +109,5 @@
|
|
|
103
109
|
.hl-9 { color: var(--hl-9); }
|
|
104
110
|
.hl-10 { color: var(--hl-10); }
|
|
105
111
|
.hl-11 { color: var(--hl-11); }
|
|
112
|
+
.hl-12 { color: var(--hl-12); }
|
|
106
113
|
pre, code { background: var(--code-background); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "data:application/octet-stream;base64,
|
|
1
|
+
window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE7WdbXPbNhLHv4vvbXNtUjfX5p1sy44aW9aIcnKdmxsPTMISxhTBAyDH6s199xs+43EXotS32j9+uwRBAATA1b/+e6bomzr7dJbRZ7LL1dkPZyVRm7NPZ1ue7XIq/75R2/xvg/WFFdnZp/P3v53//NP5/37oy0/SlO8KteQ5HRi02G3lj5qppvWUX384S3Mi5dmnMyWzd0y+o2+KioLkZxo52ReklHRO1XcuXmy4abX4LmVJ14wXAUhjDDOuiLzMGS20Wqrjp/LH3mSWfv9BL39D95KKBRGSChehW0GKKNOVIIUsufBEYpghzmelSoBjmCFOW/VTIbjnqnQrRFmW6R1VG57NubrmuyIL8Pw6iJzwnBQkgNOMDiOuddaAZZmG2MsyBaNrml6oXRnmCE7oMjUrRFmxLeU7FaDoVojyUEolKNkGMIYZ4nwLPm7fIp62ttuZFc98ALBCUfFMUtp3S5XdxHz45aOLmXP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