@solana/rpc-core
Advanced tools
Comparing version 2.0.0-experimental.6466d76 to 2.0.0-experimental.651e653
import { Address } from '@solana/addresses'; | ||
import { LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import { Blockhash, TransactionVersion } from '@solana/transactions'; | ||
import { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Blockhash, LamportsUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import { TransactionVersion } from '@solana/transactions'; | ||
import { TransactionError } from '../transaction-error.js'; | ||
import { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, SignedLamportsAsI64Unsafe, TokenBalance, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import { SignedLamportsAsI64Unsafe, TokenBalance, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
type AddressTableLookup = Readonly<{ | ||
@@ -7,0 +7,0 @@ /** public key for an address lookup table account. */ |
import { Address } from '@solana/addresses'; | ||
import type { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Base64EncodedZStdCompressedDataResponse } from '@solana/rpc-types'; | ||
import { LamportsUnsafeBeyond2Pow53Minus1, TokenAmount } from '@solana/rpc-types'; | ||
@@ -20,14 +21,2 @@ export type DataSlice = Readonly<{ | ||
}>; | ||
export type Base58EncodedBytes = string & { | ||
readonly __brand: unique symbol; | ||
}; | ||
export type Base64EncodedBytes = string & { | ||
readonly __brand: unique symbol; | ||
}; | ||
export type Base64EncodedZStdCompressedBytes = string & { | ||
readonly __brand: unique symbol; | ||
}; | ||
export type Base58EncodedDataResponse = [Base58EncodedBytes, 'base58']; | ||
export type Base64EncodedDataResponse = [Base64EncodedBytes, 'base64']; | ||
export type Base64EncodedZStdCompressedDataResponse = [Base64EncodedZStdCompressedBytes, 'base64+zstd']; | ||
export type AccountInfoBase = Readonly<{ | ||
@@ -34,0 +23,0 @@ /** indicates if the account contains a program (and is strictly read-only) */ |
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Commitment, UnixTimestamp } from '@solana/rpc-types'; | ||
import { Blockhash, TransactionVersion } from '@solana/transactions'; | ||
import { Base58EncodedBytes, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import type { Base58EncodedBytes, Blockhash, Commitment, UnixTimestamp } from '@solana/rpc-types'; | ||
import { TransactionVersion } from '@solana/transactions'; | ||
import { Slot, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import { Reward, TransactionForAccounts, TransactionForFullBase58, TransactionForFullBase64, TransactionForFullJson, TransactionForFullJsonParsed } from './common-transactions.js'; | ||
@@ -6,0 +6,0 @@ type GetBlockApiResponseBase = Readonly<{ |
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import type { Blockhash } from '@solana/rpc-types'; | ||
type GetGenesisHashApiResponse = Blockhash; | ||
@@ -4,0 +4,0 @@ export interface GetGenesisHashApi extends IRpcApiMethods { |
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Commitment } from '@solana/rpc-types'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import type { Blockhash, Commitment } from '@solana/rpc-types'; | ||
import { RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
@@ -5,0 +4,0 @@ type GetLatestBlockhashApiResponse = RpcResponse<{ |
import { Address } from '@solana/addresses'; | ||
import type { TokenAccount } from '@solana/rpc-parsed-types'; | ||
import type { JsonParsedTokenAccount } from '@solana/rpc-parsed-types'; | ||
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
@@ -11,3 +11,3 @@ import { Commitment } from '@solana/rpc-types'; | ||
parsed: { | ||
info: TokenAccount; | ||
info: JsonParsedTokenAccount; | ||
type: 'account'; | ||
@@ -14,0 +14,0 @@ }; |
import { Address } from '@solana/addresses'; | ||
import type { TokenAccount } from '@solana/rpc-parsed-types'; | ||
import type { JsonParsedTokenAccount } from '@solana/rpc-parsed-types'; | ||
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
@@ -11,3 +11,3 @@ import { Commitment } from '@solana/rpc-types'; | ||
parsed: { | ||
info: TokenAccount; | ||
info: JsonParsedTokenAccount; | ||
type: 'account'; | ||
@@ -14,0 +14,0 @@ }; |
import { Address } from '@solana/addresses'; | ||
import { Signature } from '@solana/keys'; | ||
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Commitment, LamportsUnsafeBeyond2Pow53Minus1, UnixTimestamp } from '@solana/rpc-types'; | ||
import { Blockhash, TransactionVersion } from '@solana/transactions'; | ||
import { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Blockhash, Commitment, LamportsUnsafeBeyond2Pow53Minus1, UnixTimestamp } from '@solana/rpc-types'; | ||
import { TransactionVersion } from '@solana/transactions'; | ||
import { TransactionError } from '../transaction-error.js'; | ||
import { Base58EncodedBytes, Base58EncodedDataResponse, Base64EncodedDataResponse, Slot, TokenBalance, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import { Slot, TokenBalance, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import { Reward, TransactionStatus } from './common-transactions.js'; | ||
@@ -9,0 +9,0 @@ type ReturnData = { |
@@ -60,3 +60,3 @@ import { IRpcApi } from '@solana/rpc-transport'; | ||
export type { GetAccountInfoApi, GetBalanceApi, GetBlockApi, GetBlockCommitmentApi, GetBlockHeightApi, GetBlockProductionApi, GetBlocksApi, GetBlocksWithLimitApi, GetBlockTimeApi, GetClusterNodesApi, GetEpochInfoApi, GetEpochScheduleApi, GetFeeForMessageApi, GetFirstAvailableBlockApi, GetGenesisHashApi, GetHealthApi, GetHighestSnapshotSlotApi, GetIdentityApi, GetInflationGovernorApi, GetInflationRateApi, GetInflationRewardApi, GetLargestAccountsApi, GetLatestBlockhashApi, GetLeaderScheduleApi, GetMaxRetransmitSlotApi, GetMaxShredInsertSlotApi, GetMinimumBalanceForRentExemptionApi, GetMultipleAccountsApi, GetProgramAccountsApi, GetRecentPerformanceSamplesApi, GetRecentPrioritizationFeesApi, GetSignaturesForAddressApi, GetSignatureStatusesApi, GetSlotApi, GetSlotLeaderApi, GetSlotLeadersApi, GetStakeActivationApi, GetStakeMinimumDelegationApi, GetSupplyApi, GetTokenAccountBalanceApi, GetTokenAccountsByDelegateApi, GetTokenAccountsByOwnerApi, GetTokenLargestAccountsApi, GetTokenSupplyApi, GetTransactionApi, GetTransactionCountApi, GetVersionApi, GetVoteAccountsApi, IsBlockhashValidApi, MinimumLedgerSlotApi, RequestAirdropApi, SendTransactionApi, SimulateTransactionApi, }; | ||
export type { Base64EncodedDataResponse, DataSlice, GetProgramAccountsDatasizeFilter, GetProgramAccountsMemcmpFilter, Slot, } from './common.js'; | ||
export type { DataSlice, GetProgramAccountsDatasizeFilter, GetProgramAccountsMemcmpFilter, Slot } from './common.js'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Commitment } from '@solana/rpc-types'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import type { Blockhash, Commitment } from '@solana/rpc-types'; | ||
import { RpcResponse, Slot } from './common.js'; | ||
@@ -5,0 +4,0 @@ type IsBlockhashValidApiResponse = RpcResponse<boolean>; |
import { Address } from '@solana/addresses'; | ||
import type { IRpcApiMethods } from '@solana/rpc-transport'; | ||
import { Commitment } from '@solana/rpc-types'; | ||
import { Base58EncodedBytes, Base64EncodedDataResponse, Commitment } from '@solana/rpc-types'; | ||
import { Base64EncodedWireTransaction } from '@solana/transactions'; | ||
import { TransactionError } from '../transaction-error.js'; | ||
import { AccountInfoBase, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, Base58EncodedBytes, Base64EncodedDataResponse, RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
import { AccountInfoBase, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common.js'; | ||
type SimulateTransactionConfigBase = Readonly<{ | ||
@@ -8,0 +8,0 @@ /** |
import type { IRpcApiSubscriptions } from '@solana/rpc-transport'; | ||
import { Commitment, UnixTimestamp } from '@solana/rpc-types'; | ||
import { Blockhash, TransactionVersion } from '@solana/transactions'; | ||
import { Base58EncodedBytes, RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from '../rpc-methods/common.js'; | ||
import type { Base58EncodedBytes, Blockhash, Commitment, UnixTimestamp } from '@solana/rpc-types'; | ||
import { TransactionVersion } from '@solana/transactions'; | ||
import { RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from '../rpc-methods/common.js'; | ||
import { Reward, TransactionForAccounts, TransactionForFullBase58, TransactionForFullBase64, TransactionForFullJson, TransactionForFullJsonParsed } from '../rpc-methods/common-transactions.js'; | ||
@@ -6,0 +6,0 @@ type BlockNotificationsNotificationBase = Readonly<{ |
import { Address } from '@solana/addresses'; | ||
import type { IRpcApiSubscriptions } from '@solana/rpc-transport'; | ||
import { Commitment } from '@solana/rpc-types'; | ||
import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, Base58EncodedBytes, Base64EncodedBytes, RpcResponse, U64UnsafeBeyond2Pow53Minus1 } from '../rpc-methods/common.js'; | ||
import { Base58EncodedBytes, Base64EncodedBytes, Commitment } from '@solana/rpc-types'; | ||
import { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, RpcResponse, U64UnsafeBeyond2Pow53Minus1 } from '../rpc-methods/common.js'; | ||
type ProgramNotificationsMemcmpFilterBase58 = Readonly<{ | ||
@@ -6,0 +6,0 @@ offset: U64UnsafeBeyond2Pow53Minus1; |
import { Address } from '@solana/addresses'; | ||
import { Signature } from '@solana/keys'; | ||
import { UnixTimestamp } from '@solana/rpc-types'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import type { Blockhash, UnixTimestamp } from '@solana/rpc-types'; | ||
import { Slot } from '../rpc-methods/common.js'; | ||
@@ -6,0 +5,0 @@ type VoteNotificationsApiNotification = Readonly<{ |
{ | ||
"name": "@solana/rpc-core", | ||
"version": "2.0.0-experimental.6466d76", | ||
"version": "2.0.0-experimental.651e653", | ||
"description": "A library for making calls to the Solana JSON RPC API", | ||
@@ -67,10 +67,10 @@ "exports": { | ||
"version-from-git": "^1.1.1", | ||
"@solana/addresses": "2.0.0-experimental.6466d76", | ||
"@solana/codecs-strings": "2.0.0-experimental.6466d76", | ||
"@solana/codecs-core": "2.0.0-experimental.6466d76", | ||
"@solana/keys": "2.0.0-experimental.6466d76", | ||
"@solana/rpc-parsed-types": "2.0.0-experimental.6466d76", | ||
"@solana/rpc-transport": "2.0.0-experimental.6466d76", | ||
"@solana/rpc-types": "2.0.0-experimental.6466d76", | ||
"@solana/transactions": "2.0.0-experimental.6466d76", | ||
"@solana/addresses": "2.0.0-experimental.651e653", | ||
"@solana/codecs-core": "2.0.0-experimental.651e653", | ||
"@solana/codecs-strings": "2.0.0-experimental.651e653", | ||
"@solana/keys": "2.0.0-experimental.651e653", | ||
"@solana/rpc-parsed-types": "2.0.0-experimental.651e653", | ||
"@solana/rpc-transport": "2.0.0-experimental.651e653", | ||
"@solana/rpc-types": "2.0.0-experimental.651e653", | ||
"@solana/transactions": "2.0.0-experimental.651e653", | ||
"build-scripts": "0.0.0", | ||
@@ -77,0 +77,0 @@ "test-config": "0.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
685558
6673