diff --git a/packages/oraidex-server/package.json b/packages/oraidex-server/package.json index d56c605f..1306496f 100644 --- a/packages/oraidex-server/package.json +++ b/packages/oraidex-server/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-server", - "version": "1.0.20", + "version": "1.0.21", "main": "dist/index.js", "bin": "dist/index.js", "license": "MIT", diff --git a/packages/oraidex-server/package.staging.json b/packages/oraidex-server/package.staging.json index 806146e5..39619792 100644 --- a/packages/oraidex-server/package.staging.json +++ b/packages/oraidex-server/package.staging.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-server-staging", - "version": "1.0.33", + "version": "1.0.34", "main": "dist/index.js", "bin": "dist/index.js", "license": "MIT", diff --git a/packages/oraidex-sync/src/tx-parsing.ts b/packages/oraidex-sync/src/tx-parsing.ts index 584a801d..77fc7186 100644 --- a/packages/oraidex-sync/src/tx-parsing.ts +++ b/packages/oraidex-sync/src/tx-parsing.ts @@ -222,8 +222,7 @@ async function extractClaimOperations( for (const attrs of wasmAttributes) { const stakingAction = attrs.find((attr) => attr.key === "action" && attr.value === "withdraw_reward"); if (!stakingAction) continue; - - const stakingToken = "withdraw" in msg ? msg.withdraw.staking_token : undefined; + stakingToken = "withdraw" in msg ? msg.withdraw.staking_token : undefined; if (!stakingToken) continue; attrs.forEach((attr, index) => { diff --git a/yarn.lock b/yarn.lock index fec04066..b45c313d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3810,26 +3810,6 @@ resolved "https://registry.yarnpkg.com/@oraichain/immutable/-/immutable-4.3.9.tgz#ff8d5a7b39b5b01f3f72a902cffbfea32ccb20c3" integrity sha512-INpHnhL970OCkR7I71Kssb2aLl2l4Y/x8W6FlyRO0KmC8GHjxc/hlNB1t44BiI7lkOYmcWMRQoC8dwParsp1RQ== -"@oraichain/oraidex-sync@^1.0.1": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@oraichain/oraidex-sync/-/oraidex-sync-1.0.4.tgz#ccef5a47705ac6db31602d3f52f2527d9be53fa8" - integrity sha512-FC8E0pqYR97iGCDSsSY4ILRdNeunIG30znjaLyXOnXm5pR3AowSpgphbz2XJRY1OTcukeBn1LGBQqgYdf0ljkA== - dependencies: - "@cosmjs/cosmwasm-stargate" "^0.31.0" - "@cosmjs/stargate" "^0.31.0" - "@cosmjs/tendermint-rpc" "^0.31.0" - "@oraichain/common-contracts-sdk" "^1.0.31" - "@oraichain/cosmos-rpc-sync" "^1.0.7" - "@oraichain/cw-simulate" "^2.8.72" - "@oraichain/oraidex-common" "^1.0.41" - "@oraichain/oraidex-contracts-sdk" "^1.0.24" - apache-arrow "^12.0.1" - cosmjs-types "^0.8.0" - dotenv "^16.3.1" - duckdb-async "^0.8.1" - lodash "^4.17.21" - typescript "^4.8.3" - "@oraichain/oraidex-universal-swap@1.0.14": version "1.0.14" resolved "https://registry.yarnpkg.com/@oraichain/oraidex-universal-swap/-/oraidex-universal-swap-1.0.14.tgz#fd4b60e7cfc21984dbaa14a7b9a2c560f02da37d"