@solana/spl-governance
Advanced tools
Comparing version 0.0.18 to 0.0.19
import { PublicKey, TransactionInstruction } from '@solana/web3.js'; | ||
import { InstructionData } from './accounts'; | ||
export declare const withInsertInstruction: (instructions: TransactionInstruction[], programId: PublicKey, programVersion: number, governance: PublicKey, proposal: PublicKey, tokenOwnerRecord: PublicKey, governanceAuthority: PublicKey, index: number, holdUpTime: number, instructionData: InstructionData, payer: PublicKey) => Promise<PublicKey>; | ||
export declare const withInsertInstruction: (instructions: TransactionInstruction[], programId: PublicKey, programVersion: number, governance: PublicKey, proposal: PublicKey, tokenOwnerRecord: PublicKey, governanceAuthority: PublicKey, index: number, optionIndex: number, holdUpTime: number, instructionData: InstructionData, payer: PublicKey) => Promise<PublicKey>; | ||
//# sourceMappingURL=withInsertInstruction.d.ts.map |
@@ -19,7 +19,6 @@ "use strict"; | ||
const runtime_1 = require("../tools/sdk/runtime"); | ||
const withInsertInstruction = (instructions, programId, programVersion, governance, proposal, tokenOwnerRecord, governanceAuthority, index, holdUpTime, instructionData, payer) => __awaiter(void 0, void 0, void 0, function* () { | ||
const optionIndex = 0; | ||
const withInsertInstruction = (instructions, programId, programVersion, governance, proposal, tokenOwnerRecord, governanceAuthority, index, optionIndex, holdUpTime, instructionData, payer) => __awaiter(void 0, void 0, void 0, function* () { | ||
const args = new instructions_1.InsertInstructionArgs({ | ||
index, | ||
optionIndex: 0, | ||
optionIndex, | ||
holdUpTime, | ||
@@ -26,0 +25,0 @@ instructionData: instructionData, |
{ | ||
"name": "@solana/spl-governance", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "SPL Governance Client API", | ||
@@ -5,0 +5,0 @@ "author": "Solana Maintainers <maintainers@solana.foundation>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
358028
226
5226