@solana/rpc-transformers
Advanced tools
Comparing version 2.0.0-canary-20240901183156 to 2.0.0-canary-20240901183511
@@ -0,8 +1,9 @@ | ||
import { RpcRequestTransformer } from '@solana/rpc-spec'; | ||
import { Commitment } from '@solana/rpc-types'; | ||
import { KeyPath } from './tree-traversal'; | ||
export type ParamsTransformerConfig = Readonly<{ | ||
export type RequestTransformerConfig = Readonly<{ | ||
defaultCommitment?: Commitment; | ||
onIntegerOverflow?: (methodName: string, keyPath: KeyPath, value: bigint) => void; | ||
}>; | ||
export declare function getDefaultParamsTransformerForSolanaRpc(config?: ParamsTransformerConfig): <T>(rawParams: T, methodName: string) => unknown; | ||
export declare function getDefaultRequestTransformerForSolanaRpc(config?: RequestTransformerConfig): RpcRequestTransformer; | ||
//# sourceMappingURL=params-transformer.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { RpcApiConfig } from '@solana/rpc-spec'; | ||
import { RpcResponseTransformer } from '@solana/rpc-spec'; | ||
import { AllowedNumericKeypaths } from './response-transformer-allowed-numeric-values'; | ||
@@ -6,3 +6,4 @@ export type ResponseTransformerConfig<TApi> = Readonly<{ | ||
}>; | ||
export declare function getDefaultResponseTransformerForSolanaRpc<TApi>(config?: ResponseTransformerConfig<TApi>): NonNullable<RpcApiConfig['responseTransformer']>; | ||
export declare function getDefaultResponseTransformerForSolanaRpc<TApi>(config?: ResponseTransformerConfig<TApi>): RpcResponseTransformer; | ||
export declare function getDefaultResponseTransformerForSolanaRpcSubscriptions<TApi>(config?: ResponseTransformerConfig<TApi>): <T>(response: unknown, notificationName: string) => T; | ||
//# sourceMappingURL=response-transformer.d.ts.map |
{ | ||
"name": "@solana/rpc-transformers", | ||
"version": "2.0.0-canary-20240901183156", | ||
"version": "2.0.0-canary-20240901183511", | ||
"description": "Reusable transformers for patching RPC inputs and outputs", | ||
@@ -57,7 +57,7 @@ "exports": { | ||
"dependencies": { | ||
"@solana/errors": "2.0.0-canary-20240901183156", | ||
"@solana/rpc-spec": "2.0.0-canary-20240901183156", | ||
"@solana/rpc-types": "2.0.0-canary-20240901183156", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20240901183156", | ||
"@solana/functional": "2.0.0-canary-20240901183156" | ||
"@solana/functional": "2.0.0-canary-20240901183511", | ||
"@solana/rpc-spec": "2.0.0-canary-20240901183511", | ||
"@solana/rpc-subscriptions-spec": "2.0.0-canary-20240901183511", | ||
"@solana/errors": "2.0.0-canary-20240901183511", | ||
"@solana/rpc-types": "2.0.0-canary-20240901183511" | ||
}, | ||
@@ -64,0 +64,0 @@ "peerDependencies": { |
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
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
208734
1632
+ Added@solana/addresses@2.0.0-canary-20240901183511(transitive)
+ Added@solana/assertions@2.0.0-canary-20240901183511(transitive)
+ Added@solana/codecs-core@2.0.0-canary-20240901183511(transitive)
+ Added@solana/codecs-numbers@2.0.0-canary-20240901183511(transitive)
+ Added@solana/codecs-strings@2.0.0-canary-20240901183511(transitive)
+ Added@solana/errors@2.0.0-canary-20240901183511(transitive)
+ Added@solana/functional@2.0.0-canary-20240901183511(transitive)
+ Added@solana/rpc-spec@2.0.0-canary-20240901183511(transitive)
+ Added@solana/rpc-spec-types@2.0.0-canary-20240901183511(transitive)
+ Added@solana/rpc-subscriptions-spec@2.0.0-canary-20240901183511(transitive)
+ Added@solana/rpc-types@2.0.0-canary-20240901183511(transitive)
- Removed@solana/addresses@2.0.0-canary-20240901183156(transitive)
- Removed@solana/assertions@2.0.0-canary-20240901183156(transitive)
- Removed@solana/codecs-core@2.0.0-canary-20240901183156(transitive)
- Removed@solana/codecs-numbers@2.0.0-canary-20240901183156(transitive)
- Removed@solana/codecs-strings@2.0.0-canary-20240901183156(transitive)
- Removed@solana/errors@2.0.0-canary-20240901183156(transitive)
- Removed@solana/functional@2.0.0-canary-20240901183156(transitive)
- Removed@solana/rpc-spec@2.0.0-canary-20240901183156(transitive)
- Removed@solana/rpc-spec-types@2.0.0-canary-20240901183156(transitive)
- Removed@solana/rpc-subscriptions-spec@2.0.0-canary-20240901183156(transitive)
- Removed@solana/rpc-types@2.0.0-canary-20240901183156(transitive)
Updated@solana/rpc-subscriptions-spec@2.0.0-canary-20240901183511