diff --git a/.changeset/thin-moons-accept.md b/.changeset/thin-moons-accept.md new file mode 100644 index 000000000..d89a8f42b --- /dev/null +++ b/.changeset/thin-moons-accept.md @@ -0,0 +1,5 @@ +--- +"@axelarjs/maestro": patch +--- + +bump axelarjs-sdk version to 0.15.0-alpha.5 diff --git a/apps/maestro/package.json b/apps/maestro/package.json index 86d151472..4991ca726 100644 --- a/apps/maestro/package.json +++ b/apps/maestro/package.json @@ -34,7 +34,7 @@ "release": "tsx scripts/release.ts" }, "dependencies": { - "@axelar-network/axelarjs-sdk": "^0.14.2", + "@axelar-network/axelarjs-sdk": "0.15.0-alpha.5", "@axelarjs/api": "workspace:*", "@axelarjs/core": "workspace:*", "@axelarjs/evm": "workspace:*", diff --git a/apps/maestro/src/server/routers/erc20/getERC20TokenBalanceForOwner.ts b/apps/maestro/src/server/routers/erc20/getERC20TokenBalanceForOwner.ts index 599bdb830..f65516aaa 100644 --- a/apps/maestro/src/server/routers/erc20/getERC20TokenBalanceForOwner.ts +++ b/apps/maestro/src/server/routers/erc20/getERC20TokenBalanceForOwner.ts @@ -28,7 +28,7 @@ export const getERC20TokenBalanceForOwner = publicProcedure if (!chainConfig) { throw new TRPCError({ code: "BAD_REQUEST", - message: "Invalid chainId", + message: `Invalid chainId: ${input.chainId}`, }); } diff --git a/apps/maestro/src/server/routers/erc20/getERC20TokenDetails.ts b/apps/maestro/src/server/routers/erc20/getERC20TokenDetails.ts index 3ca88d204..77d6b0c7b 100644 --- a/apps/maestro/src/server/routers/erc20/getERC20TokenDetails.ts +++ b/apps/maestro/src/server/routers/erc20/getERC20TokenDetails.ts @@ -57,7 +57,7 @@ export const getERC20TokenDetails = publicProcedure throw new TRPCError({ code: "BAD_REQUEST", - message: "Invalid chainId", + message: `Invalid chainId: ${input.chainId}`, }); } diff --git a/apps/maestro/src/services/axelarjsSDK/index.ts b/apps/maestro/src/services/axelarjsSDK/index.ts index fe191bb32..d0623e81b 100644 --- a/apps/maestro/src/services/axelarjsSDK/index.ts +++ b/apps/maestro/src/services/axelarjsSDK/index.ts @@ -19,9 +19,9 @@ async function estimateGasFee(params: EstimateGasFeeInput): Promise { const response = await client.estimateGasFee( params.sourceChainId, params.destinationChainId, - params.sourceChainTokenSymbol, params.gasLimit, params.gasMultiplier, + params.sourceChainTokenSymbol, params.minGasPrice ); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4890a0fc3..98168fd29 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,8 +74,8 @@ importers: apps/maestro: dependencies: '@axelar-network/axelarjs-sdk': - specifier: ^0.14.2 - version: 0.14.2 + specifier: 0.15.0-alpha.5 + version: 0.15.0-alpha.5 '@axelarjs/api': specifier: workspace:* version: link:../../packages/api @@ -960,8 +960,8 @@ packages: engines: {node: '>=16'} dev: true - /@axelar-network/axelarjs-sdk@0.14.2: - resolution: {integrity: sha512-4O0zr1q6Js3F/GFFMjooMML2uQW16zQ/q6nsSxQPU2h4ifWao6CNxkYDKezqJOKIlVS0jahRKRVpJyX/GJoKdg==} + /@axelar-network/axelarjs-sdk@0.15.0-alpha.5: + resolution: {integrity: sha512-dWhTwMfbFuSX7YrNTPzkn27886eQ3r+7qXCCrYHJREXSLvt5qVmj5+TzKSaZ0LwIwEmCvvOApfYbydLsl63uKA==} requiresBuild: true dependencies: '@axelar-network/axelar-cgp-solidity': 4.5.0 @@ -980,7 +980,7 @@ packages: standard-http-error: 2.0.1 string-similarity-js: 2.1.4 uuid: 8.3.2 - ws: 8.14.2(bufferutil@4.0.8)(utf-8-validate@6.0.3) + ws: 8.16.0 transitivePeerDependencies: - bufferutil - debug @@ -9570,6 +9570,9 @@ packages: resolution: {integrity: sha512-GBryCiyl+taz5DPq0expxzfMVcrpKjWvEBSAqT1tPUSthnzOWnVF77XlUAYgFZqzPsEu9lQ1dHCdqZx7WWMCXA==} peerDependencies: '@web3modal/wallet': 4.1.1 + peerDependenciesMeta: + '@web3modal/siwe': + optional: true dependencies: '@web3modal/common': 4.1.1 '@web3modal/core': 4.1.1(@types/react@18.2.21)(react@18.2.0) @@ -9610,6 +9613,15 @@ packages: '@wagmi/connectors': '>=4.0.0' '@wagmi/core': '>=2.0.0' viem: '>=2.0.0' + peerDependenciesMeta: + '@web3modal/siwe': + optional: true + react: + optional: true + react-dom: + optional: true + vue: + optional: true dependencies: '@wagmi/connectors': 4.1.17(@types/react@18.2.21)(@vercel/kv@1.0.1)(@wagmi/core@2.6.8)(react-dom@18.2.0)(react-native@0.73.6)(react@18.2.0)(typescript@5.4.2)(viem@2.8.11)(zod@3.22.4) '@wagmi/core': 2.6.8(@types/react@18.2.21)(react@18.2.0)(typescript@5.4.2)(viem@2.8.11)(zod@3.22.4) @@ -21183,7 +21195,6 @@ packages: optional: true utf-8-validate: optional: true - dev: true /xml-but-prettier@1.0.1: resolution: {integrity: sha512-C2CJaadHrZTqESlH03WOyw0oZTtoy2uEg6dSDF6YRg+9GnYNub53RRemLpnvtbHDFelxMx4LajiFsYeR6XJHgQ==}