@solana/rpc-subscriptions-api
Advanced tools
Comparing version 2.0.0-canary-20241027103025 to 2.0.0-canary-20241027112806
@@ -1,2 +0,2 @@ | ||
import type { Base58EncodedBytes, Blockhash, Commitment, Reward, Slot, SolanaRpcResponse, TransactionForAccounts, TransactionForFullBase58, TransactionForFullBase64, TransactionForFullJson, TransactionForFullJsonParsed, U64UnsafeBeyond2Pow53Minus1, UnixTimestampUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import type { Base58EncodedBytes, Blockhash, Commitment, Reward, Slot, SolanaRpcResponse, TransactionForAccounts, TransactionForFullBase58, TransactionForFullBase64, TransactionForFullJson, TransactionForFullJsonParsed, U64, UnixTimestamp } from '@solana/rpc-types'; | ||
import type { TransactionVersion } from '@solana/transaction-messages'; | ||
@@ -15,5 +15,5 @@ type BlockNotificationsNotificationBase = Readonly<{ | ||
/** The number of blocks beneath this block */ | ||
blockHeight: U64UnsafeBeyond2Pow53Minus1; | ||
blockHeight: U64; | ||
/** Estimated production time, as Unix timestamp */ | ||
blockTime: UnixTimestampUnsafeBeyond2Pow53Minus1; | ||
blockTime: UnixTimestamp; | ||
/** the blockhash of this block */ | ||
@@ -20,0 +20,0 @@ blockhash: Blockhash; |
import type { Address } from '@solana/addresses'; | ||
import type { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, Base58EncodedBytes, Base64EncodedBytes, Commitment, SolanaRpcResponse, U64UnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import type { AccountInfoBase, AccountInfoWithBase58Bytes, AccountInfoWithBase58EncodedData, AccountInfoWithBase64EncodedData, AccountInfoWithBase64EncodedZStdCompressedData, AccountInfoWithJsonData, Base58EncodedBytes, Base64EncodedBytes, Commitment, SolanaRpcResponse, U64 } from '@solana/rpc-types'; | ||
type ProgramNotificationsMemcmpFilterBase58 = Readonly<{ | ||
bytes: Base58EncodedBytes; | ||
encoding: 'base58'; | ||
offset: U64UnsafeBeyond2Pow53Minus1; | ||
offset: U64; | ||
}>; | ||
@@ -11,5 +11,5 @@ type ProgramNotificationsMemcmpFilterBase64 = Readonly<{ | ||
encoding: 'base64'; | ||
offset: U64UnsafeBeyond2Pow53Minus1; | ||
offset: U64; | ||
}>; | ||
type ProgramNotificationsDatasizeFilter = U64UnsafeBeyond2Pow53Minus1; | ||
type ProgramNotificationsDatasizeFilter = U64; | ||
type ProgramNotificationsApiNotificationBase<TData> = SolanaRpcResponse<Readonly<{ | ||
@@ -16,0 +16,0 @@ account: AccountInfoBase & TData; |
@@ -1,5 +0,5 @@ | ||
import type { Slot, U64UnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import type { Slot, U64 } from '@solana/rpc-types'; | ||
type SlotsUpdatesNotificationsApiNotificationBase = Readonly<{ | ||
slot: Slot; | ||
timestamp: U64UnsafeBeyond2Pow53Minus1; | ||
timestamp: U64; | ||
type: 'completed' | 'firstShredReceived' | 'optimisticConfirmation' | 'root'; | ||
@@ -17,6 +17,6 @@ }>; | ||
stats: Readonly<{ | ||
maxTransactionsPerEntry: U64UnsafeBeyond2Pow53Minus1; | ||
numFailedTransactions: U64UnsafeBeyond2Pow53Minus1; | ||
numSuccessfulTransactions: U64UnsafeBeyond2Pow53Minus1; | ||
numTransactionEntries: U64UnsafeBeyond2Pow53Minus1; | ||
maxTransactionsPerEntry: U64; | ||
numFailedTransactions: U64; | ||
numSuccessfulTransactions: U64; | ||
numTransactionEntries: U64; | ||
}>; | ||
@@ -23,0 +23,0 @@ type: 'frozen'; |
import type { Address } from '@solana/addresses'; | ||
import type { Signature } from '@solana/keys'; | ||
import type { Blockhash, Slot, UnixTimestampUnsafeBeyond2Pow53Minus1 } from '@solana/rpc-types'; | ||
import type { Blockhash, Slot, UnixTimestamp } from '@solana/rpc-types'; | ||
type VoteNotificationsApiNotification = Readonly<{ | ||
@@ -8,3 +8,3 @@ hash: Blockhash; | ||
slots: readonly Slot[]; | ||
timestamp: UnixTimestampUnsafeBeyond2Pow53Minus1 | null; | ||
timestamp: UnixTimestamp | null; | ||
votePubkey: Address; | ||
@@ -11,0 +11,0 @@ }>; |
{ | ||
"name": "@solana/rpc-subscriptions-api", | ||
"version": "2.0.0-canary-20241027103025", | ||
"version": "2.0.0-canary-20241027112806", | ||
"description": "Defines all default Solana RPC subscriptions as types", | ||
@@ -57,9 +57,9 @@ "exports": { | ||
"dependencies": { | ||
"@solana/addresses": "2.0.0-canary-20241027103025", | ||
"@solana/keys": "2.0.0-canary-20241027103025", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241027103025", | ||
"@solana/rpc-transformers": "2.0.0-canary-20241027103025", | ||
"@solana/rpc-types": "2.0.0-canary-20241027103025", | ||
"@solana/transaction-messages": "2.0.0-canary-20241027103025", | ||
"@solana/transactions": "2.0.0-canary-20241027103025" | ||
"@solana/addresses": "2.0.0-canary-20241027112806", | ||
"@solana/keys": "2.0.0-canary-20241027112806", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241027112806", | ||
"@solana/rpc-types": "2.0.0-canary-20241027112806", | ||
"@solana/rpc-transformers": "2.0.0-canary-20241027112806", | ||
"@solana/transaction-messages": "2.0.0-canary-20241027112806", | ||
"@solana/transactions": "2.0.0-canary-20241027112806" | ||
}, | ||
@@ -66,0 +66,0 @@ "peerDependencies": { |
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
146819
1452
+ Added@solana/addresses@2.0.0-canary-20241027112806(transitive)
+ Added@solana/assertions@2.0.0-canary-20241027112806(transitive)
+ Added@solana/codecs-core@2.0.0-canary-20241027112806(transitive)
+ Added@solana/codecs-data-structures@2.0.0-canary-20241027112806(transitive)
+ Added@solana/codecs-numbers@2.0.0-canary-20241027112806(transitive)
+ Added@solana/codecs-strings@2.0.0-canary-20241027112806(transitive)
+ Added@solana/errors@2.0.0-canary-20241027112806(transitive)
+ Added@solana/functional@2.0.0-canary-20241027112806(transitive)
+ Added@solana/instructions@2.0.0-canary-20241027112806(transitive)
+ Added@solana/keys@2.0.0-canary-20241027112806(transitive)
+ Added@solana/promises@2.0.0-canary-20241027112806(transitive)
+ Added@solana/rpc-spec-types@2.0.0-canary-20241027112806(transitive)
+ Added@solana/rpc-subscriptions-spec@2.0.0-canary-20241027112806(transitive)
+ Added@solana/rpc-transformers@2.0.0-canary-20241027112806(transitive)
+ Added@solana/rpc-types@2.0.0-canary-20241027112806(transitive)
+ Added@solana/subscribable@2.0.0-canary-20241027112806(transitive)
+ Added@solana/transaction-messages@2.0.0-canary-20241027112806(transitive)
+ Added@solana/transactions@2.0.0-canary-20241027112806(transitive)
- Removed@solana/addresses@2.0.0-canary-20241027103025(transitive)
- Removed@solana/assertions@2.0.0-canary-20241027103025(transitive)
- Removed@solana/codecs-core@2.0.0-canary-20241027103025(transitive)
- Removed@solana/codecs-data-structures@2.0.0-canary-20241027103025(transitive)
- Removed@solana/codecs-numbers@2.0.0-canary-20241027103025(transitive)
- Removed@solana/codecs-strings@2.0.0-canary-20241027103025(transitive)
- Removed@solana/errors@2.0.0-canary-20241027103025(transitive)
- Removed@solana/functional@2.0.0-canary-20241027103025(transitive)
- Removed@solana/instructions@2.0.0-canary-20241027103025(transitive)
- Removed@solana/keys@2.0.0-canary-20241027103025(transitive)
- Removed@solana/promises@2.0.0-canary-20241027103025(transitive)
- Removed@solana/rpc-spec-types@2.0.0-canary-20241027103025(transitive)
- Removed@solana/rpc-subscriptions-spec@2.0.0-canary-20241027103025(transitive)
- Removed@solana/rpc-transformers@2.0.0-canary-20241027103025(transitive)
- Removed@solana/rpc-types@2.0.0-canary-20241027103025(transitive)
- Removed@solana/subscribable@2.0.0-canary-20241027103025(transitive)
- Removed@solana/transaction-messages@2.0.0-canary-20241027103025(transitive)
- Removed@solana/transactions@2.0.0-canary-20241027103025(transitive)
Updated@solana/rpc-subscriptions-spec@2.0.0-canary-20241027112806
Updated@solana/transaction-messages@2.0.0-canary-20241027112806