Socket
Socket
Sign inDemoInstall

@solana/rpc-transformers

Package Overview
Dependencies
Maintainers
0
Versions
707
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-canary-20240901183813 to 2.0.0-canary-20240901184101

dist/types/request-transformer-default-commitment.d.ts

4

dist/types/index.d.ts

@@ -1,6 +0,6 @@

export * from './default-commitment';
export * from './params-transformer';
export * from './params-transformer-bigint-downcast';
export * from './params-transformer-integer-overflow';
export * from './params-transformer-options-object-position-config';
export * from './request-transformer-default-commitment';
export * from './request-transformer-options-object-position-config';
export * from './response-transformer';

@@ -7,0 +7,0 @@ export * from './response-transformer-allowed-numeric-values';

{
"name": "@solana/rpc-transformers",
"version": "2.0.0-canary-20240901183813",
"version": "2.0.0-canary-20240901184101",
"description": "Reusable transformers for patching RPC inputs and outputs",

@@ -57,7 +57,7 @@ "exports": {

"dependencies": {
"@solana/errors": "2.0.0-canary-20240901183813",
"@solana/functional": "2.0.0-canary-20240901183813",
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20240901183813",
"@solana/rpc-spec": "2.0.0-canary-20240901183813",
"@solana/rpc-types": "2.0.0-canary-20240901183813"
"@solana/errors": "2.0.0-canary-20240901184101",
"@solana/functional": "2.0.0-canary-20240901184101",
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20240901184101",
"@solana/rpc-types": "2.0.0-canary-20240901184101",
"@solana/rpc-spec": "2.0.0-canary-20240901184101"
},

@@ -64,0 +64,0 @@ "peerDependencies": {

@@ -17,2 +17,15 @@ [![npm][npm-image]][npm-url]

TODO
## Functions
### `getDefaultCommitmentTransformer(config)`
Creates a transformer that adds the provided default commitment to the configuration object of the request when applicable.
```ts
import { getDefaultCommitmentTransformer, OPTIONS_OBJECT_POSITION_BY_METHOD } from '@solana/rpc-transformers';
const requestTransformer = getDefaultCommitmentTransformer({
defaultCommitment: 'confirmed',
optionsObjectPositionByMethod: OPTIONS_OBJECT_POSITION_BY_METHOD,
});
```

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

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