fix: strip internal types from external declaration
This commit is contained in:
committed by
Justin Starry
parent
69a4059da0
commit
44e3445a4d
@@ -1266,7 +1266,7 @@ const ParsedConfirmedTransactionMetaResult = pick({
|
||||
/**
|
||||
* Expected JSON RPC response for the "getConfirmedBlock" message
|
||||
*/
|
||||
export const GetConfirmedBlockRpcResult = jsonRpcResult(
|
||||
const GetConfirmedBlockRpcResult = jsonRpcResult(
|
||||
nullable(
|
||||
pick({
|
||||
blockhash: string(),
|
||||
|
@@ -398,6 +398,7 @@ export type StakeInstructionType =
|
||||
|
||||
/**
|
||||
* An enumeration of valid stake InstructionType's
|
||||
* @internal
|
||||
*/
|
||||
export const STAKE_INSTRUCTION_LAYOUTS: {
|
||||
[type in StakeInstructionType]: InstructionType;
|
||||
|
@@ -546,6 +546,7 @@ export type SystemInstructionType =
|
||||
|
||||
/**
|
||||
* An enumeration of valid system InstructionType's
|
||||
* @internal
|
||||
*/
|
||||
export const SYSTEM_INSTRUCTION_LAYOUTS: {
|
||||
[type in SystemInstructionType]: InstructionType;
|
||||
|
@@ -104,9 +104,9 @@ export class TransactionInstruction {
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* Pair of signature and corresponding public key
|
||||
*/
|
||||
type SignaturePubkeyPair = {
|
||||
export type SignaturePubkeyPair = {
|
||||
signature: Buffer | null;
|
||||
publicKey: PublicKey;
|
||||
};
|
||||
|
Reference in New Issue
Block a user