@solana/transaction-messages 2.1.1 → 2.2.0-canary-20250514101537
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 +2 -2
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.node.cjs.map +1 -1
- 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 +13 -0
- package/dist/types/deprecated.d.ts.map +1 -0
- 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
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ const message = createTransactionMessage({ version: 0 });
|
|
|
56
56
|
|
|
57
57
|
### Types
|
|
58
58
|
|
|
59
|
-
#### `
|
|
59
|
+
#### `TransactionMessageWithFeePayer`
|
|
60
60
|
|
|
61
61
|
This type represents a transaction message for which a fee payer has been declared. A transaction must conform to this type to be compiled and landed on the network.
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ This type represents a transaction message for which a fee payer has been declar
|
|
|
64
64
|
|
|
65
65
|
#### `setTransactionMessageFeePayer()`
|
|
66
66
|
|
|
67
|
-
Given a base58-encoded address of a system account, this method will return a new transaction message having the same type as the one supplied plus the `
|
|
67
|
+
Given a base58-encoded address of a system account, this method will return a new transaction message having the same type as the one supplied plus the `TransactionMessageWithFeePayer` type.
|
|
68
68
|
|
|
69
69
|
```ts
|
|
70
70
|
import { address } from '@solana/addresses';
|