@solana/transaction-messages 2.1.2-canary-20250514101103 → 2.2.0-canary-20250514101928
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/README.md +4 -4
- package/dist/index.browser.cjs +10 -4
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +9 -5
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.native.mjs +9 -5
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.node.cjs +10 -4
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +9 -5
- package/dist/index.node.mjs.map +1 -1
- package/dist/types/compilable-transaction-message.d.ts +2 -2
- package/dist/types/compilable-transaction-message.d.ts.map +1 -1
- package/dist/types/deprecated.d.ts +65 -0
- package/dist/types/deprecated.d.ts.map +1 -0
- package/dist/types/durable-nonce.d.ts +4 -4
- package/dist/types/durable-nonce.d.ts.map +1 -1
- package/dist/types/fee-payer.d.ts +3 -3
- package/dist/types/fee-payer.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IInstruction } from '@solana/instructions';
|
|
2
2
|
import { TransactionMessageWithBlockhashLifetime } from './blockhash';
|
|
3
3
|
import { TransactionMessageWithDurableNonceLifetime } from './durable-nonce';
|
|
4
|
-
import {
|
|
4
|
+
import { TransactionMessageWithFeePayer } from './fee-payer';
|
|
5
5
|
import { BaseTransactionMessage, TransactionVersion } from './transaction-message';
|
|
6
6
|
/**
|
|
7
7
|
* A transaction message having sufficient detail to be compiled for execution on the network.
|
|
8
8
|
*
|
|
9
9
|
* In essence, this means that it has at minimum a version, a fee payer, and a lifetime constraint.
|
|
10
10
|
*/
|
|
11
|
-
export type CompilableTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> &
|
|
11
|
+
export type CompilableTransactionMessage<TVersion extends TransactionVersion = TransactionVersion, TInstruction extends IInstruction = IInstruction> = BaseTransactionMessage<TVersion, TInstruction> & TransactionMessageWithFeePayer & (TransactionMessageWithBlockhashLifetime | TransactionMessageWithDurableNonceLifetime);
|
|
12
12
|
//# sourceMappingURL=compilable-transaction-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compilable-transaction-message.d.ts","sourceRoot":"","sources":["../../src/compilable-transaction-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,0CAA0C,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"compilable-transaction-message.d.ts","sourceRoot":"","sources":["../../src/compilable-transaction-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,0CAA0C,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEnF;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,CACpC,QAAQ,SAAS,kBAAkB,GAAG,kBAAkB,EACxD,YAAY,SAAS,YAAY,GAAG,YAAY,IAChD,sBAAsB,CAAC,QAAQ,EAAE,YAAY,CAAC,GAC9C,8BAA8B,GAC9B,CAAC,uCAAuC,GAAG,0CAA0C,CAAC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Address } from '@solana/addresses';
|
|
2
|
+
import { assertIsTransactionMessageWithDurableNonceLifetime, isTransactionMessageWithDurableNonceLifetime } from './durable-nonce';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a transaction message for which a fee payer has been declared. A transaction must
|
|
5
|
+
* conform to this type to be compiled and landed on the network.
|
|
6
|
+
*
|
|
7
|
+
* @deprecated Use {@link TransactionMessageWithFeePayer} instead. It was only renamed.
|
|
8
|
+
*/
|
|
9
|
+
export interface ITransactionMessageWithFeePayer<TAddress extends string = string> {
|
|
10
|
+
readonly feePayer: Readonly<{
|
|
11
|
+
address: Address<TAddress>;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* From time to time you might acquire a transaction message, that you expect to have a
|
|
16
|
+
* nonce-based lifetime, from an untrusted network API or user input. Use this function to assert
|
|
17
|
+
* that such a transaction message actually has a nonce-based lifetime.
|
|
18
|
+
*
|
|
19
|
+
* @deprecated Use {@link assertIsTransactionMessageWithDurableNonceLifetime} instead. It was only renamed.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { assertIsDurableNonceTransactionMessage } from '@solana/transaction-messages';
|
|
24
|
+
*
|
|
25
|
+
* try {
|
|
26
|
+
* // If this type assertion function doesn't throw, then
|
|
27
|
+
* // Typescript will upcast `message` to `TransactionMessageWithDurableNonceLifetime`.
|
|
28
|
+
* assertIsDurableNonceTransactionMessage(message);
|
|
29
|
+
* // At this point, `message` is a `TransactionMessageWithDurableNonceLifetime` that can be used
|
|
30
|
+
* // with the RPC.
|
|
31
|
+
* const { nonce, nonceAccountAddress } = message.lifetimeConstraint;
|
|
32
|
+
* const { data: { blockhash: actualNonce } } = await fetchNonce(nonceAccountAddress);
|
|
33
|
+
* } catch (e) {
|
|
34
|
+
* // `message` turned out not to have a nonce-based lifetime
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const assertIsDurableNonceTransactionMessage: typeof assertIsTransactionMessageWithDurableNonceLifetime;
|
|
39
|
+
/**
|
|
40
|
+
* A type guard that returns `true` if the transaction message conforms to the
|
|
41
|
+
* {@link TransactionMessageWithDurableNonceLifetime} type, and refines its type for use in your
|
|
42
|
+
* program.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated Use {@link isTransactionMessageWithDurableNonceLifetime} instead. It was only renamed.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* import { isDurableNonceTransaction } from '@solana/transaction-messages';
|
|
49
|
+
* import { fetchNonce } from "@solana-program/system";
|
|
50
|
+
*
|
|
51
|
+
* if (isDurableNonceTransaction(message)) {
|
|
52
|
+
* // At this point, `message` has been refined to a
|
|
53
|
+
* // `TransactionMessageWithDurableNonceLifetime`.
|
|
54
|
+
* const { nonce, nonceAccountAddress } = message.lifetimeConstraint;
|
|
55
|
+
* const { data: { blockhash: actualNonce } } = await fetchNonce(nonceAccountAddress);
|
|
56
|
+
* setNonceIsValid(nonce === actualNonce);
|
|
57
|
+
* } else {
|
|
58
|
+
* setError(
|
|
59
|
+
* `${getSignatureFromTransaction(transaction)} does not have a nonce-based lifetime`,
|
|
60
|
+
* );
|
|
61
|
+
* }
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare const isDurableNonceTransaction: typeof isTransactionMessageWithDurableNonceLifetime;
|
|
65
|
+
//# sourceMappingURL=deprecated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../../src/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EACH,kDAAkD,EAClD,4CAA4C,EAC/C,MAAM,iBAAiB,CAAC;AAEzB;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM;IAC7E,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,sCAAsC,2DAAqD,CAAC;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,yBAAyB,qDAA+C,CAAC"}
|
|
@@ -52,12 +52,12 @@ export interface TransactionMessageWithDurableNonceLifetime<TNonceAccountAddress
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* ```ts
|
|
55
|
-
* import {
|
|
55
|
+
* import { assertIsTransactionMessageWithDurableNonceLifetime } from '@solana/transaction-messages';
|
|
56
56
|
*
|
|
57
57
|
* try {
|
|
58
58
|
* // If this type assertion function doesn't throw, then
|
|
59
59
|
* // Typescript will upcast `message` to `TransactionMessageWithDurableNonceLifetime`.
|
|
60
|
-
*
|
|
60
|
+
* assertIsTransactionMessageWithDurableNonceLifetime(message);
|
|
61
61
|
* // At this point, `message` is a `TransactionMessageWithDurableNonceLifetime` that can be used
|
|
62
62
|
* // with the RPC.
|
|
63
63
|
* const { nonce, nonceAccountAddress } = message.lifetimeConstraint;
|
|
@@ -67,7 +67,7 @@ export interface TransactionMessageWithDurableNonceLifetime<TNonceAccountAddress
|
|
|
67
67
|
* }
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
export declare function
|
|
70
|
+
export declare function assertIsTransactionMessageWithDurableNonceLifetime(transactionMessage: BaseTransactionMessage | (BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime)): asserts transactionMessage is BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime;
|
|
71
71
|
/**
|
|
72
72
|
* A type guard that returns `true` if the instruction conforms to the
|
|
73
73
|
* {@link AdvanceNonceAccountInstruction} type, and refines its type for use in your program.
|
|
@@ -109,7 +109,7 @@ export declare function isAdvanceNonceAccountInstruction(instruction: IInstructi
|
|
|
109
109
|
* }
|
|
110
110
|
* ```
|
|
111
111
|
*/
|
|
112
|
-
export declare function
|
|
112
|
+
export declare function isTransactionMessageWithDurableNonceLifetime(transactionMessage: BaseTransactionMessage | (BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime)): transactionMessage is BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime;
|
|
113
113
|
/**
|
|
114
114
|
* Given a nonce, the account where the value of the nonce is stored, and the address of the account
|
|
115
115
|
* authorized to consume that nonce, this method will return a new transaction having the same type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durable-nonce.d.ts","sourceRoot":"","sources":["../../src/durable-nonce.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAEH,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EAEpB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,KAAK,8BAA8B,CAC/B,oBAAoB,SAAS,MAAM,GAAG,MAAM,EAC5C,sBAAsB,SAAS,MAAM,GAAG,MAAM,IAC9C,YAAY,CAAC,kCAAkC,CAAC,GAChD,wBAAwB,CACpB,SAAS;IACL,eAAe,CAAC,oBAAoB,CAAC;IACrC,eAAe,CAAC,6CAA6C,CAAC;IAC9D,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,qBAAqB,CAAC,sBAAsB,CAAC;CAChG,CACJ,GACD,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;AAC7D,KAAK,kCAAkC,GAAG,KAAK,CAAC,UAAU,EAAE,oCAAoC,CAAC,CAAC;AAClG,KAAK,kBAAkB,CACnB,oBAAoB,SAAS,MAAM,GAAG,MAAM,EAC5C,sBAAsB,SAAS,MAAM,GAAG,MAAM,EAC9C,WAAW,SAAS,MAAM,GAAG,MAAM,IACnC,QAAQ,CAAC;IACT,QAAQ,CAAC,K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|
@@ -4,14 +4,14 @@ import { BaseTransactionMessage } from './transaction-message';
|
|
|
4
4
|
* Represents a transaction message for which a fee payer has been declared. A transaction must
|
|
5
5
|
* conform to this type to be compiled and landed on the network.
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface TransactionMessageWithFeePayer<TAddress extends string = string> {
|
|
8
8
|
readonly feePayer: Readonly<{
|
|
9
9
|
address: Address<TAddress>;
|
|
10
10
|
}>;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Given a base58-encoded address of a system account, this method will return a new transaction
|
|
14
|
-
* message having the same type as the one supplied plus the {@link
|
|
14
|
+
* message having the same type as the one supplied plus the {@link TransactionMessageWithFeePayer}
|
|
15
15
|
* type.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
@@ -23,5 +23,5 @@ export interface ITransactionMessageWithFeePayer<TAddress extends string = strin
|
|
|
23
23
|
* const txPaidByMe = setTransactionMessageFeePayer(myAddress, tx);
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
export declare function setTransactionMessageFeePayer<TFeePayerAddress extends string, TTransactionMessage extends BaseTransactionMessage & Partial<
|
|
26
|
+
export declare function setTransactionMessageFeePayer<TFeePayerAddress extends string, TTransactionMessage extends BaseTransactionMessage & Partial<TransactionMessageWithFeePayer>>(feePayer: Address<TFeePayerAddress>, transactionMessage: TTransactionMessage): Omit<TTransactionMessage, 'feePayer'> & TransactionMessageWithFeePayer<TFeePayerAddress>;
|
|
27
27
|
//# sourceMappingURL=fee-payer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fee-payer.d.ts","sourceRoot":"","sources":["../../src/fee-payer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"fee-payer.d.ts","sourceRoot":"","sources":["../../src/fee-payer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,8BAA8B,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM;IAC5E,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,6BAA6B,CACzC,gBAAgB,SAAS,MAAM,EAC/B,mBAAmB,SAAS,sBAAsB,GAAG,OAAO,CAAC,8BAA8B,CAAC,EAE5F,QAAQ,EAAE,OAAO,CAAC,gBAAgB,CAAC,EACnC,kBAAkB,EAAE,mBAAmB,GACxC,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,8BAA8B,CAAC,gBAAgB,CAAC,CAe1F"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,cAAc,qCAAqC,CAAC;AACpD,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,kCAAkC,CAAC;AACjD,cAAc,WAAW,CAAC;AAC1B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,cAAc,qCAAqC,CAAC;AACpD,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,kCAAkC,CAAC;AACjD,cAAc,WAAW,CAAC;AAC1B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AAGtC,cAAc,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/transaction-messages",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-canary-20250514101928",
|
|
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/
|
|
59
|
-
"@solana/codecs-
|
|
60
|
-
"@solana/
|
|
61
|
-
"@solana/
|
|
62
|
-
"@solana/functional": "2.
|
|
63
|
-
"@solana/instructions": "2.
|
|
64
|
-
"@solana/nominal-types": "2.
|
|
65
|
-
"@solana/rpc-types": "2.
|
|
57
|
+
"@solana/codecs-data-structures": "2.2.0-canary-20250514101928",
|
|
58
|
+
"@solana/addresses": "2.2.0-canary-20250514101928",
|
|
59
|
+
"@solana/codecs-core": "2.2.0-canary-20250514101928",
|
|
60
|
+
"@solana/errors": "2.2.0-canary-20250514101928",
|
|
61
|
+
"@solana/codecs-numbers": "2.2.0-canary-20250514101928",
|
|
62
|
+
"@solana/functional": "2.2.0-canary-20250514101928",
|
|
63
|
+
"@solana/instructions": "2.2.0-canary-20250514101928",
|
|
64
|
+
"@solana/nominal-types": "2.2.0-canary-20250514101928",
|
|
65
|
+
"@solana/rpc-types": "2.2.0-canary-20250514101928"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"typescript": ">=5.3.3"
|