@solana/rpc-subscriptions
Advanced tools
Comparing version 2.0.0-canary-20241004180921 to 2.0.0-canary-20241004181514
import type { ClusterUrl } from '@solana/rpc-types'; | ||
import { RpcSubscriptionsTransportFromClusterUrl } from './rpc-subscriptions-clusters'; | ||
export type DefaultRpcSubscriptionsTransportConfig<TClusterUrl extends ClusterUrl> = Readonly<{ | ||
/** | ||
* You might like to open more subscriptions per connection than your RPC provider allows | ||
* for. Using the initial payload as input, return a shard key from this method to assign | ||
* subscriptions to separate connections. One socket will be opened per shard key. | ||
*/ | ||
getShard?: (payload: unknown) => string; | ||
intervalMs?: number; | ||
@@ -11,0 +5,0 @@ sendBufferHighWatermark?: number; |
{ | ||
"name": "@solana/rpc-subscriptions", | ||
"version": "2.0.0-canary-20241004180921", | ||
"version": "2.0.0-canary-20241004181514", | ||
"description": "A library for subscribing to Solana RPC notifications", | ||
@@ -57,11 +57,9 @@ "exports": { | ||
"dependencies": { | ||
"@solana/errors": "2.0.0-canary-20241004180921", | ||
"@solana/fast-stable-stringify": "2.0.0-canary-20241004180921", | ||
"@solana/functional": "2.0.0-canary-20241004180921", | ||
"@solana/promises": "2.0.0-canary-20241004180921", | ||
"@solana/rpc-subscriptions-api": "2.0.0-canary-20241004180921", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241004180921", | ||
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-canary-20241004180921", | ||
"@solana/rpc-transformers": "2.0.0-canary-20241004180921", | ||
"@solana/rpc-types": "2.0.0-canary-20241004180921" | ||
"@solana/errors": "2.0.0-canary-20241004181514", | ||
"@solana/rpc-subscriptions-api": "2.0.0-canary-20241004181514", | ||
"@solana/promises": "2.0.0-canary-20241004181514", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241004181514", | ||
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-canary-20241004181514", | ||
"@solana/rpc-transformers": "2.0.0-canary-20241004181514", | ||
"@solana/rpc-types": "2.0.0-canary-20241004181514" | ||
}, | ||
@@ -68,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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
8
0
73897
25
476
1
+ Added@solana/addresses@2.0.0-canary-20241004181514(transitive)
+ Added@solana/assertions@2.0.0-canary-20241004181514(transitive)
+ Added@solana/codecs-core@2.0.0-canary-20241004181514(transitive)
+ Added@solana/codecs-data-structures@2.0.0-canary-20241004181514(transitive)
+ Added@solana/codecs-numbers@2.0.0-canary-20241004181514(transitive)
+ Added@solana/codecs-strings@2.0.0-canary-20241004181514(transitive)
+ Added@solana/errors@2.0.0-canary-20241004181514(transitive)
+ Added@solana/functional@2.0.0-canary-20241004181514(transitive)
+ Added@solana/instructions@2.0.0-canary-20241004181514(transitive)
+ Added@solana/keys@2.0.0-canary-20241004181514(transitive)
+ Added@solana/promises@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-spec@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-spec-types@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-subscriptions-api@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-subscriptions-spec@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-subscriptions-transport-websocket@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-transformers@2.0.0-canary-20241004181514(transitive)
+ Added@solana/rpc-types@2.0.0-canary-20241004181514(transitive)
+ Added@solana/transaction-messages@2.0.0-canary-20241004181514(transitive)
+ Added@solana/transactions@2.0.0-canary-20241004181514(transitive)
- Removed@solana/fast-stable-stringify@2.0.0-canary-20241004180921
- Removed@solana/addresses@2.0.0-canary-20241004180921(transitive)
- Removed@solana/assertions@2.0.0-canary-20241004180921(transitive)
- Removed@solana/codecs-core@2.0.0-canary-20241004180921(transitive)
- Removed@solana/codecs-data-structures@2.0.0-canary-20241004180921(transitive)
- Removed@solana/codecs-numbers@2.0.0-canary-20241004180921(transitive)
- Removed@solana/codecs-strings@2.0.0-canary-20241004180921(transitive)
- Removed@solana/errors@2.0.0-canary-20241004180921(transitive)
- Removed@solana/fast-stable-stringify@2.0.0-canary-20241004180921(transitive)
- Removed@solana/functional@2.0.0-canary-20241004180921(transitive)
- Removed@solana/instructions@2.0.0-canary-20241004180921(transitive)
- Removed@solana/keys@2.0.0-canary-20241004180921(transitive)
- Removed@solana/promises@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-spec@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-spec-types@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-subscriptions-api@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-subscriptions-spec@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-subscriptions-transport-websocket@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-transformers@2.0.0-canary-20241004180921(transitive)
- Removed@solana/rpc-types@2.0.0-canary-20241004180921(transitive)
- Removed@solana/transaction-messages@2.0.0-canary-20241004180921(transitive)
- Removed@solana/transactions@2.0.0-canary-20241004180921(transitive)
Updated@solana/rpc-subscriptions-api@2.0.0-canary-20241004181514
Updated@solana/rpc-subscriptions-spec@2.0.0-canary-20241004181514
Updated@solana/rpc-subscriptions-transport-websocket@2.0.0-canary-20241004181514