From 0c3739f2bbed952bd4f08578a69739725d6dcba1 Mon Sep 17 00:00:00 2001 From: Vignesh Date: Fri, 4 Aug 2023 17:37:50 +0530 Subject: [PATCH] updated version to 2.2.1 --- package-lock.json | 150 ++++++------------------ package.json | 4 +- src/sdk/exchange/classes/lifi-status.ts | 4 - src/sdk/exchange/exchange.service.ts | 2 - 4 files changed, 41 insertions(+), 119 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1cdbd65..7640edb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "etherspot", - "version": "1.43.8", + "version": "1.43.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "etherspot", - "version": "1.43.8", + "version": "1.43.9", "license": "MIT", "dependencies": { "@apollo/client": "3.4.0", "@etherspot/contracts": "1.9.9", - "@lifi/sdk": "1.6.4", + "@lifi/sdk": "2.2.1", "@nerdwallet/apollo-cache-policies": "1.2.1", "class-transformer": "0.4.0", "class-validator": "0.14.0", @@ -2098,15 +2098,14 @@ } }, "node_modules/@lifi/sdk": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/@lifi/sdk/-/sdk-1.6.4.tgz", - "integrity": "sha512-g2wjHoXjM9QmTNAezMeHuFcUrfzn/6MSTSTRiWVgFOXcQt7e8guzn9tqLj+4Q24xwPlLB6nj0Coz2JX8dh1spA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@lifi/sdk/-/sdk-2.2.1.tgz", + "integrity": "sha512-L6GJr71Xzu+OYyU+4X12vH7hv2AGffoMFcC/2ypj/eBbWStL8XxOpLv+gBPLAlpyllfqsaJ5l+plbZiDc072og==", "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/contracts": "^5.7.0", - "@lifi/types": "^1.16.0", - "axios": "^1.1.3", - "bignumber.js": "^9.1.0", + "@lifi/types": "^8.0.4", + "bignumber.js": "^9.1.1", "eth-rpc-errors": "^4.0.3", "ethers": "^5.7.2" } @@ -2830,10 +2829,9 @@ } }, "node_modules/@lifi/types": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/@lifi/types/-/types-1.17.0.tgz", - "integrity": "sha512-TpDbBlFfQ09kWyuwqhQ51AfFLgyslYLB9p7Swa2PPL8r40i2SpYTmaEmHyTmenZAGRVm8XLNfGBJR3Bygn4h9A==", - "hasInstallScript": true, + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@lifi/types/-/types-8.2.0.tgz", + "integrity": "sha512-drDyQ3zy9LeZQN1NwUqLtZaxRDPN+pWMcrhAvyZVm7XAO+kt+9D0sBhlgxy7S+BANz9ij/rIlC0l5bzUkqp9ig==", "dependencies": { "ethers": "^5.7.2" } @@ -4406,7 +4404,8 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "node_modules/atob": { "version": "2.1.2", @@ -4435,29 +4434,6 @@ "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", "dev": true }, - "node_modules/axios": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/axios/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/babel-jest": { "version": "25.5.1", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.5.1.tgz", @@ -4677,9 +4653,9 @@ "dev": true }, "node_modules/bignumber.js": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz", - "integrity": "sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==", "engines": { "node": "*" } @@ -5514,6 +5490,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "dependencies": { "delayed-stream": "~1.0.0" }, @@ -5819,6 +5796,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, "engines": { "node": ">=0.4.0" } @@ -7151,25 +7129,6 @@ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, - "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, "node_modules/for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -10349,6 +10308,7 @@ "version": "1.48.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -10357,6 +10317,7 @@ "version": "2.1.31", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "dev": true, "dependencies": { "mime-db": "1.48.0" }, @@ -11359,11 +11320,6 @@ "pbts": "bin/pbts" } }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "node_modules/psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", @@ -15619,15 +15575,14 @@ } }, "@lifi/sdk": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/@lifi/sdk/-/sdk-1.6.4.tgz", - "integrity": "sha512-g2wjHoXjM9QmTNAezMeHuFcUrfzn/6MSTSTRiWVgFOXcQt7e8guzn9tqLj+4Q24xwPlLB6nj0Coz2JX8dh1spA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@lifi/sdk/-/sdk-2.2.1.tgz", + "integrity": "sha512-L6GJr71Xzu+OYyU+4X12vH7hv2AGffoMFcC/2ypj/eBbWStL8XxOpLv+gBPLAlpyllfqsaJ5l+plbZiDc072og==", "requires": { "@ethersproject/abi": "^5.7.0", "@ethersproject/contracts": "^5.7.0", - "@lifi/types": "^1.16.0", - "axios": "^1.1.3", - "bignumber.js": "^9.1.0", + "@lifi/types": "^8.0.4", + "bignumber.js": "^9.1.1", "eth-rpc-errors": "^4.0.3", "ethers": "^5.7.2" }, @@ -16043,9 +15998,9 @@ } }, "@lifi/types": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/@lifi/types/-/types-1.17.0.tgz", - "integrity": "sha512-TpDbBlFfQ09kWyuwqhQ51AfFLgyslYLB9p7Swa2PPL8r40i2SpYTmaEmHyTmenZAGRVm8XLNfGBJR3Bygn4h9A==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@lifi/types/-/types-8.2.0.tgz", + "integrity": "sha512-drDyQ3zy9LeZQN1NwUqLtZaxRDPN+pWMcrhAvyZVm7XAO+kt+9D0sBhlgxy7S+BANz9ij/rIlC0l5bzUkqp9ig==", "requires": { "ethers": "^5.7.2" }, @@ -17141,7 +17096,8 @@ "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true }, "atob": { "version": "2.1.2", @@ -17161,28 +17117,6 @@ "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", "dev": true }, - "axios": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", - "requires": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - }, - "dependencies": { - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - } - } - }, "babel-jest": { "version": "25.5.1", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.5.1.tgz", @@ -17361,9 +17295,9 @@ "dev": true }, "bignumber.js": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz", - "integrity": "sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A==" + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==" }, "bluebird": { "version": "3.7.2", @@ -17998,6 +17932,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -18249,7 +18184,8 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true }, "detect-newline": { "version": "3.1.0", @@ -19332,11 +19268,6 @@ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, - "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" - }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -21774,12 +21705,14 @@ "mime-db": { "version": "1.48.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" + "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "dev": true }, "mime-types": { "version": "2.1.31", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "dev": true, "requires": { "mime-db": "1.48.0" } @@ -22562,11 +22495,6 @@ "long": "^4.0.0" } }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", diff --git a/package.json b/package.json index 5da9bc4..7cb1f85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "etherspot", - "version": "1.43.8", + "version": "1.43.9", "description": "Etherspot SDK", "keywords": [ "ether", @@ -43,7 +43,7 @@ "dependencies": { "@apollo/client": "3.4.0", "@etherspot/contracts": "1.9.9", - "@lifi/sdk": "1.6.4", + "@lifi/sdk": "2.2.1", "@nerdwallet/apollo-cache-policies": "1.2.1", "class-transformer": "0.4.0", "class-validator": "0.14.0", diff --git a/src/sdk/exchange/classes/lifi-status.ts b/src/sdk/exchange/classes/lifi-status.ts index 04cdcb7..4ad2caa 100644 --- a/src/sdk/exchange/classes/lifi-status.ts +++ b/src/sdk/exchange/classes/lifi-status.ts @@ -2,14 +2,10 @@ export class LiFiStatus { status: string; - bridgeExplorerLink?: string; - subStatus?: string; subStatusMsg?: string; sendingTxnHash?: string; - receivingTxnHash?: string; - } \ No newline at end of file diff --git a/src/sdk/exchange/exchange.service.ts b/src/sdk/exchange/exchange.service.ts index abfc579..05bc905 100644 --- a/src/sdk/exchange/exchange.service.ts +++ b/src/sdk/exchange/exchange.service.ts @@ -327,11 +327,9 @@ export class ExchangeService extends Service { bridge: $bridge ) { status - bridgeExplorerLink subStatus subStatusMsg sendingTxnHash - receivingTxnHash } }`, {