Skip to content

Commit

Permalink
chore: export getRandomBytes from package (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofa authored Aug 21, 2024
1 parent 1ba2872 commit c9e2e02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-meals-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@folks-finance/xchain-sdk": patch
---

Export getRandomBytes
2 changes: 1 addition & 1 deletion examples/read-write-account.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createWalletClient, http } from "viem";
import { mnemonicToAccount } from "viem/accounts";

import { getRandomBytes } from "../src/common/utils/bytes.js";
import {
NetworkType,
FolksCore,
getRandomBytes,
FolksAccount,
FOLKS_CHAIN_ID,
BYTES4_LENGTH,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { toFAmount, toUnderlyingAmount } from "./common/utils/formulae.js";
export { getCcipData, getWormholeData } from "./common/utils/gmp.js";
export { getOperationIdsByTransaction, waitOperationIds } from "./common/utils/messages.js";
export { waitTransaction } from "./common/utils/transaction.js";
export { getRandomBytes } from "./common/utils/bytes.js";

// === HUB ===
export { isHubChain } from "./chains/evm/hub/utils/chain.js";
Expand Down

0 comments on commit c9e2e02

Please sign in to comment.