@ghostspeak/sdk 1.1.0 → 1.1.2
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { address, getAddressEncoder, getAddressDecoder, getProgramDerivedAddress
|
|
|
6
6
|
import { decodeAccount, assertAccountExists, fetchEncodedAccount, assertAccountsExist, fetchEncodedAccounts } from '@solana/accounts';
|
|
7
7
|
import { getOptionEncoder, getOptionDecoder } from '@solana/options';
|
|
8
8
|
import { AccountRole, upgradeRoleToSigner } from '@solana/instructions';
|
|
9
|
-
import { createSolanaRpc, getProgramDerivedAddress as getProgramDerivedAddress$1, getBytesEncoder as getBytesEncoder$1, getAddressEncoder as getAddressEncoder$1, addEncoderSizePrefix as addEncoderSizePrefix$1, getUtf8Encoder as getUtf8Encoder$1, getU32Encoder as getU32Encoder$1, getU64Encoder as getU64Encoder$1, sendAndConfirmTransactionFactory, pipe, createTransactionMessage,
|
|
9
|
+
import { createSolanaRpc, getProgramDerivedAddress as getProgramDerivedAddress$1, getBytesEncoder as getBytesEncoder$1, getAddressEncoder as getAddressEncoder$1, addEncoderSizePrefix as addEncoderSizePrefix$1, getUtf8Encoder as getUtf8Encoder$1, getU32Encoder as getU32Encoder$1, getU64Encoder as getU64Encoder$1, sendAndConfirmTransactionFactory, pipe, createTransactionMessage, setTransactionMessageFeePayerSigner, setTransactionMessageLifetimeUsingBlockhash, appendTransactionMessageInstructions, signTransactionMessageWithSigners, setTransactionMessageFeePayer, compileTransactionMessage } from '@solana/kit';
|
|
10
10
|
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
12
12
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -21216,7 +21216,7 @@ var BaseInstructions = class {
|
|
|
21216
21216
|
console.log("\u{1F3D7}\uFE0F Building transaction message...");
|
|
21217
21217
|
const transactionMessage = await pipe(
|
|
21218
21218
|
createTransactionMessage({ version: 0 }),
|
|
21219
|
-
(tx) =>
|
|
21219
|
+
(tx) => setTransactionMessageFeePayerSigner(signers[0], tx),
|
|
21220
21220
|
(tx) => setTransactionMessageLifetimeUsingBlockhash(latestBlockhash, tx),
|
|
21221
21221
|
(tx) => appendTransactionMessageInstructions(instructions, tx)
|
|
21222
21222
|
);
|
|
@@ -21280,7 +21280,7 @@ var BaseInstructions = class {
|
|
|
21280
21280
|
const { value: latestBlockhash } = await this.rpc.getLatestBlockhash().send();
|
|
21281
21281
|
const transactionMessage = await pipe(
|
|
21282
21282
|
createTransactionMessage({ version: 0 }),
|
|
21283
|
-
(tx) =>
|
|
21283
|
+
(tx) => setTransactionMessageFeePayerSigner(signers[0], tx),
|
|
21284
21284
|
(tx) => setTransactionMessageLifetimeUsingBlockhash(latestBlockhash, tx),
|
|
21285
21285
|
(tx) => appendTransactionMessageInstructions(instructions, tx)
|
|
21286
21286
|
);
|