Skip to content

Commit

Permalink
Fix history api (#1368)
Browse files Browse the repository at this point in the history
* Fix history api

* Update packages
  • Loading branch information
yrong authored Jan 23, 2025
1 parent 1688f1a commit 5a16ac9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/api",
"version": "0.1.27",
"version": "0.1.28",
"description": "Snowbridge API client",
"license": "Apache-2.0",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion web/packages/api/src/history_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ export const toPolkadotHistory = async (): Promise<ToPolkadotTransferResult[]> =
}
}

const assetHubMessageProcessed = outboundMessage.toAssetHubMessageQueue
const assetHubMessageProcessed =
outboundMessage.toDestination || outboundMessage.toAssetHubMessageQueue
if (assetHubMessageProcessed) {
result.assetHubMessageProcessed = {
extrinsic_hash: "",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/contract-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contract-types",
"version": "0.1.27",
"version": "0.1.28",
"description": "Snowbridge contract type bindings",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contracts",
"version": "0.1.27",
"version": "0.1.28",
"description": "Snowbridge contract source and abi.",
"license": "Apache-2.0",
"repository": {
Expand Down

0 comments on commit 5a16ac9

Please sign in to comment.