fix: properly export SYSTEM_INSTRUCTION_LAYOUTS
This commit is contained in:
committed by
Michael Vines
parent
5e1a26ce2e
commit
ae10f1ecab
@ -15,7 +15,11 @@ export {
|
|||||||
STAKE_INSTRUCTION_LAYOUTS,
|
STAKE_INSTRUCTION_LAYOUTS,
|
||||||
StakeProgram,
|
StakeProgram,
|
||||||
} from './stake-program';
|
} from './stake-program';
|
||||||
export {SystemInstruction, SystemProgram} from './system-program';
|
export {
|
||||||
|
SystemInstruction,
|
||||||
|
SystemProgram,
|
||||||
|
SYSTEM_INSTRUCTION_LAYOUTS,
|
||||||
|
} from './system-program';
|
||||||
export {Transaction, TransactionInstruction} from './transaction';
|
export {Transaction, TransactionInstruction} from './transaction';
|
||||||
export {VALIDATOR_INFO_KEY, ValidatorInfo} from './validator-info';
|
export {VALIDATOR_INFO_KEY, ValidatorInfo} from './validator-info';
|
||||||
export {VOTE_PROGRAM_ID, VoteAccount} from './vote-account';
|
export {VOTE_PROGRAM_ID, VoteAccount} from './vote-account';
|
||||||
|
@ -363,7 +363,7 @@ export type SystemInstructionType = $Keys<typeof SYSTEM_INSTRUCTION_LAYOUTS>;
|
|||||||
/**
|
/**
|
||||||
* An enumeration of valid system InstructionType's
|
* An enumeration of valid system InstructionType's
|
||||||
*/
|
*/
|
||||||
const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
export const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze({
|
||||||
Create: {
|
Create: {
|
||||||
index: 0,
|
index: 0,
|
||||||
layout: BufferLayout.struct([
|
layout: BufferLayout.struct([
|
||||||
|
Reference in New Issue
Block a user