@joai/warps-adapter-solana 1.2.2 → 1.2.3
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -118,6 +118,8 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
118
118
|
private resolveAccountPubkey;
|
|
119
119
|
private determineAccountFlags;
|
|
120
120
|
private addComputeBudgetInstructions;
|
|
121
|
+
createDeployTransaction(): Promise<never>;
|
|
122
|
+
createUpgradeTransaction(): Promise<never>;
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
declare class WarpSolanaExplorer implements AdapterWarpExplorer {
|
package/dist/index.d.ts
CHANGED
|
@@ -118,6 +118,8 @@ declare class WarpSolanaExecutor implements AdapterWarpExecutor {
|
|
|
118
118
|
private resolveAccountPubkey;
|
|
119
119
|
private determineAccountFlags;
|
|
120
120
|
private addComputeBudgetInstructions;
|
|
121
|
+
createDeployTransaction(): Promise<never>;
|
|
122
|
+
createUpgradeTransaction(): Promise<never>;
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
declare class WarpSolanaExplorer implements AdapterWarpExplorer {
|
package/dist/index.js
CHANGED
|
@@ -1587,6 +1587,12 @@ var WarpSolanaExecutor = class {
|
|
|
1587
1587
|
const computeUnitPriceIx = import_web35.ComputeBudgetProgram.setComputeUnitPrice({ microLamports: WarpSolanaConstants.PriorityFee.Default });
|
|
1588
1588
|
return [computeUnitLimitIx, computeUnitPriceIx, ...instructions];
|
|
1589
1589
|
}
|
|
1590
|
+
async createDeployTransaction() {
|
|
1591
|
+
throw new Error("WarpSolanaExecutor: Contract deployment not supported");
|
|
1592
|
+
}
|
|
1593
|
+
async createUpgradeTransaction() {
|
|
1594
|
+
throw new Error("WarpSolanaExecutor: Contract upgrade not supported");
|
|
1595
|
+
}
|
|
1590
1596
|
};
|
|
1591
1597
|
|
|
1592
1598
|
// src/WarpSolanaExplorer.ts
|