@solana/transaction-messages
Advanced tools
Comparing version 2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c to 2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
@@ -620,3 +620,3 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_FEE_PAYER_MISSING, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_MUST_NOT_BE_WRITABLE, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_CANNOT_PAY_FEES, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_CONTENTS_MISSING, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_INDEX_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_INSTRUCTION_PROGRAM_ADDRESS_NOT_FOUND, SOLANA_ERROR__CODECS__INVALID_STRING_FOR_BASE } from '@solana/errors'; | ||
// src/compile/message.ts | ||
function newCompileTransactionMessage(transaction) { | ||
function compileTransactionMessage(transaction) { | ||
const addressMap = getAddressMapFromInstructions(transaction.feePayer, transaction.instructions); | ||
@@ -898,4 +898,4 @@ const orderedAccounts = getOrderedAccountsFromAddressMap(addressMap); | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, compileTransactionMessage, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.browser.js.map |
@@ -620,3 +620,3 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_FEE_PAYER_MISSING, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_MUST_NOT_BE_WRITABLE, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_CANNOT_PAY_FEES, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_CONTENTS_MISSING, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_INDEX_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_INSTRUCTION_PROGRAM_ADDRESS_NOT_FOUND, SOLANA_ERROR__CODECS__INVALID_STRING_FOR_BASE } from '@solana/errors'; | ||
// src/compile/message.ts | ||
function newCompileTransactionMessage(transaction) { | ||
function compileTransactionMessage(transaction) { | ||
const addressMap = getAddressMapFromInstructions(transaction.feePayer, transaction.instructions); | ||
@@ -898,4 +898,4 @@ const orderedAccounts = getOrderedAccountsFromAddressMap(addressMap); | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, compileTransactionMessage, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.native.js.map |
@@ -620,3 +620,3 @@ import { SolanaError, SOLANA_ERROR__TRANSACTION__EXPECTED_BLOCKHASH_LIFETIME, SOLANA_ERROR__TRANSACTION__VERSION_NUMBER_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__EXPECTED_NONCE_LIFETIME, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_FEE_PAYER_MISSING, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_MUST_NOT_BE_WRITABLE, SOLANA_ERROR__TRANSACTION__INVOKED_PROGRAMS_CANNOT_PAY_FEES, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_CONTENTS_MISSING, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_ADDRESS_LOOKUP_TABLE_INDEX_OUT_OF_RANGE, SOLANA_ERROR__TRANSACTION__FAILED_TO_DECOMPILE_INSTRUCTION_PROGRAM_ADDRESS_NOT_FOUND, SOLANA_ERROR__CODECS__INVALID_STRING_FOR_BASE } from '@solana/errors'; | ||
// src/compile/message.ts | ||
function newCompileTransactionMessage(transaction) { | ||
function compileTransactionMessage(transaction) { | ||
const addressMap = getAddressMapFromInstructions(transaction.feePayer, transaction.instructions); | ||
@@ -898,4 +898,4 @@ const orderedAccounts = getOrderedAccountsFromAddressMap(addressMap); | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
export { ADDRESS_MAP_TYPE_PROPERTY, AddressMapEntryType, appendTransactionMessageInstruction, appendTransactionMessageInstructions, assertIsDurableNonceTransactionMessage, assertIsTransactionMessageWithBlockhashLifetime, compileTransactionMessage, createTransactionMessage, decompileTransactionMessage, getAddressMapFromInstructions, getAddressTableLookupCodec, getAddressTableLookupDecoder, getAddressTableLookupEncoder, getCompiledAddressTableLookups, getCompiledInstructions, getCompiledLifetimeToken, getCompiledMessageHeader, getCompiledStaticAccounts, getCompiledTransactionMessageCodec, getCompiledTransactionMessageDecoder, getCompiledTransactionMessageEncoder, getInstructionCodec, getInstructionDecoder, getInstructionEncoder, getMessageHeaderCodec, getMessageHeaderDecoder, getMessageHeaderEncoder, getOrderedAccountsFromAddressMap, getTransactionVersionCodec, getTransactionVersionDecoder, getTransactionVersionEncoder, isDurableNonceTransaction, isTransactionMessageWithBlockhashLifetime, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.node.js.map |
@@ -21,7 +21,7 @@ import { CompilableTransactionMessage } from '../compilable-transaction-message.js'; | ||
}>; | ||
export declare function newCompileTransactionMessage(transaction: CompilableTransactionMessage & Readonly<{ | ||
export declare function compileTransactionMessage(transaction: CompilableTransactionMessage & Readonly<{ | ||
version: 'legacy'; | ||
}>): LegacyCompiledTransactionMessage; | ||
export declare function newCompileTransactionMessage(transaction: CompilableTransactionMessage): VersionedCompiledTransactionMessage; | ||
export declare function compileTransactionMessage(transaction: CompilableTransactionMessage): VersionedCompiledTransactionMessage; | ||
export {}; | ||
//# sourceMappingURL=message.d.ts.map |
{ | ||
"name": "@solana/transaction-messages", | ||
"version": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"version": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"description": "Helpers for creating transaction messages", | ||
@@ -49,10 +49,10 @@ "exports": { | ||
"dependencies": { | ||
"@solana/addresses": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/codecs-core": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/codecs-numbers": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/errors": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/functional": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/instructions": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c", | ||
"@solana/rpc-types": "2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c" | ||
"@solana/addresses": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/codecs-core": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/codecs-data-structures": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/codecs-numbers": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/errors": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/functional": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/instructions": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e", | ||
"@solana/rpc-types": "2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e" | ||
}, | ||
@@ -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
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
663348
+ Added@solana/addresses@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/assertions@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/codecs-core@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/codecs-data-structures@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/codecs-numbers@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/codecs-strings@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/errors@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/functional@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/instructions@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
+ Added@solana/rpc-types@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e(transitive)
- Removed@solana/addresses@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/assertions@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/codecs-core@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/codecs-data-structures@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/codecs-numbers@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/codecs-strings@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/errors@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/functional@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/instructions@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
- Removed@solana/rpc-types@2.0.0-preview.2.20240419043849.2d6ed1cf76a09fc0493f2d6ed3ad978a59d8975c(transitive)
Updated@solana/addresses@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/codecs-core@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/codecs-numbers@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/errors@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/functional@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/instructions@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e
Updated@solana/rpc-types@2.0.0-preview.2.20240419044050.80aaf19a2c2069f1f6358e85e15326cc84e5396e