@solana/transaction-messages
Advanced tools
Comparing version 2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b to 2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
import { VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from '@solana/codecs-core'; | ||
import { NewTransactionVersion } from '../transaction-message.js'; | ||
export declare function getTransactionVersionEncoder(): VariableSizeEncoder<NewTransactionVersion>; | ||
export declare function getTransactionVersionDecoder(): VariableSizeDecoder<NewTransactionVersion>; | ||
export declare function getTransactionVersionCodec(): VariableSizeCodec<NewTransactionVersion>; | ||
import { TransactionVersion } from '../transaction-message.js'; | ||
export declare function getTransactionVersionEncoder(): VariableSizeEncoder<TransactionVersion>; | ||
export declare function getTransactionVersionDecoder(): VariableSizeDecoder<TransactionVersion>; | ||
export declare function getTransactionVersionCodec(): VariableSizeCodec<TransactionVersion>; | ||
//# sourceMappingURL=transaction-version.d.ts.map |
@@ -5,4 +5,4 @@ import { IInstruction } from '@solana/instructions'; | ||
import { ITransactionMessageWithFeePayer } from './fee-payer.js'; | ||
import { BaseTransactionMessage, NewTransactionVersion } from './transaction-message.js'; | ||
export type CompilableTransactionMessage<TVersion extends NewTransactionVersion = NewTransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> & ITransactionMessageWithFeePayer & (TransactionMessageWithBlockhashLifetime | TransactionMessageWithDurableNonceLifetime); | ||
import { BaseTransactionMessage, TransactionVersion } from './transaction-message.js'; | ||
export type CompilableTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> & ITransactionMessageWithFeePayer & (TransactionMessageWithBlockhashLifetime | TransactionMessageWithDurableNonceLifetime); | ||
//# sourceMappingURL=compilable-transaction-message.d.ts.map |
@@ -1,6 +0,6 @@ | ||
import { NewTransactionVersion, TransactionMessage } from './transaction-message.js'; | ||
type TransactionConfig<TVersion extends NewTransactionVersion> = Readonly<{ | ||
import { TransactionMessage, TransactionVersion } from './transaction-message.js'; | ||
type TransactionConfig<TVersion extends TransactionVersion> = Readonly<{ | ||
version: TVersion; | ||
}>; | ||
export declare function createTransactionMessage<TVersion extends NewTransactionVersion>(config: TransactionConfig<TVersion>): Extract<TransactionMessage, { | ||
export declare function createTransactionMessage<TVersion extends TransactionVersion>(config: TransactionConfig<TVersion>): Extract<TransactionMessage, { | ||
version: TVersion; | ||
@@ -7,0 +7,0 @@ }>; |
import { IAccountMeta, IInstruction } from '@solana/instructions'; | ||
export type BaseTransactionMessage<TVersion extends NewTransactionVersion = NewTransactionVersion, TInstruction extends IInstruction = IInstruction> = Readonly<{ | ||
export type BaseTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = Readonly<{ | ||
instructions: readonly TInstruction[]; | ||
@@ -10,4 +10,4 @@ version: TVersion; | ||
export type TransactionMessage = LegacyTransactionMessage | V0TransactionMessage; | ||
export type NewTransactionVersion = 'legacy' | 0; | ||
export type TransactionVersion = 'legacy' | 0; | ||
export {}; | ||
//# sourceMappingURL=transaction-message.d.ts.map |
{ | ||
"name": "@solana/transaction-messages", | ||
"version": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"version": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"description": "Helpers for creating transaction messages", | ||
@@ -49,10 +49,10 @@ "exports": { | ||
"dependencies": { | ||
"@solana/addresses": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/codecs-core": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/codecs-numbers": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/errors": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/functional": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/instructions": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b", | ||
"@solana/rpc-types": "2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b" | ||
"@solana/addresses": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/codecs-core": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/codecs-numbers": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/errors": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/functional": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/instructions": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f", | ||
"@solana/rpc-types": "2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f" | ||
}, | ||
@@ -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
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
663737
+ Added@solana/addresses@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/assertions@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/codecs-core@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/codecs-data-structures@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/codecs-numbers@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/codecs-strings@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/errors@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/functional@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/instructions@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
+ Added@solana/rpc-types@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f(transitive)
- Removed@solana/addresses@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/assertions@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/codecs-core@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/codecs-data-structures@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/codecs-numbers@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/codecs-strings@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/errors@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/functional@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/instructions@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
- Removed@solana/rpc-types@2.0.0-preview.2.20240419044634.31f6159d3093a01d0fa2549c1cbd7263353b497b(transitive)
Updated@solana/addresses@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/codecs-core@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/codecs-numbers@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/errors@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/functional@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/instructions@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f
Updated@solana/rpc-types@2.0.0-preview.2.20240419044947.ed79e690caa5d0d65cd9300113a4078e349e931f