Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/rpc-subscriptions-spec

Package Overview
Dependencies
Maintainers
0
Versions
943
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-subscriptions-spec - npm Package Compare versions

Comparing version 2.0.0-canary-20241023092107 to 2.0.0-canary-20241023092356

11

dist/types/rpc-subscriptions-api.d.ts

@@ -1,2 +0,2 @@

import { Callable, RpcRequest } from '@solana/rpc-spec-types';
import { Callable, RpcRequest, RpcRequestTransformer } from '@solana/rpc-spec-types';
import { DataPublisher } from '@solana/subscribable';

@@ -6,4 +6,4 @@ import { RpcSubscriptionsChannel } from './rpc-subscriptions-channel';

export type RpcSubscriptionsApiConfig<TApiMethods extends RpcSubscriptionsApiMethods> = Readonly<{
getSubscriptionConfigurationHash?: (request: RpcRequest) => string | undefined;
planExecutor: RpcSubscriptionsPlanExecutor<ReturnType<TApiMethods[keyof TApiMethods]>>;
requestTransformer?: RpcRequestTransformer;
}>;

@@ -24,6 +24,7 @@ type RpcSubscriptionsPlanExecutor<TNotification> = (config: Readonly<{

/**
* This hash uniquely identifies the configuration of a subscription. It is typically used by
* consumers of this API to deduplicate multiple subscriptions for the same notification.
* This request is used to uniquely identify the subscription.
* It typically comes from the method name and parameters of the subscription call,
* after potentially being transformed by the RPC Subscriptions API.
*/
subscriptionConfigurationHash: string | undefined;
request: RpcRequest;
}>;

@@ -30,0 +31,0 @@ export type RpcSubscriptionsApi<TRpcSubscriptionMethods> = {

{
"name": "@solana/rpc-subscriptions-spec",
"version": "2.0.0-canary-20241023092107",
"version": "2.0.0-canary-20241023092356",
"description": "A generic implementation of JSON RPC Subscriptions using proxies",

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

"dependencies": {
"@solana/errors": "2.0.0-canary-20241023092107",
"@solana/rpc-spec-types": "2.0.0-canary-20241023092107",
"@solana/subscribable": "2.0.0-canary-20241023092107",
"@solana/promises": "2.0.0-canary-20241023092107"
"@solana/errors": "2.0.0-canary-20241023092356",
"@solana/promises": "2.0.0-canary-20241023092356",
"@solana/rpc-spec-types": "2.0.0-canary-20241023092356",
"@solana/subscribable": "2.0.0-canary-20241023092356"
},

@@ -63,0 +63,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

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