Socket
Socket
Sign inDemoInstall

@solana/rpc-transformers

Package Overview
Dependencies
Maintainers
15
Versions
781
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-transformers - npm Package Compare versions

Comparing version 2.0.0-experimental.feaeef2 to 2.0.0-preview.1

2

dist/types/default-commitment.d.ts
import type { Commitment } from '@solana/rpc-types';
type Config = Readonly<{
params: unknown[];
commitmentPropertyName: string;
optionsObjectPositionInParams: number;
overrideCommitment?: Commitment;
params: unknown[];
}>;

@@ -8,0 +8,0 @@ export declare function applyDefaultCommitment({ commitmentPropertyName, params, optionsObjectPositionInParams, overrideCommitment, }: Config): unknown[];

export type KeyPathWildcard = {
readonly __brand: unique symbol;
};
export type KeyPath = ReadonlyArray<KeyPathWildcard | number | string | KeyPath>;
export type KeyPath = ReadonlyArray<KeyPath | KeyPathWildcard | number | string>;
export declare const KEYPATH_WILDCARD: KeyPathWildcard;

@@ -6,0 +6,0 @@ type NodeVisitor = <TState extends TraversalState>(value: unknown, state: TState) => unknown;

{
"name": "@solana/rpc-transformers",
"version": "2.0.0-experimental.feaeef2",
"version": "2.0.0-preview.1",
"description": "Reusable transformers for patching RPC inputs and outputs",

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

"dependencies": {
"@solana/rpc-spec": "2.0.0-experimental.feaeef2",
"@solana/rpc-subscriptions-spec": "2.0.0-experimental.feaeef2",
"@solana/rpc-types": "2.0.0-experimental.feaeef2"
"@solana/rpc-spec": "2.0.0-preview.1",
"@solana/rpc-subscriptions-spec": "2.0.0-preview.1",
"@solana/rpc-types": "2.0.0-preview.1"
},

@@ -64,9 +64,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",
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks",
"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 preview --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",

@@ -76,5 +76,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

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