Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algo/sdk fixes #1143

Merged
merged 2 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.2.7

### Added

safeBigIntToNumber() utility function

## 0.2.6

### Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@certusone/wormhole-sdk",
"version": "0.2.6",
"version": "0.2.7",
"description": "SDK for interacting with Wormhole",
"homepage": "https://wormholenetwork.com",
"main": "./lib/cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions sdk/js/src/algorand/Algorand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ class SubmitVAAState {
* @param appid Application ID
* @returns Current VAA state
*/
async function submitVAAHdr(
export async function submitVAAHeader(
client: Algodv2,
bridgeId: bigint,
vaa: Uint8Array,
Expand Down Expand Up @@ -623,7 +623,7 @@ export async function _submitVAAAlgorand(
vaa: Uint8Array,
senderAddr: string
): Promise<TransactionSignerPair[]> {
let sstate = await submitVAAHdr(
let sstate = await submitVAAHeader(
client,
bridgeId,
vaa,
Expand Down
1 change: 1 addition & 0 deletions sdk/js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export * as utils from "./utils";
export * as bridge from "./bridge";
export * as token_bridge from "./token_bridge";
export * as nft_bridge from "./nft_bridge";
export * as algorand from "./algorand";
1 change: 1 addition & 0 deletions sdk/js/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export * from "./consts";
export * from "./createNonce";
export * from "./parseVaa";
export * from "./array";
export * from "./bigint";