@solana/rpc-subscriptions
Advanced tools
Comparing version 2.0.0-experimental.378499d to 2.0.0-experimental.3fc662d
@@ -7,3 +7,3 @@ import { createSolanaRpcSubscriptionsApi } from '@solana/rpc-subscriptions-api'; | ||
import fastStableStringify from 'fast-stable-stringify'; | ||
import { SolanaError, SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { SolanaError, SOLANA_ERROR__RPC__INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { createWebSocketTransport } from '@solana/rpc-subscriptions-transport-websocket'; | ||
@@ -32,3 +32,3 @@ | ||
const path = keyPath.length > 1 ? keyPath.slice(1).map((pathPart) => typeof pathPart === "number" ? `[${pathPart}]` : pathPart).join(".") : void 0; | ||
const error = new SolanaError(SOLANA_ERROR__RPC_INTEGER_OVERFLOW, { | ||
const error = new SolanaError(SOLANA_ERROR__RPC__INTEGER_OVERFLOW, { | ||
argumentLabel, | ||
@@ -75,3 +75,3 @@ keyPath, | ||
if (!currentCacheEntry) { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
cacheKey: cacheKey.toString() | ||
@@ -78,0 +78,0 @@ }); |
@@ -7,3 +7,3 @@ import { createSolanaRpcSubscriptionsApi } from '@solana/rpc-subscriptions-api'; | ||
import fastStableStringify from 'fast-stable-stringify'; | ||
import { SolanaError, SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { SolanaError, SOLANA_ERROR__RPC__INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { createWebSocketTransport } from '@solana/rpc-subscriptions-transport-websocket'; | ||
@@ -32,3 +32,3 @@ | ||
const path = keyPath.length > 1 ? keyPath.slice(1).map((pathPart) => typeof pathPart === "number" ? `[${pathPart}]` : pathPart).join(".") : void 0; | ||
const error = new SolanaError(SOLANA_ERROR__RPC_INTEGER_OVERFLOW, { | ||
const error = new SolanaError(SOLANA_ERROR__RPC__INTEGER_OVERFLOW, { | ||
argumentLabel, | ||
@@ -75,3 +75,3 @@ keyPath, | ||
if (!currentCacheEntry) { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
cacheKey: cacheKey.toString() | ||
@@ -78,0 +78,0 @@ }); |
@@ -7,3 +7,3 @@ import { createSolanaRpcSubscriptionsApi } from '@solana/rpc-subscriptions-api'; | ||
import fastStableStringify from 'fast-stable-stringify'; | ||
import { SolanaError, SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { SolanaError, SOLANA_ERROR__RPC__INTEGER_OVERFLOW, SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING } from '@solana/errors'; | ||
import { createWebSocketTransport } from '@solana/rpc-subscriptions-transport-websocket'; | ||
@@ -32,3 +32,3 @@ | ||
const path = keyPath.length > 1 ? keyPath.slice(1).map((pathPart) => typeof pathPart === "number" ? `[${pathPart}]` : pathPart).join(".") : void 0; | ||
const error = new SolanaError(SOLANA_ERROR__RPC_INTEGER_OVERFLOW, { | ||
const error = new SolanaError(SOLANA_ERROR__RPC__INTEGER_OVERFLOW, { | ||
argumentLabel, | ||
@@ -75,3 +75,3 @@ keyPath, | ||
if (!currentCacheEntry) { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION_CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
throw new SolanaError(SOLANA_ERROR__INVARIANT_VIOLATION__CACHED_ABORTABLE_ITERABLE_CACHE_ENTRY_MISSING, { | ||
cacheKey: cacheKey.toString() | ||
@@ -78,0 +78,0 @@ }); |
@@ -1,4 +0,4 @@ | ||
import { SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SolanaError } from '@solana/errors'; | ||
import { SOLANA_ERROR__RPC__INTEGER_OVERFLOW, SolanaError } from '@solana/errors'; | ||
import type { KeyPath } from '@solana/rpc-transformers'; | ||
export declare function createSolanaJsonRpcIntegerOverflowError(methodName: string, keyPath: KeyPath, value: bigint): SolanaError<typeof SOLANA_ERROR__RPC_INTEGER_OVERFLOW>; | ||
export declare function createSolanaJsonRpcIntegerOverflowError(methodName: string, keyPath: KeyPath, value: bigint): SolanaError<typeof SOLANA_ERROR__RPC__INTEGER_OVERFLOW>; | ||
//# sourceMappingURL=rpc-integer-overflow-error.d.ts.map |
{ | ||
"name": "@solana/rpc-subscriptions", | ||
"version": "2.0.0-experimental.378499d", | ||
"version": "2.0.0-experimental.3fc662d", | ||
"description": "A library for subscribing to Solana RPC notifications", | ||
@@ -50,9 +50,9 @@ "exports": { | ||
"fast-stable-stringify": "^1.0.0", | ||
"@solana/errors": "2.0.0-experimental.378499d", | ||
"@solana/functional": "2.0.0-experimental.378499d", | ||
"@solana/rpc-subscriptions-api": "2.0.0-experimental.378499d", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-experimental.378499d", | ||
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-experimental.378499d", | ||
"@solana/rpc-transformers": "2.0.0-experimental.378499d", | ||
"@solana/rpc-types": "2.0.0-experimental.378499d" | ||
"@solana/errors": "2.0.0-experimental.3fc662d", | ||
"@solana/rpc-subscriptions-api": "2.0.0-experimental.3fc662d", | ||
"@solana/functional": "2.0.0-experimental.3fc662d", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-experimental.3fc662d", | ||
"@solana/rpc-subscriptions-transport-websocket": "2.0.0-experimental.3fc662d", | ||
"@solana/rpc-transformers": "2.0.0-experimental.3fc662d", | ||
"@solana/rpc-types": "2.0.0-experimental.3fc662d" | ||
}, | ||
@@ -59,0 +59,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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245175
+ Added@solana/addresses@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/assertions@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/codecs-core@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/codecs-data-structures@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/codecs-numbers@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/codecs-strings@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/errors@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/functional@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/keys@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-spec@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-spec-types@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-subscriptions-api@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-subscriptions-spec@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-subscriptions-transport-websocket@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-transformers@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/rpc-types@2.0.0-experimental.3fc662d(transitive)
+ Added@solana/transactions@2.0.0-experimental.3fc662d(transitive)
- Removed@solana/addresses@2.0.0-experimental.378499d(transitive)
- Removed@solana/assertions@2.0.0-experimental.378499d(transitive)
- Removed@solana/codecs-core@2.0.0-experimental.378499d(transitive)
- Removed@solana/codecs-data-structures@2.0.0-experimental.378499d(transitive)
- Removed@solana/codecs-numbers@2.0.0-experimental.378499d(transitive)
- Removed@solana/codecs-strings@2.0.0-experimental.378499d(transitive)
- Removed@solana/errors@2.0.0-experimental.378499d(transitive)
- Removed@solana/functional@2.0.0-experimental.378499d(transitive)
- Removed@solana/keys@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-spec@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-spec-types@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-subscriptions-api@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-subscriptions-spec@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-subscriptions-transport-websocket@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-transformers@2.0.0-experimental.378499d(transitive)
- Removed@solana/rpc-types@2.0.0-experimental.378499d(transitive)
- Removed@solana/transactions@2.0.0-experimental.378499d(transitive)
Updated@solana/rpc-subscriptions-api@2.0.0-experimental.3fc662d
Updated@solana/rpc-subscriptions-spec@2.0.0-experimental.3fc662d
Updated@solana/rpc-subscriptions-transport-websocket@2.0.0-experimental.3fc662d