Socket
Socket
Sign inDemoInstall

@solana/rpc-subscriptions

Package Overview
Dependencies
Maintainers
14
Versions
747
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-20241004213415 to 2.0.0-canary-20241004213757

16

package.json
{
"name": "@solana/rpc-subscriptions",
"version": "2.0.0-canary-20241004213415",
"version": "2.0.0-canary-20241004213757",
"description": "A library for subscribing to Solana RPC notifications",

@@ -57,9 +57,9 @@ "exports": {

"dependencies": {
"@solana/errors": "2.0.0-canary-20241004213415",
"@solana/promises": "2.0.0-canary-20241004213415",
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-canary-20241004213415",
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241004213415",
"@solana/rpc-subscriptions-api": "2.0.0-canary-20241004213415",
"@solana/rpc-transformers": "2.0.0-canary-20241004213415",
"@solana/rpc-types": "2.0.0-canary-20241004213415"
"@solana/errors": "2.0.0-canary-20241004213757",
"@solana/promises": "2.0.0-canary-20241004213757",
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-canary-20241004213757",
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20241004213757",
"@solana/rpc-transformers": "2.0.0-canary-20241004213757",
"@solana/rpc-types": "2.0.0-canary-20241004213757",
"@solana/rpc-subscriptions-api": "2.0.0-canary-20241004213757"
},

@@ -66,0 +66,0 @@ "peerDependencies": {

@@ -34,1 +34,5 @@ [![npm][npm-image]][npm-url]

Given an `RpcSubscriptionsChannel`, will return a new channel that parses data published to the `'message'` channel as JSON, and JSON-stringifies messages sent via the `send(message)` method.
### `getRpcSubscriptionsChannelWithAutoping(channel)`
Given an `RpcSubscriptionsChannel`, will return a new channel that sends a ping message to the inner channel if a message has not been sent or received in the last `intervalMs`. In web browsers, this implementation sends no ping when the network is down, and sends a ping immediately upon the network coming back up.
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