@solana/transaction-messages 2.2.0-canary-20250514101928 → 2.2.0-canary-20250514102324

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.
@@ -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,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AA+KvD,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,4BAA4B,CAyC9B"}
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,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AA4KvD,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,4BAA4B,CAyC9B"}
@@ -0,0 +1,43 @@
1
+ import { Address } from '@solana/addresses';
2
+ import { IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlyAccount, ReadonlySignerAccount, WritableAccount, WritableSignerAccount } from '@solana/instructions';
3
+ import { Brand } from '@solana/nominal-types';
4
+ export type AdvanceNonceAccountInstruction<TNonceAccountAddress extends string = string, TNonceAuthorityAddress extends string = string> = IInstruction<'11111111111111111111111111111111'> & IInstructionWithAccounts<readonly [
5
+ WritableAccount<TNonceAccountAddress>,
6
+ ReadonlyAccount<'SysvarRecentB1ockHashes11111111111111111111'>,
7
+ ReadonlySignerAccount<TNonceAuthorityAddress> | WritableSignerAccount<TNonceAuthorityAddress>
8
+ ]> & IInstructionWithData<AdvanceNonceAccountInstructionData>;
9
+ type AdvanceNonceAccountInstructionData = Brand<Uint8Array, 'AdvanceNonceAccountInstructionData'>;
10
+ /**
11
+ * Creates an instruction for the System program to advance a nonce.
12
+ *
13
+ * This instruction is a prerequisite for a transaction with a nonce-based lifetime to be landed on
14
+ * the network. In order to be considered valid, the transaction must meet all of these criteria.
15
+ *
16
+ * 1. Its lifetime constraint must be a {@link NonceLifetimeConstraint}.
17
+ * 2. The value contained in the on-chain account at the address `nonceAccountAddress` must be equal
18
+ * to {@link NonceLifetimeConstraint.nonce} at the time the transaction is landed.
19
+ * 3. The first instruction in that transaction message must be the one returned by this function.
20
+ *
21
+ * You could also use the `getAdvanceNonceAccountInstruction` method of `@solana-program/system`.
22
+ */
23
+ export declare function createAdvanceNonceAccountInstruction<TNonceAccountAddress extends string = string, TNonceAuthorityAddress extends string = string>(nonceAccountAddress: Address<TNonceAccountAddress>, nonceAuthorityAddress: Address<TNonceAuthorityAddress>): AdvanceNonceAccountInstruction<TNonceAccountAddress, TNonceAuthorityAddress>;
24
+ /**
25
+ * A type guard that returns `true` if the instruction conforms to the
26
+ * {@link AdvanceNonceAccountInstruction} type, and refines its type for use in your program.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * import { isAdvanceNonceAccountInstruction } from '@solana/transaction-messages';
31
+ *
32
+ * if (isAdvanceNonceAccountInstruction(message.instructions[0])) {
33
+ * // At this point, the first instruction in the message has been refined to a
34
+ * // `AdvanceNonceAccountInstruction`.
35
+ * setNonceAccountAddress(message.instructions[0].accounts[0].address);
36
+ * } else {
37
+ * setError('The first instruction is not an `AdvanceNonce` instruction');
38
+ * }
39
+ * ```
40
+ */
41
+ export declare function isAdvanceNonceAccountInstruction(instruction: IInstruction): instruction is AdvanceNonceAccountInstruction;
42
+ export {};
43
+ //# sourceMappingURL=durable-nonce-instruction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"durable-nonce-instruction.d.ts","sourceRoot":"","sources":["../../src/durable-nonce-instruction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,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,MAAM,MAAM,8BAA8B,CACtC,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;AAE7D,KAAK,kCAAkC,GAAG,KAAK,CAAC,UAAU,EAAE,oCAAoC,CAAC,CAAC;AAMlG;;;;;;;;;;;;GAYG;AACH,wBAAgB,oCAAoC,CAChD,oBAAoB,SAAS,MAAM,GAAG,MAAM,EAC5C,sBAAsB,SAAS,MAAM,GAAG,MAAM,EAE9C,mBAAmB,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAClD,qBAAqB,EAAE,OAAO,CAAC,sBAAsB,CAAC,GACvD,8BAA8B,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAa9E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gCAAgC,CAC5C,WAAW,EAAE,YAAY,GAC1B,WAAW,IAAI,8BAA8B,CAkB/C"}
@@ -1,13 +1,8 @@
1
1
  import { Address } from '@solana/addresses';
2
- import { IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlyAccount, ReadonlySignerAccount, WritableAccount, WritableSignerAccount } from '@solana/instructions';
2
+ import { IInstruction } from '@solana/instructions';
3
3
  import { Brand } from '@solana/nominal-types';
4
+ import { AdvanceNonceAccountInstruction } from './durable-nonce-instruction';
4
5
  import { BaseTransactionMessage } from './transaction-message';
5
- type AdvanceNonceAccountInstruction<TNonceAccountAddress extends string = string, TNonceAuthorityAddress extends string = string> = IInstruction<'11111111111111111111111111111111'> & IInstructionWithAccounts<readonly [
6
- WritableAccount<TNonceAccountAddress>,
7
- ReadonlyAccount<'SysvarRecentB1ockHashes11111111111111111111'>,
8
- ReadonlySignerAccount<TNonceAuthorityAddress> | WritableSignerAccount<TNonceAuthorityAddress>
9
- ]> & IInstructionWithData<AdvanceNonceAccountInstructionData>;
10
- type AdvanceNonceAccountInstructionData = Brand<Uint8Array, 'AdvanceNonceAccountInstructionData'>;
11
6
  type DurableNonceConfig<TNonceAccountAddress extends string = string, TNonceAuthorityAddress extends string = string, TNonceValue extends string = string> = Readonly<{
12
7
  readonly nonce: Nonce<TNonceValue>;
13
8
  readonly nonceAccountAddress: Address<TNonceAccountAddress>;
@@ -45,47 +40,6 @@ export interface TransactionMessageWithDurableNonceLifetime<TNonceAccountAddress
45
40
  ];
46
41
  readonly lifetimeConstraint: NonceLifetimeConstraint<TNonceValue>;
47
42
  }
48
- /**
49
- * From time to time you might acquire a transaction message, that you expect to have a
50
- * nonce-based lifetime, from an untrusted network API or user input. Use this function to assert
51
- * that such a transaction message actually has a nonce-based lifetime.
52
- *
53
- * @example
54
- * ```ts
55
- * import { assertIsTransactionMessageWithDurableNonceLifetime } from '@solana/transaction-messages';
56
- *
57
- * try {
58
- * // If this type assertion function doesn't throw, then
59
- * // Typescript will upcast `message` to `TransactionMessageWithDurableNonceLifetime`.
60
- * assertIsTransactionMessageWithDurableNonceLifetime(message);
61
- * // At this point, `message` is a `TransactionMessageWithDurableNonceLifetime` that can be used
62
- * // with the RPC.
63
- * const { nonce, nonceAccountAddress } = message.lifetimeConstraint;
64
- * const { data: { blockhash: actualNonce } } = await fetchNonce(nonceAccountAddress);
65
- * } catch (e) {
66
- * // `message` turned out not to have a nonce-based lifetime
67
- * }
68
- * ```
69
- */
70
- export declare function assertIsTransactionMessageWithDurableNonceLifetime(transactionMessage: BaseTransactionMessage | (BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime)): asserts transactionMessage is BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime;
71
- /**
72
- * A type guard that returns `true` if the instruction conforms to the
73
- * {@link AdvanceNonceAccountInstruction} type, and refines its type for use in your program.
74
- *
75
- * @example
76
- * ```ts
77
- * import { isAdvanceNonceAccountInstruction } from '@solana/transaction-messages';
78
- *
79
- * if (isAdvanceNonceAccountInstruction(message.instructions[0])) {
80
- * // At this point, the first instruction in the message has been refined to a
81
- * // `AdvanceNonceAccountInstruction`.
82
- * setNonceAccountAddress(message.instructions[0].accounts[0].address);
83
- * } else {
84
- * setError('The first instruction is not an `AdvanceNonce` instruction');
85
- * }
86
- * ```
87
- */
88
- export declare function isAdvanceNonceAccountInstruction(instruction: IInstruction): instruction is AdvanceNonceAccountInstruction;
89
43
  /**
90
44
  * A type guard that returns `true` if the transaction message conforms to the
91
45
  * {@link TransactionMessageWithDurableNonceLifetime} type, and refines its type for use in your
@@ -110,6 +64,29 @@ export declare function isAdvanceNonceAccountInstruction(instruction: IInstructi
110
64
  * ```
111
65
  */
112
66
  export declare function isTransactionMessageWithDurableNonceLifetime(transactionMessage: BaseTransactionMessage | (BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime)): transactionMessage is BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime;
67
+ /**
68
+ * From time to time you might acquire a transaction message, that you expect to have a
69
+ * nonce-based lifetime, from an untrusted network API or user input. Use this function to assert
70
+ * that such a transaction message actually has a nonce-based lifetime.
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * import { assertIsDurableNonceTransactionMessage } from '@solana/transaction-messages';
75
+ *
76
+ * try {
77
+ * // If this type assertion function doesn't throw, then
78
+ * // Typescript will upcast `message` to `TransactionMessageWithDurableNonceLifetime`.
79
+ * assertIsDurableNonceTransactionMessage(message);
80
+ * // At this point, `message` is a `TransactionMessageWithDurableNonceLifetime` that can be used
81
+ * // with the RPC.
82
+ * const { nonce, nonceAccountAddress } = message.lifetimeConstraint;
83
+ * const { data: { blockhash: actualNonce } } = await fetchNonce(nonceAccountAddress);
84
+ * } catch (e) {
85
+ * // `message` turned out not to have a nonce-based lifetime
86
+ * }
87
+ * ```
88
+ */
89
+ export declare function assertIsTransactionMessageWithDurableNonceLifetime(transactionMessage: BaseTransactionMessage | (BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime)): asserts transactionMessage is BaseTransactionMessage & TransactionMessageWithDurableNonceLifetime;
113
90
  /**
114
91
  * Given a nonce, the account where the value of the nonce is stored, and the address of the account
115
92
  * 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,u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5B,8BAA8B,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;QAC5E,GAAG,YAAY,EAAE;KACpB,CAAC;IACF,QAAQ,CAAC,kBAAkB,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;CACrE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,4CAA4C,CACxD,kBAAkB,EAAE,sBAAsB,GAAG,CAAC,sBAAsB,GAAG,0CAA0C,CAAC,GACnH,kBAAkB,IAAI,sBAAsB,GAAG,0CAA0C,CAO3F;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kDAAkD,CAC9D,kBAAkB,EAAE,sBAAsB,GAAG,CAAC,sBAAsB,GAAG,0CAA0C,CAAC,GACnH,OAAO,CAAC,kBAAkB,IAAI,sBAAsB,GAAG,0CAA0C,CAInG;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,8CAA8C,CAC1D,mBAAmB,SAAS,sBAAsB,EAClD,oBAAoB,SAAS,MAAM,GAAG,MAAM,EAC5C,sBAAsB,SAAS,MAAM,GAAG,MAAM,EAC9C,WAAW,SAAS,MAAM,GAAG,MAAM,EAEnC,EACI,KAAK,EACL,mBAAmB,EACnB,qBAAqB,GACxB,EAAE,kBAAkB,CAAC,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,CAAC,EAChF,kBAAkB,EAAE,mBAAmB,GAAG,CAAC,0CAA0C,GAAG,mBAAmB,CAAC,GAC7G,0CAA0C,CAAC,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,CAAC,GACpG,mBAAmB,CA8CtB"}
@@ -36,6 +36,7 @@ export * from './compress-transaction-message';
36
36
  export * from './create-transaction-message';
37
37
  export * from './decompile-message';
38
38
  export * from './durable-nonce';
39
+ export { isAdvanceNonceAccountInstruction } from './durable-nonce-instruction';
39
40
  export * from './fee-payer';
40
41
  export * from './instructions';
41
42
  export * from './transaction-message';
@@ -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;AAGtC,cAAc,cAAc,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,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,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.2.0-canary-20250514101928",
3
+ "version": "2.2.0-canary-20250514102324",
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/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"
57
+ "@solana/addresses": "2.2.0-canary-20250514102324",
58
+ "@solana/codecs-data-structures": "2.2.0-canary-20250514102324",
59
+ "@solana/codecs-numbers": "2.2.0-canary-20250514102324",
60
+ "@solana/errors": "2.2.0-canary-20250514102324",
61
+ "@solana/codecs-core": "2.2.0-canary-20250514102324",
62
+ "@solana/functional": "2.2.0-canary-20250514102324",
63
+ "@solana/instructions": "2.2.0-canary-20250514102324",
64
+ "@solana/rpc-types": "2.2.0-canary-20250514102324",
65
+ "@solana/nominal-types": "2.2.0-canary-20250514102324"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "typescript": ">=5.3.3"