Socket
Socket
Sign inDemoInstall

@solana/rpc-subscriptions

Package Overview
Dependencies
Maintainers
15
Versions
753
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-experimental.378499d to 2.0.0-experimental.3fc662d

6

dist/index.browser.js

@@ -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

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