Socket
Socket
Sign inDemoInstall

@solana/rpc-subscriptions

Package Overview
Dependencies
Maintainers
14
Versions
750
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-subscriptions - npm Package Compare versions

Comparing version 2.0.0-canary-20241004180921 to 2.0.0-canary-20241004181514

6

dist/types/rpc-subscriptions-transport.d.ts
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;

18

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc