From 58eafce101739acb4e7139e1dfd4f3a51bb8a40f Mon Sep 17 00:00:00 2001 From: SpaghettiOverload Date: Wed, 19 Jul 2023 13:18:45 +0300 Subject: [PATCH] fix Buffer not defined error --- index.html | 4 ++++ package.json | 1 + yarn.lock | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 226a16b..4177cec 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,10 @@ + diff --git a/package.json b/package.json index 084ac90..38b79f5 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "appollo": "^0.1.13", "axios": "^0.27.2", "bignumber.js": "^9.0.2", + "buffer": "^6.0.3", "csstype": "^3.0.10", "cudosjs": "^1.2.1", "firebase": "^9.9.1", diff --git a/yarn.lock b/yarn.lock index c23f92a..e1382d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3926,7 +3926,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@6.0.3: +buffer@6.0.3, buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==