Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
router purse-proxy wasm updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Apr 20, 2022
1 parent 6dcddbf commit 72f01c8
Show file tree
Hide file tree
Showing 5 changed files with 6,486 additions and 359 deletions.
6 changes: 3 additions & 3 deletions JsClients/ROUTER/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export const getBinary = (pathToBinary: string) => {
};

/**
* Returns a binary as u8 array.
* Returns a binary as a buffer.
* @param pathToBinary - Path to binary file to be loaded into memory.
* @return ArrayBufferLike .
* @return buffer .
*/
export const getBinary2 = (pathToBinary: string) => {
export const getWasmDataInBuffer = (pathToBinary: string) => {
return fs.readFileSync(pathToBinary, null);
};

Expand Down
Binary file modified JsClients/ROUTER/wasm/purse-proxy.wasm
Binary file not shown.
Loading

0 comments on commit 72f01c8

Please sign in to comment.