@solana/rpc-subscriptions-spec
Advanced tools
Comparing version 2.0.0-experimental.27479b3 to 2.0.0-experimental.28775df
@@ -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.27479b3", | ||
"version": "2.0.0-experimental.28775df", | ||
"description": "A generic implementation of JSON RPC Subscriptions using proxies", | ||
@@ -49,4 +49,4 @@ "exports": { | ||
"dependencies": { | ||
"@solana/errors": "2.0.0-experimental.27479b3", | ||
"@solana/rpc-spec-types": "2.0.0-experimental.27479b3" | ||
"@solana/errors": "2.0.0-experimental.28775df", | ||
"@solana/rpc-spec-types": "2.0.0-experimental.28775df" | ||
}, | ||
@@ -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
112230
+ Added@solana/errors@2.0.0-experimental.28775df(transitive)
+ Added@solana/rpc-spec-types@2.0.0-experimental.28775df(transitive)
- Removed@solana/errors@2.0.0-experimental.27479b3(transitive)
- Removed@solana/rpc-spec-types@2.0.0-experimental.27479b3(transitive)