From 4897ed0872dcd01f62d71ea0414c2221670ecdf4 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 30 Oct 2018 08:00:11 -0700 Subject: [PATCH] fix: add BpfLoader flow definition --- web3.js/module.flow.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index d94327288b..9e6d9e03e0 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -203,6 +203,17 @@ declare module '@solana/web3.js' { finalize(program: Account): Promise; } + // === src/bpf-loader.js === + declare export class BpfLoader { + static programId: PublicKey; + static load( + connection: Connection, + owner: Account, + elfBytes: Array, + ): Promise; + } + + // === src/native-loader.js === declare export class NativeLoader { static programId: PublicKey;