diff --git a/package-lock.json b/package-lock.json index 549e3dcfe7..e1557e86c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,13 +16,13 @@ "@kwenta/synthswap": "^1.0.3", "@material-ui/core": "^4.12.3", "@metamask/detect-provider": "2.0.0", - "@pythnetwork/pyth-evm-js": "^1.0.1", + "@pythnetwork/pyth-evm-js": "1.10.0", "@rainbow-me/rainbowkit": "0.8.1", "@reach/dialog": "0.15.0", "@reduxjs/toolkit": "^1.8.5", - "@sentry/browser": "^7.37.0", - "@sentry/tracing": "^7.37.0", - "@socket.tech/plugin": "^1.0.3", + "@sentry/browser": "7.43.0", + "@sentry/tracing": "7.43.0", + "@socket.tech/plugin": "1.0.3", "@synthetixio/optimism-networks": "2.74.6", "@synthetixio/providers": "2.74.10", "@synthetixio/transaction-notifier": "2.74.12", @@ -43,7 +43,7 @@ "imagemin-mozjpeg": "^10.0.0", "intercept-stdout": "^0.1.2", "isomorphic-dompurify": "^0.26.0", - "lightweight-charts": "^4.0.0", + "lightweight-charts": "4.0.1", "lodash": "4.17.21", "moment-business-time": "2.0.0", "next": "12.2.4", @@ -75,7 +75,7 @@ }, "devDependencies": { "@microsoft/eslint-formatter-sarif": "2.1.7", - "@next/eslint-plugin-next": "^12.1.6", + "@next/eslint-plugin-next": "12.3.4", "@storybook/addon-actions": "^6.4.13", "@storybook/addon-essentials": "6.5.13", "@storybook/addon-links": "^6.4.13", @@ -134,7 +134,7 @@ "postcss": "^8.4.20", "prettier": "2.0.5", "react-test-renderer": "17.0.1", - "typechain": "^8.1.0", + "typechain": "8.1.1", "typescript": "4.7.4", "url-loader": "4.1.0", "webp-loader": "0.6.0" @@ -6183,9 +6183,9 @@ "integrity": "sha512-/gApFXWk5CCLFQJL5IYJXxPQuG5tz5nPX4l27A9Zm/+wJxiwFrRSP54AopDxIv4JRp/rGwcgk/lZS/0Clw8jYA==" }, "node_modules/@next/eslint-plugin-next": { - "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.3.1.tgz", - "integrity": "sha512-sw+lTf6r6P0j+g/n9y4qdWWI2syPqZx+uc0+B/fRENqfR3KpSid6MIKqc9gNwGhJASazEQ5b3w8h4cAET213jw==", + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.3.4.tgz", + "integrity": "sha512-BFwj8ykJY+zc1/jWANsDprDIu2MgwPOIKxNVnrKvPs+f5TPegrVnem8uScND+1veT4B7F6VeqgaNLFW1Hzl9Og==", "dev": true, "dependencies": { "glob": "7.1.7" @@ -6696,21 +6696,21 @@ "async-limiter": "~1.0.0" } }, - "node_modules/@pythnetwork/pyth-common-js": { + "node_modules/@pythnetwork/price-service-client": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-common-js/-/pyth-common-js-1.4.0.tgz", - "integrity": "sha512-ilK+0/+tivMVPMIFmup+UfUHklhsS2fqofZxS2+XCn4WBJfI0lIKtiAaBVjV7WmzmC2mDjujcTCDn4RbqpLVqg==", + "resolved": "https://registry.npmjs.org/@pythnetwork/price-service-client/-/price-service-client-1.4.0.tgz", + "integrity": "sha512-ibFxczDll/GdXX3jT7YB7+tbxyoXisop7EWXebaBjJqvc+OTctVNmJHCjlz4goDy5l1IDDsxEEYJyjckGsLjVA==", "dependencies": { - "@pythnetwork/pyth-sdk-js": "^1.2.0", + "@pythnetwork/price-service-sdk": "*", "@types/ws": "^8.5.3", - "axios": "^0.26.1", - "axios-retry": "^3.2.4", + "axios": "^1.2.5", + "axios-retry": "^3.4.0", "isomorphic-ws": "^4.0.1", "ts-log": "^2.2.4", "ws": "^8.6.0" } }, - "node_modules/@pythnetwork/pyth-common-js/node_modules/@types/ws": { + "node_modules/@pythnetwork/price-service-client/node_modules/@types/ws": { "version": "8.5.4", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==", @@ -6718,18 +6718,38 @@ "@types/node": "*" } }, - "node_modules/@pythnetwork/pyth-common-js/node_modules/axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "node_modules/@pythnetwork/price-service-client/node_modules/axios": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", + "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", "dependencies": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, - "node_modules/@pythnetwork/pyth-common-js/node_modules/ws": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz", - "integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==", + "node_modules/@pythnetwork/price-service-client/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/@pythnetwork/price-service-client/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/@pythnetwork/price-service-client/node_modules/ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "engines": { "node": ">=10.0.0" }, @@ -6746,12 +6766,17 @@ } } }, + "node_modules/@pythnetwork/price-service-sdk": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@pythnetwork/price-service-sdk/-/price-service-sdk-1.2.0.tgz", + "integrity": "sha512-h4HcUwBPFEZwa5nLMTz9YnwdLE5m+Bfctzqbj09vpSJo2DyPHCyEXScFUuizWBbfofxB/pF+OnZXjU3pJxtm/w==" + }, "node_modules/@pythnetwork/pyth-evm-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-evm-js/-/pyth-evm-js-1.1.0.tgz", - "integrity": "sha512-cfxzJ6u6THJ4pyAlfdJ4pw1MbXPAaRqTPPzpjopiuUmme8M3m7HK7wKP9TIxHEnGyCqTw3MnWG1r+TS2zbO13g==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-evm-js/-/pyth-evm-js-1.10.0.tgz", + "integrity": "sha512-trop6n+JOR2AAjDKskI0FU/XWZ/b8DD/v5RsARTlKTfFmBKu/n4Km8LiXH8Llq3vsl4xUQ7/y+locj0defQ0JA==", "dependencies": { - "@pythnetwork/pyth-common-js": "^1.2.0", + "@pythnetwork/price-service-client": "*", "buffer": "^6.0.3" } }, @@ -6778,11 +6803,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/@pythnetwork/pyth-sdk-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-sdk-js/-/pyth-sdk-js-1.2.0.tgz", - "integrity": "sha512-grh6YCkp/nH73ACNu+Mew64lLVgz6egVBJm8JvdNkRggWkUn1PE4ZvV/6ceTIui5OhI369qzMCkldiAlIMBjnQ==" - }, "node_modules/@rainbow-me/rainbowkit": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@rainbow-me/rainbowkit/-/rainbowkit-0.8.1.tgz", @@ -6947,14 +6967,14 @@ } }, "node_modules/@sentry/browser": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.37.0.tgz", - "integrity": "sha512-EMlSo4Ebtryd5id2nC31dwcLigwYPWjrAYt36vUJ/L47oXetaH4dndK6wqYyxR2sl8uP2GlsQUnWpGLHKyG3ww==", - "dependencies": { - "@sentry/core": "7.37.0", - "@sentry/replay": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.43.0.tgz", + "integrity": "sha512-NlRkBYKb9o5IQdGY8Ktps19Hz9RdSuqS1tlLC7Sjr+MqZqSHmhKq8MWJKciRynxBeMbeGt0smExi9BqpVQdCEg==", + "dependencies": { + "@sentry/core": "7.43.0", + "@sentry/replay": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "engines": { @@ -6967,12 +6987,12 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/core": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.37.0.tgz", - "integrity": "sha512-2M6aZKIG/1HgfE0hobQ9tKSo6ZsyBrSQqjtQhMVFwVzZJyFw3m1AqcrB+f0myi+1ay2MMPbJ+HhYtBPR3e4EvA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.43.0.tgz", + "integrity": "sha512-zvMZgEi7ptLBwDnd+xR/u4zdSe5UzS4S3ZhoemdQrn1PxsaVySD/ptyzLoGSZEABqlRxGHnQrZ78MU1hUDvKuQ==", "dependencies": { - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "engines": { @@ -6985,26 +7005,26 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/replay": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.37.0.tgz", - "integrity": "sha512-uGqPjEz3dprahRNslK35tR2N5RGULMH5uL/1InU65O5XUgq/wTyQ7ZH0qy743J8U6dBo/2n7V/RQdB9lA2sLBw==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.43.0.tgz", + "integrity": "sha512-2dGJS6p8uG1JZ7x/A3FyqnILTkXarbvfR+o1lC7z9lu34Wx0ZBeU2in/S2YHNGAE6XvfsePq3ya/s7LaNkk4qQ==", "dependencies": { - "@sentry/core": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0" + "@sentry/core": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0" }, "engines": { "node": ">=12" } }, "node_modules/@sentry/tracing": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.37.0.tgz", - "integrity": "sha512-DvFEwsXNsroVPNFOAblKwzKoO75dLhYw0XVmm+OlXTTQriJG5YkzcqazJ9pJ0l+f9ttswElGr3gLHMn797vsMA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.43.0.tgz", + "integrity": "sha512-Mld2AyV8xYnRLYbDWvDy8PlGcln3h5JsUx6ScQGOxnFTmCQR50Tldtzq50VDs2fv6xH0+YrL/UIyjxCDc7EXzQ==", "dependencies": { - "@sentry/core": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "@sentry/core": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "engines": { @@ -7017,19 +7037,19 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@sentry/types": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.37.0.tgz", - "integrity": "sha512-p8iw5oGvWLIk7osMgXhxshUpebJD0riiuT3ihBP0DV+Gs8r0qdQ5gtcStl7Cn0D4013p4j/f3T5q85Z9ENE6fA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.43.0.tgz", + "integrity": "sha512-5XxCWqYWJNoS+P6Ie2ZpUDxLRCt7FTEzmlQkCdjW6MFWOX26hAbF/wEuOTYAFKZXMIXOz0Egofik1e8v1Cg6/A==", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.37.0.tgz", - "integrity": "sha512-CN86EKQ07+SgqfgGehMJsgrCEjc0sl1YDcj2xf9dA0Bn3ma2MTDkCyutxVcRfc2IVWfqAN1rn/L8/BH2v2+eqA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.43.0.tgz", + "integrity": "sha512-f78YfMLcgNU7+suyWFCuQhQlneXXMS+egb0EFZh7iU7kANUPRX5T4b+0C+fwaPm5gA6XfGYskr4ZnzQJLOlSqg==", "dependencies": { - "@sentry/types": "7.37.0", + "@sentry/types": "7.43.0", "tslib": "^1.9.3" }, "engines": { @@ -7101,9 +7121,9 @@ "integrity": "sha512-Tt3NenGOPvifyOKBkyCN3NdxI2x6hSm2PaNY+JOrBMLfBaxolEkvamgtISst+pfvvo5WDQKI/7VZf7IOrdbAqg==" }, "node_modules/@socket.tech/plugin": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@socket.tech/plugin/-/plugin-1.0.4.tgz", - "integrity": "sha512-J5ZPWJzoRqYDlYzd+Qvk7eSSp7f14n4sdpgIP2FWpDjQh6k1iK0Chtip67DBrUarhExff09UfhrySgsMkcyQ8A==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@socket.tech/plugin/-/plugin-1.0.3.tgz", + "integrity": "sha512-O9rHfc6kVd1zhVgQS/fVG7+Cpv51KWL4oDPSmOQnG3Pd89yu6pBk4QQ5Bx4zETnPyNubzzIijaRNBVdKWVxCAw==", "dependencies": { "@react-spring/web": "^9.5.0", "@reduxjs/toolkit": "^1.8.2", @@ -43868,9 +43888,9 @@ } }, "node_modules/lightweight-charts": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.0.0.tgz", - "integrity": "sha512-0nS3mZ3WTaO3uuyWggvFWjHqe9hFYIjyddIozAZaPv1U+dYJ2ED64UlGSOmOIMuZ/Md1Ew/NLWYp3iPhcvO1Rg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.0.1.tgz", + "integrity": "sha512-p+j6w41PVzf9Vn7IrmpmCJacunpN0kKsl0IZoxMOySSkDcSagZ7Is9pb6pclIfN/usHdta0aYm9FktkYpAQe0g==", "dependencies": { "fancy-canvas": "2.1.0" } @@ -55437,9 +55457,9 @@ } }, "node_modules/typechain": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/typechain/-/typechain-8.1.0.tgz", - "integrity": "sha512-5jToLgKTjHdI1VKqs/K8BLYy42Sr3o8bV5ojh4MnR9ExHO83cyyUdw+7+vMJCpKXUiVUvARM4qmHTFuyaCMAZQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/typechain/-/typechain-8.1.1.tgz", + "integrity": "sha512-uF/sUvnXTOVF2FHKhQYnxHk4su4JjZR8vr4mA2mBaRwHTbwh0jIlqARz9XJr1tA0l7afJGvEa1dTSi4zt039LQ==", "dev": true, "dependencies": { "@types/prettier": "^2.1.1", @@ -63907,9 +63927,9 @@ "integrity": "sha512-/gApFXWk5CCLFQJL5IYJXxPQuG5tz5nPX4l27A9Zm/+wJxiwFrRSP54AopDxIv4JRp/rGwcgk/lZS/0Clw8jYA==" }, "@next/eslint-plugin-next": { - "version": "12.3.1", - "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.3.1.tgz", - "integrity": "sha512-sw+lTf6r6P0j+g/n9y4qdWWI2syPqZx+uc0+B/fRENqfR3KpSid6MIKqc9gNwGhJASazEQ5b3w8h4cAET213jw==", + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.3.4.tgz", + "integrity": "sha512-BFwj8ykJY+zc1/jWANsDprDIu2MgwPOIKxNVnrKvPs+f5TPegrVnem8uScND+1veT4B7F6VeqgaNLFW1Hzl9Og==", "dev": true, "requires": { "glob": "7.1.7" @@ -64230,15 +64250,15 @@ } } }, - "@pythnetwork/pyth-common-js": { + "@pythnetwork/price-service-client": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-common-js/-/pyth-common-js-1.4.0.tgz", - "integrity": "sha512-ilK+0/+tivMVPMIFmup+UfUHklhsS2fqofZxS2+XCn4WBJfI0lIKtiAaBVjV7WmzmC2mDjujcTCDn4RbqpLVqg==", + "resolved": "https://registry.npmjs.org/@pythnetwork/price-service-client/-/price-service-client-1.4.0.tgz", + "integrity": "sha512-ibFxczDll/GdXX3jT7YB7+tbxyoXisop7EWXebaBjJqvc+OTctVNmJHCjlz4goDy5l1IDDsxEEYJyjckGsLjVA==", "requires": { - "@pythnetwork/pyth-sdk-js": "^1.2.0", + "@pythnetwork/price-service-sdk": "*", "@types/ws": "^8.5.3", - "axios": "^0.26.1", - "axios-retry": "^3.2.4", + "axios": "^1.2.5", + "axios-retry": "^3.4.0", "isomorphic-ws": "^4.0.1", "ts-log": "^2.2.4", "ws": "^8.6.0" @@ -64253,26 +64273,48 @@ } }, "axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", + "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", "requires": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "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" } }, + "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==" + }, "ws": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz", - "integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==" + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==" } } }, + "@pythnetwork/price-service-sdk": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@pythnetwork/price-service-sdk/-/price-service-sdk-1.2.0.tgz", + "integrity": "sha512-h4HcUwBPFEZwa5nLMTz9YnwdLE5m+Bfctzqbj09vpSJo2DyPHCyEXScFUuizWBbfofxB/pF+OnZXjU3pJxtm/w==" + }, "@pythnetwork/pyth-evm-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-evm-js/-/pyth-evm-js-1.1.0.tgz", - "integrity": "sha512-cfxzJ6u6THJ4pyAlfdJ4pw1MbXPAaRqTPPzpjopiuUmme8M3m7HK7wKP9TIxHEnGyCqTw3MnWG1r+TS2zbO13g==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-evm-js/-/pyth-evm-js-1.10.0.tgz", + "integrity": "sha512-trop6n+JOR2AAjDKskI0FU/XWZ/b8DD/v5RsARTlKTfFmBKu/n4Km8LiXH8Llq3vsl4xUQ7/y+locj0defQ0JA==", "requires": { - "@pythnetwork/pyth-common-js": "^1.2.0", + "@pythnetwork/price-service-client": "*", "buffer": "^6.0.3" }, "dependencies": { @@ -64287,11 +64329,6 @@ } } }, - "@pythnetwork/pyth-sdk-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@pythnetwork/pyth-sdk-js/-/pyth-sdk-js-1.2.0.tgz", - "integrity": "sha512-grh6YCkp/nH73ACNu+Mew64lLVgz6egVBJm8JvdNkRggWkUn1PE4ZvV/6ceTIui5OhI369qzMCkldiAlIMBjnQ==" - }, "@rainbow-me/rainbowkit": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@rainbow-me/rainbowkit/-/rainbowkit-0.8.1.tgz", @@ -64405,14 +64442,14 @@ } }, "@sentry/browser": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.37.0.tgz", - "integrity": "sha512-EMlSo4Ebtryd5id2nC31dwcLigwYPWjrAYt36vUJ/L47oXetaH4dndK6wqYyxR2sl8uP2GlsQUnWpGLHKyG3ww==", - "requires": { - "@sentry/core": "7.37.0", - "@sentry/replay": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.43.0.tgz", + "integrity": "sha512-NlRkBYKb9o5IQdGY8Ktps19Hz9RdSuqS1tlLC7Sjr+MqZqSHmhKq8MWJKciRynxBeMbeGt0smExi9BqpVQdCEg==", + "requires": { + "@sentry/core": "7.43.0", + "@sentry/replay": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "dependencies": { @@ -64424,12 +64461,12 @@ } }, "@sentry/core": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.37.0.tgz", - "integrity": "sha512-2M6aZKIG/1HgfE0hobQ9tKSo6ZsyBrSQqjtQhMVFwVzZJyFw3m1AqcrB+f0myi+1ay2MMPbJ+HhYtBPR3e4EvA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.43.0.tgz", + "integrity": "sha512-zvMZgEi7ptLBwDnd+xR/u4zdSe5UzS4S3ZhoemdQrn1PxsaVySD/ptyzLoGSZEABqlRxGHnQrZ78MU1hUDvKuQ==", "requires": { - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "dependencies": { @@ -64441,23 +64478,23 @@ } }, "@sentry/replay": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.37.0.tgz", - "integrity": "sha512-uGqPjEz3dprahRNslK35tR2N5RGULMH5uL/1InU65O5XUgq/wTyQ7ZH0qy743J8U6dBo/2n7V/RQdB9lA2sLBw==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.43.0.tgz", + "integrity": "sha512-2dGJS6p8uG1JZ7x/A3FyqnILTkXarbvfR+o1lC7z9lu34Wx0ZBeU2in/S2YHNGAE6XvfsePq3ya/s7LaNkk4qQ==", "requires": { - "@sentry/core": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0" + "@sentry/core": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0" } }, "@sentry/tracing": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.37.0.tgz", - "integrity": "sha512-DvFEwsXNsroVPNFOAblKwzKoO75dLhYw0XVmm+OlXTTQriJG5YkzcqazJ9pJ0l+f9ttswElGr3gLHMn797vsMA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.43.0.tgz", + "integrity": "sha512-Mld2AyV8xYnRLYbDWvDy8PlGcln3h5JsUx6ScQGOxnFTmCQR50Tldtzq50VDs2fv6xH0+YrL/UIyjxCDc7EXzQ==", "requires": { - "@sentry/core": "7.37.0", - "@sentry/types": "7.37.0", - "@sentry/utils": "7.37.0", + "@sentry/core": "7.43.0", + "@sentry/types": "7.43.0", + "@sentry/utils": "7.43.0", "tslib": "^1.9.3" }, "dependencies": { @@ -64469,16 +64506,16 @@ } }, "@sentry/types": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.37.0.tgz", - "integrity": "sha512-p8iw5oGvWLIk7osMgXhxshUpebJD0riiuT3ihBP0DV+Gs8r0qdQ5gtcStl7Cn0D4013p4j/f3T5q85Z9ENE6fA==" + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.43.0.tgz", + "integrity": "sha512-5XxCWqYWJNoS+P6Ie2ZpUDxLRCt7FTEzmlQkCdjW6MFWOX26hAbF/wEuOTYAFKZXMIXOz0Egofik1e8v1Cg6/A==" }, "@sentry/utils": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.37.0.tgz", - "integrity": "sha512-CN86EKQ07+SgqfgGehMJsgrCEjc0sl1YDcj2xf9dA0Bn3ma2MTDkCyutxVcRfc2IVWfqAN1rn/L8/BH2v2+eqA==", + "version": "7.43.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.43.0.tgz", + "integrity": "sha512-f78YfMLcgNU7+suyWFCuQhQlneXXMS+egb0EFZh7iU7kANUPRX5T4b+0C+fwaPm5gA6XfGYskr4ZnzQJLOlSqg==", "requires": { - "@sentry/types": "7.37.0", + "@sentry/types": "7.43.0", "tslib": "^1.9.3" }, "dependencies": { @@ -64546,9 +64583,9 @@ "integrity": "sha512-Tt3NenGOPvifyOKBkyCN3NdxI2x6hSm2PaNY+JOrBMLfBaxolEkvamgtISst+pfvvo5WDQKI/7VZf7IOrdbAqg==" }, "@socket.tech/plugin": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@socket.tech/plugin/-/plugin-1.0.4.tgz", - "integrity": "sha512-J5ZPWJzoRqYDlYzd+Qvk7eSSp7f14n4sdpgIP2FWpDjQh6k1iK0Chtip67DBrUarhExff09UfhrySgsMkcyQ8A==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@socket.tech/plugin/-/plugin-1.0.3.tgz", + "integrity": "sha512-O9rHfc6kVd1zhVgQS/fVG7+Cpv51KWL4oDPSmOQnG3Pd89yu6pBk4QQ5Bx4zETnPyNubzzIijaRNBVdKWVxCAw==", "requires": { "@react-spring/web": "^9.5.0", "@reduxjs/toolkit": "^1.8.2", @@ -93353,9 +93390,9 @@ } }, "lightweight-charts": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.0.0.tgz", - "integrity": "sha512-0nS3mZ3WTaO3uuyWggvFWjHqe9hFYIjyddIozAZaPv1U+dYJ2ED64UlGSOmOIMuZ/Md1Ew/NLWYp3iPhcvO1Rg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.0.1.tgz", + "integrity": "sha512-p+j6w41PVzf9Vn7IrmpmCJacunpN0kKsl0IZoxMOySSkDcSagZ7Is9pb6pclIfN/usHdta0aYm9FktkYpAQe0g==", "requires": { "fancy-canvas": "2.1.0" } @@ -102342,9 +102379,9 @@ } }, "typechain": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/typechain/-/typechain-8.1.0.tgz", - "integrity": "sha512-5jToLgKTjHdI1VKqs/K8BLYy42Sr3o8bV5ojh4MnR9ExHO83cyyUdw+7+vMJCpKXUiVUvARM4qmHTFuyaCMAZQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/typechain/-/typechain-8.1.1.tgz", + "integrity": "sha512-uF/sUvnXTOVF2FHKhQYnxHk4su4JjZR8vr4mA2mBaRwHTbwh0jIlqARz9XJr1tA0l7afJGvEa1dTSi4zt039LQ==", "dev": true, "requires": { "@types/prettier": "^2.1.1", diff --git a/package.json b/package.json index 36b199a9c7..40d30c0515 100644 --- a/package.json +++ b/package.json @@ -32,13 +32,13 @@ "@kwenta/synthswap": "^1.0.3", "@material-ui/core": "^4.12.3", "@metamask/detect-provider": "2.0.0", - "@pythnetwork/pyth-evm-js": "^1.0.1", + "@pythnetwork/pyth-evm-js": "1.10.0", "@rainbow-me/rainbowkit": "0.8.1", "@reach/dialog": "0.15.0", "@reduxjs/toolkit": "^1.8.5", - "@sentry/browser": "^7.37.0", - "@sentry/tracing": "^7.37.0", - "@socket.tech/plugin": "^1.0.3", + "@sentry/browser": "7.43.0", + "@sentry/tracing": "7.43.0", + "@socket.tech/plugin": "1.0.3", "@synthetixio/optimism-networks": "2.74.6", "@synthetixio/providers": "2.74.10", "@synthetixio/transaction-notifier": "2.74.12", @@ -59,7 +59,7 @@ "imagemin-mozjpeg": "^10.0.0", "intercept-stdout": "^0.1.2", "isomorphic-dompurify": "^0.26.0", - "lightweight-charts": "^4.0.0", + "lightweight-charts": "4.0.1", "lodash": "4.17.21", "moment-business-time": "2.0.0", "next": "12.2.4", @@ -91,7 +91,7 @@ }, "devDependencies": { "@microsoft/eslint-formatter-sarif": "2.1.7", - "@next/eslint-plugin-next": "^12.1.6", + "@next/eslint-plugin-next": "12.3.4", "@storybook/addon-actions": "^6.4.13", "@storybook/addon-essentials": "6.5.13", "@storybook/addon-links": "^6.4.13", @@ -150,7 +150,7 @@ "postcss": "^8.4.20", "prettier": "2.0.5", "react-test-renderer": "17.0.1", - "typechain": "^8.1.0", + "typechain": "8.1.1", "typescript": "4.7.4", "url-loader": "4.1.0", "webp-loader": "0.6.0"