From ddae36706942366466769d688e6cc13f36481bb7 Mon Sep 17 00:00:00 2001 From: Lucas Root Date: Fri, 8 Oct 2021 15:06:09 +0300 Subject: [PATCH] fix: theta currency --- package.json | 4 ++-- src/manifest.json | 2 +- src/utils/currencies/theta/index.ts | 2 +- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 6f6978f9..5701a922 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "extension", - "version": "1.14.0", + "version": "1.14.1", "description": "extension", "private": false, "repository": "https://github.com/SimpleHold/extension.git", @@ -29,7 +29,7 @@ "@ledgerhq/hw-app-xrp": "^6.1.0", "@ledgerhq/hw-transport-webusb": "^6.1.0", "@solana/web3.js": "^1.29.0", - "@thetalabs/theta-js": "^0.0.53", + "@thetalabs/theta-js": "0.0.56", "amplitude-js": "^7.4.4", "axios": "^0.21.1", "bignumber.js": "^9.0.1", diff --git a/src/manifest.json b/src/manifest.json index a8dbd90c..43cbac17 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "SimpleHold", - "version": "1.14.0", + "version": "1.14.1", "icons": { "16": "assets/logo/favicon-16.png", "32": "assets/logo/favicon-32.png", diff --git a/src/utils/currencies/theta/index.ts b/src/utils/currencies/theta/index.ts index 9febc65e..725f6460 100644 --- a/src/utils/currencies/theta/index.ts +++ b/src/utils/currencies/theta/index.ts @@ -76,7 +76,7 @@ export const createInternalTx = async ({ symbol === 'tfuel' ? new BigNumber(amount).multipliedBy(ten18) : new BigNumber(0) const transaction = new thetajs.transactions.SendTransaction({ - addressFrom, + from: addressFrom, outputs: [ { address: addressTo, diff --git a/yarn.lock b/yarn.lock index 65152c63..e02b7c8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3114,10 +3114,10 @@ dependencies: defer-to-connect "^1.0.1" -"@thetalabs/theta-js@^0.0.53": - version "0.0.53" - resolved "https://registry.yarnpkg.com/@thetalabs/theta-js/-/theta-js-0.0.53.tgz#ab3f109ef27dc72c5ca13708bce7a8bb14f64455" - integrity sha512-xBM4+Nosov8sIpLyIR8CGX/vfrLyzxHfwlCqyJmo8aFsyWbZV6LU+Y363BqCnYEUmVEM/fGELoxgaI5NEWChZQ== +"@thetalabs/theta-js@0.0.56": + version "0.0.56" + resolved "https://registry.yarnpkg.com/@thetalabs/theta-js/-/theta-js-0.0.56.tgz#6d57fd00d5ff8942f2a0dc2accfcd17c3f294b73" + integrity sha512-F3SeCWdLHlM+p899JD8Yx6S3fqs7U7hom42JWEOQL08BIu9Sroeamr6ec9tcg3Z2dGRx1IXaGhRtdymloRtl0w== dependencies: "@ethersproject/bignumber" "^5.0.9" "@ethersproject/bytes" "^5.0.11"