Socket
Socket
Sign inDemoInstall

@solana/rpc

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 - npm Package Compare versions

Comparing version 2.0.0-experimental.d3890b7 to 2.0.0-experimental.d49ac92

2

dist/types/rpc-clusters.d.ts

@@ -13,3 +13,3 @@ import type { SolanaRpcApi, SolanaRpcApiDevnet, SolanaRpcApiMainnet, SolanaRpcApiTestnet } from '@solana/rpc-api';

};
export type RpcTransportWithCluster = RpcTransportDevnet | RpcTransportTestnet | RpcTransportMainnet;
export type RpcTransportWithCluster = RpcTransportDevnet | RpcTransportMainnet | RpcTransportTestnet;
export type RpcTransportFromClusterUrl<TClusterUrl extends ClusterUrl> = TClusterUrl extends DevnetUrl ? RpcTransportDevnet : TClusterUrl extends TestnetUrl ? RpcTransportTestnet : TClusterUrl extends MainnetUrl ? RpcTransportMainnet : RpcTransport;

@@ -16,0 +16,0 @@ export type RpcDevnet<TRpcMethods> = Rpc<TRpcMethods> & {

{
"name": "@solana/rpc",
"version": "2.0.0-experimental.d3890b7",
"version": "2.0.0-experimental.d49ac92",
"description": "A library for sending JSON RPC requests to Solana RPCs",

@@ -50,9 +50,9 @@ "exports": {

"fast-stable-stringify": "^1.0.0",
"@solana/errors": "2.0.0-experimental.d3890b7",
"@solana/rpc-api": "2.0.0-experimental.d3890b7",
"@solana/functional": "2.0.0-experimental.d3890b7",
"@solana/rpc-spec": "2.0.0-experimental.d3890b7",
"@solana/rpc-transformers": "2.0.0-experimental.d3890b7",
"@solana/rpc-transport-http": "2.0.0-experimental.d3890b7",
"@solana/rpc-types": "2.0.0-experimental.d3890b7"
"@solana/errors": "2.0.0-experimental.d49ac92",
"@solana/functional": "2.0.0-experimental.d49ac92",
"@solana/rpc-api": "2.0.0-experimental.d49ac92",
"@solana/rpc-transformers": "2.0.0-experimental.d49ac92",
"@solana/rpc-transport-http": "2.0.0-experimental.d49ac92",
"@solana/rpc-types": "2.0.0-experimental.d49ac92",
"@solana/rpc-spec": "2.0.0-experimental.d49ac92"
},

@@ -69,9 +69,9 @@ "bundlewatch": {

"compile:js": "tsup --config build-scripts/tsup.config.package.ts",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
"dev": "jest -c node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node ../../node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
"dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks",
"publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
"style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
"test:lint": "jest -c node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
"test:prettier": "jest -c node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
"test:lint": "jest -c ../../node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
"test:prettier": "jest -c ../../node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
"test:treeshakability:browser": "agadoo dist/index.browser.js",

@@ -81,5 +81,5 @@ "test:treeshakability:native": "agadoo dist/index.native.js",

"test:typecheck": "tsc --noEmit",
"test:unit:browser": "jest -c node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
"test:unit:node": "jest -c node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
"test:unit:browser": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
"test:unit:node": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
}
}

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