@solana/kit 0.0.0 → 2.1.0-canary-20250227214621

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.
Files changed (38) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +159 -0
  3. package/dist/index.browser.cjs +444 -0
  4. package/dist/index.browser.cjs.map +1 -0
  5. package/dist/index.browser.mjs +349 -0
  6. package/dist/index.browser.mjs.map +1 -0
  7. package/dist/index.development.js +8159 -0
  8. package/dist/index.development.js.map +1 -0
  9. package/dist/index.native.mjs +349 -0
  10. package/dist/index.native.mjs.map +1 -0
  11. package/dist/index.node.cjs +444 -0
  12. package/dist/index.node.cjs.map +1 -0
  13. package/dist/index.node.mjs +349 -0
  14. package/dist/index.node.mjs.map +1 -0
  15. package/dist/index.production.min.js +594 -0
  16. package/dist/types/airdrop-internal.d.ts +16 -0
  17. package/dist/types/airdrop-internal.d.ts.map +1 -0
  18. package/dist/types/airdrop.d.ts +18 -0
  19. package/dist/types/airdrop.d.ts.map +1 -0
  20. package/dist/types/compute-limit-internal.d.ts +70 -0
  21. package/dist/types/compute-limit-internal.d.ts.map +1 -0
  22. package/dist/types/compute-limit.d.ts +10 -0
  23. package/dist/types/compute-limit.d.ts.map +1 -0
  24. package/dist/types/decompile-transaction-message-fetching-lookup-tables.d.ts +9 -0
  25. package/dist/types/decompile-transaction-message-fetching-lookup-tables.d.ts.map +1 -0
  26. package/dist/types/fetch-lookup-tables.d.ts +6 -0
  27. package/dist/types/fetch-lookup-tables.d.ts.map +1 -0
  28. package/dist/types/index.d.ts +25 -0
  29. package/dist/types/index.d.ts.map +1 -0
  30. package/dist/types/send-and-confirm-durable-nonce-transaction.d.ts +18 -0
  31. package/dist/types/send-and-confirm-durable-nonce-transaction.d.ts.map +1 -0
  32. package/dist/types/send-and-confirm-transaction.d.ts +18 -0
  33. package/dist/types/send-and-confirm-transaction.d.ts.map +1 -0
  34. package/dist/types/send-transaction-internal.d.ts +25 -0
  35. package/dist/types/send-transaction-internal.d.ts.map +1 -0
  36. package/dist/types/send-transaction-without-confirming.d.ts +10 -0
  37. package/dist/types/send-transaction-without-confirming.d.ts.map +1 -0
  38. package/package.json +99 -3
@@ -0,0 +1,16 @@
1
+ import type { Address } from '@solana/addresses';
2
+ import type { Signature } from '@solana/keys';
3
+ import type { RequestAirdropApi, Rpc } from '@solana/rpc';
4
+ import type { Commitment, Lamports } from '@solana/rpc-types';
5
+ import { waitForRecentTransactionConfirmationUntilTimeout } from '@solana/transaction-confirmation';
6
+ type RequestAndConfirmAirdropConfig = Readonly<{
7
+ abortSignal?: AbortSignal;
8
+ commitment: Commitment;
9
+ confirmSignatureOnlyTransaction: (config: Omit<Parameters<typeof waitForRecentTransactionConfirmationUntilTimeout>[0], 'getRecentSignatureConfirmationPromise' | 'getTimeoutPromise'>) => Promise<void>;
10
+ lamports: Lamports;
11
+ recipientAddress: Address;
12
+ rpc: Rpc<RequestAirdropApi>;
13
+ }>;
14
+ export declare function requestAndConfirmAirdrop_INTERNAL_ONLY_DO_NOT_EXPORT({ abortSignal, commitment, confirmSignatureOnlyTransaction, lamports, recipientAddress, rpc, }: RequestAndConfirmAirdropConfig): Promise<Signature>;
15
+ export {};
16
+ //# sourceMappingURL=airdrop-internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdrop-internal.d.ts","sourceRoot":"","sources":["../../src/airdrop-internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,gDAAgD,EAAE,MAAM,kCAAkC,CAAC;AAEpG,KAAK,8BAA8B,GAAG,QAAQ,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,+BAA+B,EAAE,CAC7B,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,gDAAgD,CAAC,CAAC,CAAC,CAAC,EACtE,uCAAuC,GAAG,mBAAmB,CAChE,KACA,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,GAAG,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;CAC/B,CAAC,CAAC;AAEH,wBAAsB,oDAAoD,CAAC,EACvE,WAAW,EACX,UAAU,EACV,+BAA+B,EAC/B,QAAQ,EACR,gBAAgB,EAChB,GAAG,GACN,EAAE,8BAA8B,GAAG,OAAO,CAAC,SAAS,CAAC,CAUrD"}
@@ -0,0 +1,18 @@
1
+ import type { Signature } from '@solana/keys';
2
+ import type { GetSignatureStatusesApi, RequestAirdropApi, Rpc } from '@solana/rpc';
3
+ import type { RpcSubscriptions, SignatureNotificationsApi } from '@solana/rpc-subscriptions';
4
+ import { requestAndConfirmAirdrop_INTERNAL_ONLY_DO_NOT_EXPORT } from './airdrop-internal';
5
+ type AirdropFunction = (config: Omit<Parameters<typeof requestAndConfirmAirdrop_INTERNAL_ONLY_DO_NOT_EXPORT>[0], 'confirmSignatureOnlyTransaction' | 'rpc'>) => Promise<Signature>;
6
+ type AirdropFactoryConfig<TCluster> = {
7
+ rpc: Rpc<GetSignatureStatusesApi & RequestAirdropApi> & {
8
+ '~cluster'?: TCluster;
9
+ };
10
+ rpcSubscriptions: RpcSubscriptions<SignatureNotificationsApi> & {
11
+ '~cluster'?: TCluster;
12
+ };
13
+ };
14
+ export declare function airdropFactory({ rpc, rpcSubscriptions }: AirdropFactoryConfig<'devnet'>): AirdropFunction;
15
+ export declare function airdropFactory({ rpc, rpcSubscriptions }: AirdropFactoryConfig<'mainnet'>): AirdropFunction;
16
+ export declare function airdropFactory({ rpc, rpcSubscriptions }: AirdropFactoryConfig<'testnet'>): AirdropFunction;
17
+ export {};
18
+ //# sourceMappingURL=airdrop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdrop.d.ts","sourceRoot":"","sources":["../../src/airdrop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAO7F,OAAO,EAAE,oDAAoD,EAAE,MAAM,oBAAoB,CAAC;AAE1F,KAAK,eAAe,GAAG,CACnB,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,oDAAoD,CAAC,CAAC,CAAC,CAAC,EAC1E,iCAAiC,GAAG,KAAK,CAC5C,KACA,OAAO,CAAC,SAAS,CAAC,CAAC;AAExB,KAAK,oBAAoB,CAAC,QAAQ,IAAI;IAClC,GAAG,EAAE,GAAG,CAAC,uBAAuB,GAAG,iBAAiB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IAClF,gBAAgB,EAAE,gBAAgB,CAAC,yBAAyB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;CAC7F,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,oBAAoB,CAAC,QAAQ,CAAC,GAAG,eAAe,CAAC;AAC3G,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,oBAAoB,CAAC,SAAS,CAAC,GAAG,eAAe,CAAC;AAC5G,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,oBAAoB,CAAC,SAAS,CAAC,GAAG,eAAe,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { Rpc, SimulateTransactionApi } from '@solana/rpc';
2
+ import { Commitment, Slot } from '@solana/rpc-types';
3
+ import { CompilableTransactionMessage, ITransactionMessageWithFeePayer, TransactionMessage } from '@solana/transaction-messages';
4
+ type ComputeUnitEstimateForTransactionMessageConfig = Readonly<{
5
+ abortSignal?: AbortSignal;
6
+ commitment?: Commitment;
7
+ minContextSlot?: Slot;
8
+ rpc: Rpc<SimulateTransactionApi>;
9
+ transactionMessage: CompilableTransactionMessage | (ITransactionMessageWithFeePayer & TransactionMessage);
10
+ }>;
11
+ /**
12
+ * Simulates a transaction message on the network and returns the number of compute units it
13
+ * consumed during simulation.
14
+ *
15
+ * The estimate this function returns can be used to set a compute unit limit on the transaction.
16
+ * Correctly budgeting a compute unit limit for your transaction message can increase the probability
17
+ * that your transaction will be accepted for processing.
18
+ *
19
+ * If you don't declare a compute unit limit on your transaction, validators will assume an upper
20
+ * limit of 200K compute units (CU) per instruction. Since validators have an incentive to pack as
21
+ * many transactions into each block as possible, they may choose to include transactions that they
22
+ * know will fit into the remaining compute budget for the current block over transactions that
23
+ * might not. For this reason, you should set a compute unit limit on each of your transaction
24
+ * messages, whenever possible.
25
+ *
26
+ * ## Example
27
+ *
28
+ * ```ts
29
+ * import { getSetComputeLimitInstruction } from '@solana-program/compute-budget';
30
+ * import { createSolanaRpc, getComputeUnitEstimateForTransactionMessageFactory, pipe } from '@solana/kit';
31
+ *
32
+ * // Create an estimator function.
33
+ * const rpc = createSolanaRpc('http://127.0.0.1:8899');
34
+ * const getComputeUnitEstimateForTransactionMessage =
35
+ * getComputeUnitEstimateForTransactionMessageFactory({ rpc });
36
+ *
37
+ * // Create your transaction message.
38
+ * const transactionMessage = pipe(
39
+ * createTransactionMessage({ version: 'legacy' }),
40
+ * /* ... *\/
41
+ * );
42
+ *
43
+ * // Request an estimate of the actual compute units this message will consume.
44
+ * const computeUnitsEstimate =
45
+ * await getComputeUnitEstimateForTransactionMessage(transactionMessage);
46
+ *
47
+ * // Set the transaction message's compute unit budget.
48
+ * const transactionMessageWithComputeUnitLimit = prependTransactionMessageInstruction(
49
+ * getSetComputeLimitInstruction({ units: computeUnitsEstimate }),
50
+ * transactionMessage,
51
+ * );
52
+ * ```
53
+ *
54
+ * > [!WARNING]
55
+ * > The compute unit estimate is just that &ndash; an estimate. The compute unit consumption of the
56
+ * > actual transaction might be higher or lower than what was observed in simulation. Unless you
57
+ * > are confident that your particular transaction message will consume the same or fewer compute
58
+ * > units as was estimated, you might like to augment the estimate by either a fixed number of CUs
59
+ * > or a multiplier.
60
+ *
61
+ * > [!NOTE]
62
+ * > If you are preparing an _unsigned_ transaction, destined to be signed and submitted to the
63
+ * > network by a wallet, you might like to leave it up to the wallet to determine the compute unit
64
+ * > limit. Consider that the wallet might have a more global view of how many compute units certain
65
+ * > types of transactions consume, and might be able to make better estimates of an appropriate
66
+ * > compute unit budget.
67
+ */
68
+ export declare function getComputeUnitEstimateForTransactionMessage_INTERNAL_ONLY_DO_NOT_EXPORT({ abortSignal, rpc, transactionMessage, ...simulateConfig }: ComputeUnitEstimateForTransactionMessageConfig): Promise<number>;
69
+ export {};
70
+ //# sourceMappingURL=compute-limit-internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-limit-internal.d.ts","sourceRoot":"","sources":["../../src/compute-limit-internal.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAa,UAAU,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAEH,4BAA4B,EAG5B,+BAA+B,EAE/B,kBAAkB,EACrB,MAAM,8BAA8B,CAAC;AAGtC,KAAK,8CAA8C,GAAG,QAAQ,CAAC;IAC3D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,GAAG,EAAE,GAAG,CAAC,sBAAsB,CAAC,CAAC;IACjC,kBAAkB,EAAE,4BAA4B,GAAG,CAAC,+BAA+B,GAAG,kBAAkB,CAAC,CAAC;CAC7G,CAAC,CAAC;AAgCH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wBAAsB,uEAAuE,CAAC,EAC1F,WAAW,EACX,GAAG,EACH,kBAAkB,EAClB,GAAG,cAAc,EACpB,EAAE,8CAA8C,GAAG,OAAO,CAAC,MAAM,CAAC,CAwElE"}
@@ -0,0 +1,10 @@
1
+ import { Rpc, SimulateTransactionApi } from '@solana/rpc';
2
+ import { CompilableTransactionMessage, ITransactionMessageWithFeePayer, TransactionMessage } from '@solana/transaction-messages';
3
+ import { getComputeUnitEstimateForTransactionMessage_INTERNAL_ONLY_DO_NOT_EXPORT } from './compute-limit-internal';
4
+ type ComputeUnitEstimateForTransactionMessageFactoryConfig = Readonly<{
5
+ rpc: Rpc<SimulateTransactionApi>;
6
+ }>;
7
+ type ComputeUnitEstimateForTransactionMessageFunction = (transactionMessage: CompilableTransactionMessage | (ITransactionMessageWithFeePayer & TransactionMessage), config?: Omit<Parameters<typeof getComputeUnitEstimateForTransactionMessage_INTERNAL_ONLY_DO_NOT_EXPORT>[0], 'rpc' | 'transactionMessage'>) => Promise<number>;
8
+ export declare function getComputeUnitEstimateForTransactionMessageFactory({ rpc, }: ComputeUnitEstimateForTransactionMessageFactoryConfig): ComputeUnitEstimateForTransactionMessageFunction;
9
+ export {};
10
+ //# sourceMappingURL=compute-limit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-limit.d.ts","sourceRoot":"","sources":["../../src/compute-limit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EACH,4BAA4B,EAC5B,+BAA+B,EAC/B,kBAAkB,EACrB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,uEAAuE,EAAE,MAAM,0BAA0B,CAAC;AAEnH,KAAK,qDAAqD,GAAG,QAAQ,CAAC;IAClE,GAAG,EAAE,GAAG,CAAC,sBAAsB,CAAC,CAAC;CACpC,CAAC,CAAC;AACH,KAAK,gDAAgD,GAAG,CACpD,kBAAkB,EAAE,4BAA4B,GAAG,CAAC,+BAA+B,GAAG,kBAAkB,CAAC,EACzG,MAAM,CAAC,EAAE,IAAI,CACT,UAAU,CAAC,OAAO,uEAAuE,CAAC,CAAC,CAAC,CAAC,EAC7F,KAAK,GAAG,oBAAoB,CAC/B,KACA,OAAO,CAAC,MAAM,CAAC,CAAC;AAErB,wBAAgB,kDAAkD,CAAC,EAC/D,GAAG,GACN,EAAE,qDAAqD,GAAG,gDAAgD,CAQ1G"}
@@ -0,0 +1,9 @@
1
+ import { type FetchAccountsConfig } from '@solana/accounts';
2
+ import type { GetMultipleAccountsApi, Rpc } from '@solana/rpc';
3
+ import { CompilableTransactionMessage, CompiledTransactionMessage } from '@solana/transaction-messages';
4
+ type DecompileTransactionMessageFetchingLookupTablesConfig = FetchAccountsConfig & {
5
+ lastValidBlockHeight?: bigint;
6
+ };
7
+ export declare function decompileTransactionMessageFetchingLookupTables(compiledTransactionMessage: CompiledTransactionMessage, rpc: Rpc<GetMultipleAccountsApi>, config?: DecompileTransactionMessageFetchingLookupTablesConfig): Promise<CompilableTransactionMessage>;
8
+ export {};
9
+ //# sourceMappingURL=decompile-transaction-message-fetching-lookup-tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decompile-transaction-message-fetching-lookup-tables.d.ts","sourceRoot":"","sources":["../../src/decompile-transaction-message-fetching-lookup-tables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EACH,4BAA4B,EAC5B,0BAA0B,EAE7B,MAAM,8BAA8B,CAAC;AAItC,KAAK,qDAAqD,GAAG,mBAAmB,GAAG;IAC/E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,wBAAsB,+CAA+C,CACjE,0BAA0B,EAAE,0BAA0B,EACtD,GAAG,EAAE,GAAG,CAAC,sBAAsB,CAAC,EAChC,MAAM,CAAC,EAAE,qDAAqD,GAC/D,OAAO,CAAC,4BAA4B,CAAC,CAmBvC"}
@@ -0,0 +1,6 @@
1
+ import { type FetchAccountsConfig } from '@solana/accounts';
2
+ import type { Address } from '@solana/addresses';
3
+ import type { GetMultipleAccountsApi, Rpc } from '@solana/rpc';
4
+ import { type AddressesByLookupTableAddress } from '@solana/transaction-messages';
5
+ export declare function fetchAddressesForLookupTables(lookupTableAddresses: Address[], rpc: Rpc<GetMultipleAccountsApi>, config?: FetchAccountsConfig): Promise<AddressesByLookupTableAddress>;
6
+ //# sourceMappingURL=fetch-lookup-tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-lookup-tables.d.ts","sourceRoot":"","sources":["../../src/fetch-lookup-tables.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,mBAAmB,EAE3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAMlF,wBAAsB,6BAA6B,CAC/C,oBAAoB,EAAE,OAAO,EAAE,EAC/B,GAAG,EAAE,GAAG,CAAC,sBAAsB,CAAC,EAChC,MAAM,CAAC,EAAE,mBAAmB,GAC7B,OAAO,CAAC,6BAA6B,CAAC,CAoBxC"}
@@ -0,0 +1,25 @@
1
+ export * from '@solana/accounts';
2
+ export * from '@solana/addresses';
3
+ export * from '@solana/codecs';
4
+ export * from '@solana/errors';
5
+ export * from '@solana/functional';
6
+ export * from '@solana/instructions';
7
+ export * from '@solana/keys';
8
+ export * from '@solana/programs';
9
+ export * from '@solana/rpc';
10
+ export * from '@solana/rpc-parsed-types';
11
+ export * from '@solana/rpc-subscriptions';
12
+ export * from '@solana/rpc-types';
13
+ export * from '@solana/signers';
14
+ export * from '@solana/transaction-messages';
15
+ export * from '@solana/transactions';
16
+ export * from './airdrop';
17
+ export * from './compute-limit';
18
+ export * from './decompile-transaction-message-fetching-lookup-tables';
19
+ export * from './fetch-lookup-tables';
20
+ export * from './send-and-confirm-durable-nonce-transaction';
21
+ export * from './send-and-confirm-transaction';
22
+ export * from './send-transaction-without-confirming';
23
+ export type { RpcRequest, RpcRequestTransformer, RpcResponse, RpcResponseData, RpcResponseTransformer, } from '@solana/rpc-spec-types';
24
+ export { createRpcMessage } from '@solana/rpc-spec-types';
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wDAAwD,CAAC;AACvE,cAAc,uBAAuB,CAAC;AACtC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AAEtD,YAAY,EACR,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,sBAAsB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { GetAccountInfoApi, GetSignatureStatusesApi, Rpc, SendTransactionApi } from '@solana/rpc';
2
+ import type { AccountNotificationsApi, RpcSubscriptions, SignatureNotificationsApi } from '@solana/rpc-subscriptions';
3
+ import { FullySignedTransaction, TransactionWithDurableNonceLifetime } from '@solana/transactions';
4
+ import { sendAndConfirmDurableNonceTransaction_INTERNAL_ONLY_DO_NOT_EXPORT } from './send-transaction-internal';
5
+ type SendAndConfirmDurableNonceTransactionFunction = (transaction: FullySignedTransaction & TransactionWithDurableNonceLifetime, config: Omit<Parameters<typeof sendAndConfirmDurableNonceTransaction_INTERNAL_ONLY_DO_NOT_EXPORT>[0], 'confirmDurableNonceTransaction' | 'rpc' | 'transaction'>) => Promise<void>;
6
+ type SendAndConfirmDurableNonceTransactionFactoryConfig<TCluster> = {
7
+ rpc: Rpc<GetAccountInfoApi & GetSignatureStatusesApi & SendTransactionApi> & {
8
+ '~cluster'?: TCluster;
9
+ };
10
+ rpcSubscriptions: RpcSubscriptions<AccountNotificationsApi & SignatureNotificationsApi> & {
11
+ '~cluster'?: TCluster;
12
+ };
13
+ };
14
+ export declare function sendAndConfirmDurableNonceTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmDurableNonceTransactionFactoryConfig<'devnet'>): SendAndConfirmDurableNonceTransactionFunction;
15
+ export declare function sendAndConfirmDurableNonceTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmDurableNonceTransactionFactoryConfig<'testnet'>): SendAndConfirmDurableNonceTransactionFunction;
16
+ export declare function sendAndConfirmDurableNonceTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmDurableNonceTransactionFactoryConfig<'mainnet'>): SendAndConfirmDurableNonceTransactionFunction;
17
+ export {};
18
+ //# sourceMappingURL=send-and-confirm-durable-nonce-transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-and-confirm-durable-nonce-transaction.d.ts","sourceRoot":"","sources":["../../src/send-and-confirm-durable-nonce-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACvG,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAMtH,OAAO,EAAE,sBAAsB,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAC;AAEnG,OAAO,EAAE,iEAAiE,EAAE,MAAM,6BAA6B,CAAC;AAEhH,KAAK,6CAA6C,GAAG,CACjD,WAAW,EAAE,sBAAsB,GAAG,mCAAmC,EACzE,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,iEAAiE,CAAC,CAAC,CAAC,CAAC,EACvF,gCAAgC,GAAG,KAAK,GAAG,aAAa,CAC3D,KACA,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,KAAK,kDAAkD,CAAC,QAAQ,IAAI;IAChE,GAAG,EAAE,GAAG,CAAC,iBAAiB,GAAG,uBAAuB,GAAG,kBAAkB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IACvG,gBAAgB,EAAE,gBAAgB,CAAC,uBAAuB,GAAG,yBAAyB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;CACvH,CAAC;AAEF,wBAAgB,4CAA4C,CAAC,EACzD,GAAG,EACH,gBAAgB,GACnB,EAAE,kDAAkD,CAAC,QAAQ,CAAC,GAAG,6CAA6C,CAAC;AAChH,wBAAgB,4CAA4C,CAAC,EACzD,GAAG,EACH,gBAAgB,GACnB,EAAE,kDAAkD,CAAC,SAAS,CAAC,GAAG,6CAA6C,CAAC;AACjH,wBAAgB,4CAA4C,CAAC,EACzD,GAAG,EACH,gBAAgB,GACnB,EAAE,kDAAkD,CAAC,SAAS,CAAC,GAAG,6CAA6C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { GetEpochInfoApi, GetSignatureStatusesApi, Rpc, SendTransactionApi } from '@solana/rpc';
2
+ import type { RpcSubscriptions, SignatureNotificationsApi, SlotNotificationsApi } from '@solana/rpc-subscriptions';
3
+ import { FullySignedTransaction, TransactionWithBlockhashLifetime } from '@solana/transactions';
4
+ import { sendAndConfirmTransactionWithBlockhashLifetime_INTERNAL_ONLY_DO_NOT_EXPORT } from './send-transaction-internal';
5
+ type SendAndConfirmTransactionWithBlockhashLifetimeFunction = (transaction: FullySignedTransaction & TransactionWithBlockhashLifetime, config: Omit<Parameters<typeof sendAndConfirmTransactionWithBlockhashLifetime_INTERNAL_ONLY_DO_NOT_EXPORT>[0], 'confirmRecentTransaction' | 'rpc' | 'transaction'>) => Promise<void>;
6
+ type SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig<TCluster> = {
7
+ rpc: Rpc<GetEpochInfoApi & GetSignatureStatusesApi & SendTransactionApi> & {
8
+ '~cluster'?: TCluster;
9
+ };
10
+ rpcSubscriptions: RpcSubscriptions<SignatureNotificationsApi & SlotNotificationsApi> & {
11
+ '~cluster'?: TCluster;
12
+ };
13
+ };
14
+ export declare function sendAndConfirmTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig<'devnet'>): SendAndConfirmTransactionWithBlockhashLifetimeFunction;
15
+ export declare function sendAndConfirmTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig<'testnet'>): SendAndConfirmTransactionWithBlockhashLifetimeFunction;
16
+ export declare function sendAndConfirmTransactionFactory({ rpc, rpcSubscriptions, }: SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig<'mainnet'>): SendAndConfirmTransactionWithBlockhashLifetimeFunction;
17
+ export {};
18
+ //# sourceMappingURL=send-and-confirm-transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-and-confirm-transaction.d.ts","sourceRoot":"","sources":["../../src/send-and-confirm-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrG,OAAO,KAAK,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAMnH,OAAO,EAAE,sBAAsB,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAEhG,OAAO,EAAE,0EAA0E,EAAE,MAAM,6BAA6B,CAAC;AAEzH,KAAK,sDAAsD,GAAG,CAC1D,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,EACtE,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,0EAA0E,CAAC,CAAC,CAAC,CAAC,EAChG,0BAA0B,GAAG,KAAK,GAAG,aAAa,CACrD,KACA,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,KAAK,2DAA2D,CAAC,QAAQ,IAAI;IACzE,GAAG,EAAE,GAAG,CAAC,eAAe,GAAG,uBAAuB,GAAG,kBAAkB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IACrG,gBAAgB,EAAE,gBAAgB,CAAC,yBAAyB,GAAG,oBAAoB,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;CACpH,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,EAC7C,GAAG,EACH,gBAAgB,GACnB,EAAE,2DAA2D,CAAC,QAAQ,CAAC,GAAG,sDAAsD,CAAC;AAClI,wBAAgB,gCAAgC,CAAC,EAC7C,GAAG,EACH,gBAAgB,GACnB,EAAE,2DAA2D,CAAC,SAAS,CAAC,GAAG,sDAAsD,CAAC;AACnI,wBAAgB,gCAAgC,CAAC,EAC7C,GAAG,EACH,gBAAgB,GACnB,EAAE,2DAA2D,CAAC,SAAS,CAAC,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { Signature } from '@solana/keys';
2
+ import type { Rpc, SendTransactionApi } from '@solana/rpc';
3
+ import { Commitment } from '@solana/rpc-types';
4
+ import { waitForDurableNonceTransactionConfirmation, waitForRecentTransactionConfirmation } from '@solana/transaction-confirmation';
5
+ import { FullySignedTransaction, TransactionWithBlockhashLifetime, TransactionWithDurableNonceLifetime } from '@solana/transactions';
6
+ interface SendAndConfirmDurableNonceTransactionConfig extends SendTransactionBaseConfig, SendTransactionConfigWithoutEncoding {
7
+ confirmDurableNonceTransaction: (config: Omit<Parameters<typeof waitForDurableNonceTransactionConfirmation>[0], 'getNonceInvalidationPromise' | 'getRecentSignatureConfirmationPromise'>) => Promise<void>;
8
+ transaction: FullySignedTransaction & TransactionWithDurableNonceLifetime;
9
+ }
10
+ interface SendAndConfirmTransactionWithBlockhashLifetimeConfig extends SendTransactionBaseConfig, SendTransactionConfigWithoutEncoding {
11
+ confirmRecentTransaction: (config: Omit<Parameters<typeof waitForRecentTransactionConfirmation>[0], 'getBlockHeightExceedencePromise' | 'getRecentSignatureConfirmationPromise'>) => Promise<void>;
12
+ transaction: FullySignedTransaction & TransactionWithBlockhashLifetime;
13
+ }
14
+ interface SendTransactionBaseConfig extends SendTransactionConfigWithoutEncoding {
15
+ abortSignal?: AbortSignal;
16
+ commitment: Commitment;
17
+ rpc: Rpc<SendTransactionApi>;
18
+ transaction: FullySignedTransaction;
19
+ }
20
+ type SendTransactionConfigWithoutEncoding = Omit<NonNullable<Parameters<SendTransactionApi['sendTransaction']>[1]>, 'encoding'>;
21
+ export declare function sendTransaction_INTERNAL_ONLY_DO_NOT_EXPORT({ abortSignal, commitment, rpc, transaction, ...sendTransactionConfig }: SendTransactionBaseConfig): Promise<Signature>;
22
+ export declare function sendAndConfirmDurableNonceTransaction_INTERNAL_ONLY_DO_NOT_EXPORT({ abortSignal, commitment, confirmDurableNonceTransaction, rpc, transaction, ...sendTransactionConfig }: SendAndConfirmDurableNonceTransactionConfig): Promise<Signature>;
23
+ export declare function sendAndConfirmTransactionWithBlockhashLifetime_INTERNAL_ONLY_DO_NOT_EXPORT({ abortSignal, commitment, confirmRecentTransaction, rpc, transaction, ...sendTransactionConfig }: SendAndConfirmTransactionWithBlockhashLifetimeConfig): Promise<Signature>;
24
+ export {};
25
+ //# sourceMappingURL=send-transaction-internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-transaction-internal.d.ts","sourceRoot":"","sources":["../../src/send-transaction-internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAwB,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACH,0CAA0C,EAC1C,oCAAoC,EACvC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,sBAAsB,EAEtB,gCAAgC,EAChC,mCAAmC,EACtC,MAAM,sBAAsB,CAAC;AAE9B,UAAU,2CACN,SAAQ,yBAAyB,EAC7B,oCAAoC;IACxC,8BAA8B,EAAE,CAC5B,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,0CAA0C,CAAC,CAAC,CAAC,CAAC,EAChE,6BAA6B,GAAG,uCAAuC,CAC1E,KACA,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,WAAW,EAAE,sBAAsB,GAAG,mCAAmC,CAAC;CAC7E;AAED,UAAU,oDACN,SAAQ,yBAAyB,EAC7B,oCAAoC;IACxC,wBAAwB,EAAE,CACtB,MAAM,EAAE,IAAI,CACR,UAAU,CAAC,OAAO,oCAAoC,CAAC,CAAC,CAAC,CAAC,EAC1D,iCAAiC,GAAG,uCAAuC,CAC9E,KACA,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,CAAC;CAC1E;AAED,UAAU,yBAA0B,SAAQ,oCAAoC;IAC5E,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;IACvB,GAAG,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC7B,WAAW,EAAE,sBAAsB,CAAC;CACvC;AAED,KAAK,oCAAoC,GAAG,IAAI,CAC5C,WAAW,CAAC,UAAU,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACjE,UAAU,CACb,CAAC;AA0BF,wBAAsB,2CAA2C,CAAC,EAC9D,WAAW,EACX,UAAU,EACV,GAAG,EACH,WAAW,EACX,GAAG,qBAAqB,EAC3B,EAAE,yBAAyB,GAAG,OAAO,CAAC,SAAS,CAAC,CAQhD;AAED,wBAAsB,iEAAiE,CAAC,EACpF,WAAW,EACX,UAAU,EACV,8BAA8B,EAC9B,GAAG,EACH,WAAW,EACX,GAAG,qBAAqB,EAC3B,EAAE,2CAA2C,GAAG,OAAO,CAAC,SAAS,CAAC,CAclE;AAED,wBAAsB,0EAA0E,CAAC,EAC7F,WAAW,EACX,UAAU,EACV,wBAAwB,EACxB,GAAG,EACH,WAAW,EACX,GAAG,qBAAqB,EAC3B,EAAE,oDAAoD,GAAG,OAAO,CAAC,SAAS,CAAC,CAc3E"}
@@ -0,0 +1,10 @@
1
+ import type { Rpc, SendTransactionApi } from '@solana/rpc';
2
+ import { FullySignedTransaction } from '@solana/transactions';
3
+ import { sendTransaction_INTERNAL_ONLY_DO_NOT_EXPORT } from './send-transaction-internal';
4
+ type SendTransactionWithoutConfirmingFunction = (transaction: FullySignedTransaction, config: Omit<Parameters<typeof sendTransaction_INTERNAL_ONLY_DO_NOT_EXPORT>[0], 'rpc' | 'transaction'>) => Promise<void>;
5
+ interface SendTransactionWithoutConfirmingFactoryConfig {
6
+ rpc: Rpc<SendTransactionApi>;
7
+ }
8
+ export declare function sendTransactionWithoutConfirmingFactory({ rpc, }: SendTransactionWithoutConfirmingFactoryConfig): SendTransactionWithoutConfirmingFunction;
9
+ export {};
10
+ //# sourceMappingURL=send-transaction-without-confirming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-transaction-without-confirming.d.ts","sourceRoot":"","sources":["../../src/send-transaction-without-confirming.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,EAAE,2CAA2C,EAAE,MAAM,6BAA6B,CAAC;AAE1F,KAAK,wCAAwC,GAAG,CAC5C,WAAW,EAAE,sBAAsB,EACnC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,2CAA2C,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC,KACrG,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,UAAU,6CAA6C;IACnD,GAAG,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;CAChC;AAED,wBAAgB,uCAAuC,CAAC,EACpD,GAAG,GACN,EAAE,6CAA6C,GAAG,wCAAwC,CAQ1F"}
package/package.json CHANGED
@@ -1,5 +1,101 @@
1
1
  {
2
2
  "name": "@solana/kit",
3
- "version": "0.0.0",
4
- "description": ""
5
- }
3
+ "version": "2.1.0-canary-20250227214621",
4
+ "description": "Solana Javascript API",
5
+ "exports": {
6
+ "edge-light": {
7
+ "import": "./dist/index.node.mjs",
8
+ "require": "./dist/index.node.cjs"
9
+ },
10
+ "workerd": {
11
+ "import": "./dist/index.node.mjs",
12
+ "require": "./dist/index.node.cjs"
13
+ },
14
+ "browser": {
15
+ "import": "./dist/index.browser.mjs",
16
+ "require": "./dist/index.browser.cjs"
17
+ },
18
+ "node": {
19
+ "import": "./dist/index.node.mjs",
20
+ "require": "./dist/index.node.cjs"
21
+ },
22
+ "react-native": "./dist/index.native.mjs",
23
+ "types": "./dist/types/index.d.ts"
24
+ },
25
+ "browser": {
26
+ "./dist/index.node.cjs": "./dist/index.browser.cjs",
27
+ "./dist/index.node.mjs": "./dist/index.browser.mjs"
28
+ },
29
+ "jsdelivr": "./dist/index.production.min.js",
30
+ "umd": "./dist/index.production.min.js",
31
+ "unpkg": "./dist/index.production.min.js",
32
+ "main": "./dist/index.node.cjs",
33
+ "module": "./dist/index.node.mjs",
34
+ "react-native": "./dist/index.native.mjs",
35
+ "types": "./dist/types/index.d.ts",
36
+ "type": "commonjs",
37
+ "files": [
38
+ "./dist/"
39
+ ],
40
+ "sideEffects": false,
41
+ "keywords": [
42
+ "blockchain",
43
+ "solana",
44
+ "web3"
45
+ ],
46
+ "author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/anza-xyz/kit"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/anza-xyz/kit/issues"
54
+ },
55
+ "browserslist": [
56
+ "supports bigint and not dead",
57
+ "maintained node versions"
58
+ ],
59
+ "dependencies": {
60
+ "@solana/codecs": "2.1.0-canary-20250227214621",
61
+ "@solana/accounts": "2.1.0-canary-20250227214621",
62
+ "@solana/addresses": "2.1.0-canary-20250227214621",
63
+ "@solana/functional": "2.1.0-canary-20250227214621",
64
+ "@solana/errors": "2.1.0-canary-20250227214621",
65
+ "@solana/instructions": "2.1.0-canary-20250227214621",
66
+ "@solana/keys": "2.1.0-canary-20250227214621",
67
+ "@solana/programs": "2.1.0-canary-20250227214621",
68
+ "@solana/rpc-parsed-types": "2.1.0-canary-20250227214621",
69
+ "@solana/rpc": "2.1.0-canary-20250227214621",
70
+ "@solana/rpc-subscriptions": "2.1.0-canary-20250227214621",
71
+ "@solana/rpc-spec-types": "2.1.0-canary-20250227214621",
72
+ "@solana/rpc-types": "2.1.0-canary-20250227214621",
73
+ "@solana/sysvars": "2.1.0-canary-20250227214621",
74
+ "@solana/transaction-confirmation": "2.1.0-canary-20250227214621",
75
+ "@solana/signers": "2.1.0-canary-20250227214621",
76
+ "@solana/transaction-messages": "2.1.0-canary-20250227214621",
77
+ "@solana/transactions": "2.1.0-canary-20250227214621"
78
+ },
79
+ "peerDependencies": {
80
+ "typescript": ">=5"
81
+ },
82
+ "engines": {
83
+ "node": ">=20.18.0"
84
+ },
85
+ "scripts": {
86
+ "compile:js": "tsup --config build-scripts/tsup.config.library.ts",
87
+ "compile:typedefs": "tsc -p ./tsconfig.declarations.json",
88
+ "dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
89
+ "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks",
90
+ "publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
91
+ "style:fix": "pnpm eslint --fix src && pnpm prettier --log-level warn --ignore-unknown --write ./*",
92
+ "test:lint": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
93
+ "test:prettier": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
94
+ "test:treeshakability:browser": "agadoo dist/index.browser.mjs",
95
+ "test:treeshakability:native": "agadoo dist/index.native.mjs",
96
+ "test:treeshakability:node": "agadoo dist/index.node.mjs",
97
+ "test:typecheck": "tsc --noEmit",
98
+ "test:unit:browser": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
99
+ "test:unit:node": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
100
+ }
101
+ }