@joai/warps-adapter-solana 1.0.0 → 1.0.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.d.cts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.js +199 -203
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +168 -172
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -8
package/dist/index.d.cts
CHANGED
|
@@ -106,6 +106,7 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
106
106
|
createTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
107
107
|
createTransferTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
108
108
|
createContractCallTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
109
|
+
private parseAbi;
|
|
109
110
|
private ensureATAs;
|
|
110
111
|
private encodeInstructionData;
|
|
111
112
|
private encodeBasicInstructionData;
|
|
@@ -117,7 +118,6 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
117
118
|
private createTokenTransferTransaction;
|
|
118
119
|
private createSingleTokenTransfer;
|
|
119
120
|
executeQuery(executable: WarpExecutable): Promise<WarpActionExecutionResult>;
|
|
120
|
-
verifyMessage(message: string, signature: string): Promise<string>;
|
|
121
121
|
private setTransactionDefaults;
|
|
122
122
|
private toPublicKey;
|
|
123
123
|
private extractContractArgs;
|
|
@@ -126,11 +126,6 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
126
126
|
private resolveAccountPubkey;
|
|
127
127
|
private determineAccountFlags;
|
|
128
128
|
private addComputeBudgetInstructions;
|
|
129
|
-
private buildAccountMetaMap;
|
|
130
|
-
private sortAccounts;
|
|
131
|
-
private buildAccountIndexMap;
|
|
132
|
-
private compileInstructions;
|
|
133
|
-
private buildMessageV0;
|
|
134
129
|
}
|
|
135
130
|
|
|
136
131
|
declare class WarpSolanaExplorer implements AdapterWarpExplorer {
|
|
@@ -216,6 +211,9 @@ declare class WarpSolanaWallet implements AdapterWarpWallet {
|
|
|
216
211
|
private initializeCache;
|
|
217
212
|
private createProviderForOperation;
|
|
218
213
|
private resolveTransaction;
|
|
214
|
+
private asVersionedTransaction;
|
|
215
|
+
private asVersionedTransactionOrThrow;
|
|
216
|
+
private toSerializedTransactionBytes;
|
|
219
217
|
private shouldSkipPreflight;
|
|
220
218
|
private sendWithRetry;
|
|
221
219
|
private sendRawTransaction;
|
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
106
106
|
createTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
107
107
|
createTransferTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
108
108
|
createContractCallTransaction(executable: WarpExecutable): Promise<VersionedTransaction>;
|
|
109
|
+
private parseAbi;
|
|
109
110
|
private ensureATAs;
|
|
110
111
|
private encodeInstructionData;
|
|
111
112
|
private encodeBasicInstructionData;
|
|
@@ -117,7 +118,6 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
117
118
|
private createTokenTransferTransaction;
|
|
118
119
|
private createSingleTokenTransfer;
|
|
119
120
|
executeQuery(executable: WarpExecutable): Promise<WarpActionExecutionResult>;
|
|
120
|
-
verifyMessage(message: string, signature: string): Promise<string>;
|
|
121
121
|
private setTransactionDefaults;
|
|
122
122
|
private toPublicKey;
|
|
123
123
|
private extractContractArgs;
|
|
@@ -126,11 +126,6 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
126
126
|
private resolveAccountPubkey;
|
|
127
127
|
private determineAccountFlags;
|
|
128
128
|
private addComputeBudgetInstructions;
|
|
129
|
-
private buildAccountMetaMap;
|
|
130
|
-
private sortAccounts;
|
|
131
|
-
private buildAccountIndexMap;
|
|
132
|
-
private compileInstructions;
|
|
133
|
-
private buildMessageV0;
|
|
134
129
|
}
|
|
135
130
|
|
|
136
131
|
declare class WarpSolanaExplorer implements AdapterWarpExplorer {
|
|
@@ -216,6 +211,9 @@ declare class WarpSolanaWallet implements AdapterWarpWallet {
|
|
|
216
211
|
private initializeCache;
|
|
217
212
|
private createProviderForOperation;
|
|
218
213
|
private resolveTransaction;
|
|
214
|
+
private asVersionedTransaction;
|
|
215
|
+
private asVersionedTransactionOrThrow;
|
|
216
|
+
private toSerializedTransactionBytes;
|
|
219
217
|
private shouldSkipPreflight;
|
|
220
218
|
private sendWithRetry;
|
|
221
219
|
private sendRawTransaction;
|