From 04751076546eff5b1d74b766df6780f4954e6ea0 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Mon, 26 Oct 2020 18:12:26 -0600 Subject: [PATCH] fix: export message.from() --- web3.js/module.d.ts | 1 + web3.js/module.flow.js | 1 + 2 files changed, 2 insertions(+) diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index ac58b72ae1..7cc5574ebb 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -599,6 +599,7 @@ declare module '@solana/web3.js' { instructions: CompiledInstruction[]; constructor(args: MessageArgs); + static from(buffer: Buffer | Uint8Array | Array): Message; isAccountWritable(index: number): boolean; serialize(): Buffer; } diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 870eafa669..363bde07d8 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -601,6 +601,7 @@ declare module '@solana/web3.js' { instructions: CompiledInstruction[]; constructor(args: MessageArgs): Message; + static from(buffer: Buffer | Uint8Array | Array): Message; isAccountWritable(index: number): boolean; serialize(): Buffer; }