New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@solana/rpc-subscriptions-spec

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-experimental.378499d to 2.0.0-experimental.3fc662d

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

import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { createRpcMessage, RpcError } from '@solana/rpc-spec-types';

@@ -21,3 +21,3 @@

if (p.toString().endsWith("Notifications") === false && !createRpcSubscription) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
notificationName

@@ -84,3 +84,3 @@ });

if (subscriptionId == null) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID);
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID);
}

@@ -87,0 +87,0 @@ return {

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

import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { createRpcMessage, RpcError } from '@solana/rpc-spec-types';

@@ -21,3 +21,3 @@

if (p.toString().endsWith("Notifications") === false && !createRpcSubscription) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
notificationName

@@ -84,3 +84,3 @@ });

if (subscriptionId == null) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID);
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID);
}

@@ -87,0 +87,0 @@ return {

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

import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { SolanaError, SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID } from '@solana/errors';
import { createRpcMessage, RpcError } from '@solana/rpc-spec-types';

@@ -21,3 +21,3 @@

if (p.toString().endsWith("Notifications") === false && !createRpcSubscription) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__CANNOT_CREATE_SUBSCRIPTION_REQUEST, {
notificationName

@@ -84,3 +84,3 @@ });

if (subscriptionId == null) {
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS_EXPECTED_SERVER_SUBSCRIPTION_ID);
throw new SolanaError(SOLANA_ERROR__RPC_SUBSCRIPTIONS__EXPECTED_SERVER_SUBSCRIPTION_ID);
}

@@ -87,0 +87,0 @@ return {

{
"name": "@solana/rpc-subscriptions-spec",
"version": "2.0.0-experimental.378499d",
"version": "2.0.0-experimental.3fc662d",
"description": "A generic implementation of JSON RPC Subscriptions using proxies",

@@ -49,4 +49,4 @@ "exports": {

"dependencies": {
"@solana/errors": "2.0.0-experimental.378499d",
"@solana/rpc-spec-types": "2.0.0-experimental.378499d"
"@solana/errors": "2.0.0-experimental.3fc662d",
"@solana/rpc-spec-types": "2.0.0-experimental.3fc662d"
},

@@ -53,0 +53,0 @@ "bundlewatch": {

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