@solana/transaction-messages
Advanced tools
Comparing version 2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f to 2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
@@ -897,4 +897,4 @@ 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'; | ||
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, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
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 }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.browser.js.map |
@@ -897,4 +897,4 @@ 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'; | ||
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, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
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 }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.native.js.map |
@@ -897,4 +897,4 @@ 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'; | ||
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, newCompileTransactionMessage, newIsAdvanceNonceAccountInstruction, prependTransactionMessageInstruction, prependTransactionMessageInstructions, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, setTransactionMessageLifetimeUsingDurableNonce }; | ||
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 }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.node.js.map |
@@ -11,2 +11,3 @@ import { type Blockhash } from '@solana/rpc-types'; | ||
} | ||
export declare function isTransactionMessageWithBlockhashLifetime(transaction: BaseTransactionMessage | (BaseTransactionMessage & ITransactionMessageWithBlockhashLifetime)): transaction is BaseTransactionMessage & ITransactionMessageWithBlockhashLifetime; | ||
export declare function assertIsTransactionMessageWithBlockhashLifetime(transaction: BaseTransactionMessage | (BaseTransactionMessage & ITransactionMessageWithBlockhashLifetime)): asserts transaction is BaseTransactionMessage & ITransactionMessageWithBlockhashLifetime; | ||
@@ -13,0 +14,0 @@ export declare function setTransactionMessageLifetimeUsingBlockhash<TTransaction extends BaseTransactionMessage & IDurableNonceTransactionMessage>(blockhashLifetimeConstraint: BlockhashLifetimeConstraint, transaction: TTransaction): ITransactionMessageWithBlockhashLifetime & Omit<TTransaction, 'lifetimeConstraint'>; |
@@ -32,4 +32,5 @@ import { Address } from '@solana/addresses'; | ||
export declare function newIsAdvanceNonceAccountInstruction(instruction: IInstruction): instruction is AdvanceNonceAccountInstruction; | ||
export declare function isDurableNonceTransaction(transaction: BaseTransactionMessage | (BaseTransactionMessage & IDurableNonceTransactionMessage)): transaction is BaseTransactionMessage & IDurableNonceTransactionMessage; | ||
export declare function setTransactionMessageLifetimeUsingDurableNonce<TTransaction extends BaseTransactionMessage, TNonceAccountAddress extends string = string, TNonceAuthorityAddress extends string = string, TNonceValue extends string = string>({ nonce, nonceAccountAddress, nonceAuthorityAddress, }: DurableNonceConfig<TNonceAccountAddress, TNonceAuthorityAddress, TNonceValue>, transaction: TTransaction | (IDurableNonceTransactionMessage & TTransaction)): IDurableNonceTransactionMessage<TNonceAccountAddress, TNonceAuthorityAddress, TNonceValue> & TTransaction; | ||
export {}; | ||
//# sourceMappingURL=durable-nonce.d.ts.map |
{ | ||
"name": "@solana/transaction-messages", | ||
"version": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"version": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"description": "Helpers for creating transaction messages", | ||
@@ -49,10 +49,10 @@ "exports": { | ||
"dependencies": { | ||
"@solana/addresses": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/codecs-core": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/codecs-data-structures": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/codecs-numbers": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/errors": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/functional": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/instructions": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f", | ||
"@solana/rpc-types": "2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f" | ||
"@solana/addresses": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/codecs-core": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/codecs-data-structures": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/codecs-numbers": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/errors": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/functional": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/instructions": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34", | ||
"@solana/rpc-types": "2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34" | ||
}, | ||
@@ -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
663435
4769
+ Added@solana/addresses@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/assertions@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/codecs-core@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/codecs-data-structures@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/codecs-numbers@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/codecs-strings@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/errors@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/functional@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/instructions@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
+ Added@solana/rpc-types@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34(transitive)
- Removed@solana/addresses@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/assertions@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/codecs-core@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/codecs-data-structures@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/codecs-numbers@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/codecs-strings@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/errors@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/functional@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/instructions@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
- Removed@solana/rpc-types@2.0.0-preview.1.20240412124541.acd929d95124df0f5b3e9d22fa97e7d870fe947f(transitive)
Updated@solana/addresses@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/codecs-core@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/codecs-numbers@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/errors@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/functional@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/instructions@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34
Updated@solana/rpc-types@2.0.0-preview.1.20240415142311.ca9da583a39cdf8fd874a2e03fccdc849e29de34