Skip to content

Commit

Permalink
Add mailbox version const to SDK (#3125)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy authored Jan 4, 2024
1 parent 80f1a56 commit 612d416
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-waves-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': patch
---

Add mailbox version const to SDK
2 changes: 2 additions & 0 deletions typescript/sdk/src/consts/mailbox.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Pairs well with /utils/src/messages.ts#formatMessage
export const MAILBOX_VERSION = 3;
1 change: 1 addition & 0 deletions typescript/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export {
hyperlaneContractAddresses,
hyperlaneEnvironments,
} from './consts/environments';
export { MAILBOX_VERSION } from './consts/mailbox';
export { defaultMultisigConfigs } from './consts/multisigIsm';
export { SEALEVEL_SPL_NOOP_ADDRESS } from './consts/sealevel';
export {
Expand Down

0 comments on commit 612d416

Please sign in to comment.