@solana/transaction-messages 2.4.0-canary-20250709085047 → 2.4.0-canary-20250709085504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.cjs +6 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +6 -1
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.native.mjs +6 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.node.cjs +6 -1
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +6 -1
- package/dist/index.node.mjs.map +1 -1
- package/dist/types/compile/message.d.ts +5 -4
- package/dist/types/compile/message.d.ts.map +1 -1
- package/dist/types/decompile-message.d.ts +4 -2
- package/dist/types/decompile-message.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransactionMessageWithFeePayer } from '../fee-payer';
|
|
2
|
+
import { BaseTransactionMessage } from '../transaction-message';
|
|
2
3
|
import { getCompiledAddressTableLookups } from './address-table-lookups';
|
|
3
4
|
import { getCompiledMessageHeader } from './header';
|
|
4
5
|
import { getCompiledInstructions } from './instructions';
|
|
@@ -49,9 +50,9 @@ type VersionedCompiledTransactionMessage = BaseCompiledTransactionMessage & Read
|
|
|
49
50
|
*
|
|
50
51
|
* @see {@link decompileTransactionMessage}
|
|
51
52
|
*/
|
|
52
|
-
export declare function compileTransactionMessage(transactionMessage:
|
|
53
|
+
export declare function compileTransactionMessage(transactionMessage: BaseTransactionMessage & Readonly<{
|
|
53
54
|
version: 'legacy';
|
|
54
|
-
}>): LegacyCompiledTransactionMessage;
|
|
55
|
-
export declare function compileTransactionMessage(transactionMessage:
|
|
55
|
+
}> & TransactionMessageWithFeePayer): LegacyCompiledTransactionMessage;
|
|
56
|
+
export declare function compileTransactionMessage(transactionMessage: BaseTransactionMessage & TransactionMessageWithFeePayer): VersionedCompiledTransactionMessage;
|
|
56
57
|
export {};
|
|
57
58
|
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/compile/message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/compile/message.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,8BAA8B,GAAG,QAAQ,CAAC;IAC3C;;;OAGG;IACH,MAAM,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IACpD,YAAY,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,aAAa,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAC3D,4DAA4D;IAC5D,cAAc,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAChE,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG,gCAAgC,GAAG,mCAAmC,CAAC;AAEhH,KAAK,gCAAgC,GAAG,8BAA8B,GAClE,QAAQ,CAAC;IACL,OAAO,EAAE,QAAQ,CAAC;CACrB,CAAC,CAAC;AAEP,KAAK,mCAAmC,GAAG,8BAA8B,GACrE,QAAQ,CAAC;IACL,sFAAsF;IACtF,mBAAmB,CAAC,EAAE,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC;IACxE,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAOP;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACrC,kBAAkB,EAAE,sBAAsB,GAAG,QAAQ,CAAC;IAAE,OAAO,EAAE,QAAQ,CAAA;CAAE,CAAC,GAAG,8BAA8B,GAC9G,gCAAgC,CAAC;AACpC,wBAAgB,yBAAyB,CACrC,kBAAkB,EAAE,sBAAsB,GAAG,8BAA8B,GAC5E,mCAAmC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AddressesByLookupTableAddress } from './addresses-by-lookup-table-address';
|
|
2
|
-
import { CompilableTransactionMessage } from './compilable-transaction-message';
|
|
3
2
|
import { CompiledTransactionMessage } from './compile';
|
|
3
|
+
import { TransactionMessageWithFeePayer } from './fee-payer';
|
|
4
|
+
import { TransactionMessageWithLifetime } from './lifetime';
|
|
5
|
+
import { BaseTransactionMessage } from './transaction-message';
|
|
4
6
|
export type DecompileTransactionMessageConfig = {
|
|
5
7
|
/**
|
|
6
8
|
* If the compiled message loads addresses from one or more address lookup tables, you will have
|
|
@@ -28,5 +30,5 @@ export type DecompileTransactionMessageConfig = {
|
|
|
28
30
|
*
|
|
29
31
|
* @see {@link compileTransactionMessage}
|
|
30
32
|
*/
|
|
31
|
-
export declare function decompileTransactionMessage(compiledTransactionMessage: CompiledTransactionMessage, config?: DecompileTransactionMessageConfig):
|
|
33
|
+
export declare function decompileTransactionMessage(compiledTransactionMessage: CompiledTransactionMessage, config?: DecompileTransactionMessageConfig): BaseTransactionMessage & TransactionMessageWithFeePayer & TransactionMessageWithLifetime;
|
|
32
34
|
//# sourceMappingURL=decompile-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decompile-message.d.ts","sourceRoot":"","sources":["../../src/decompile-message.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEpF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"decompile-message.d.ts","sourceRoot":"","sources":["../../src/decompile-message.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAKvD,OAAO,EAAiC,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAE5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAsB,MAAM,uBAAuB,CAAC;AAqKnF,MAAM,MAAM,iCAAiC,GAAG;IAC5C;;;;;;OAMG;IACH,6BAA6B,CAAC,EAAE,6BAA6B,CAAC;IAC9D;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACvC,0BAA0B,EAAE,0BAA0B,EACtD,MAAM,CAAC,EAAE,iCAAiC,GAC3C,sBAAsB,GAAG,8BAA8B,GAAG,8BAA8B,CA0C1F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/transaction-messages",
|
|
3
|
-
"version": "2.4.0-canary-
|
|
3
|
+
"version": "2.4.0-canary-20250709085504",
|
|
4
4
|
"description": "Helpers for creating transaction messages",
|
|
5
5
|
"exports": {
|
|
6
6
|
"edge-light": {
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"maintained node versions"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@solana/
|
|
58
|
-
"@solana/codecs-data-structures": "2.4.0-canary-
|
|
59
|
-
"@solana/
|
|
60
|
-
"@solana/
|
|
61
|
-
"@solana/
|
|
62
|
-
"@solana/functional": "2.4.0-canary-
|
|
63
|
-
"@solana/instructions": "2.4.0-canary-
|
|
64
|
-
"@solana/nominal-types": "2.4.0-canary-
|
|
65
|
-
"@solana/rpc-types": "2.4.0-canary-
|
|
57
|
+
"@solana/codecs-core": "2.4.0-canary-20250709085504",
|
|
58
|
+
"@solana/codecs-data-structures": "2.4.0-canary-20250709085504",
|
|
59
|
+
"@solana/addresses": "2.4.0-canary-20250709085504",
|
|
60
|
+
"@solana/codecs-numbers": "2.4.0-canary-20250709085504",
|
|
61
|
+
"@solana/errors": "2.4.0-canary-20250709085504",
|
|
62
|
+
"@solana/functional": "2.4.0-canary-20250709085504",
|
|
63
|
+
"@solana/instructions": "2.4.0-canary-20250709085504",
|
|
64
|
+
"@solana/nominal-types": "2.4.0-canary-20250709085504",
|
|
65
|
+
"@solana/rpc-types": "2.4.0-canary-20250709085504"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"typescript": ">=5.3.3"
|