diff --git a/package.json b/package.json index 44acfc5..86c3fda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poap-family", - "version": "1.6.13", + "version": "1.6.14", "author": { "name": "POAP", "url": "https://poap.xyz" @@ -20,16 +20,16 @@ "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.2", "@mapbox/to-color": "^2.0.0", - "axios": "^1.4.0", - "dayjs": "^1.11.9", + "axios": "^1.6.2", + "dayjs": "^1.11.10", "downloadjs": "^1.4.7", - "iconoir-react": "^6.11.0", - "numbro": "^2.3.6", + "iconoir-react": "^7.2.0", + "numbro": "^2.4.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-lazy-images": "^1.1.0", "react-modal": "^3.16.1", - "react-router-dom": "^6.14.2", + "react-router-dom": "^6.21.0", "react-scripts": "5.0.1" }, "main": "src/index.js", diff --git a/src/components/ButtonClose.js b/src/components/ButtonClose.js index 6aa93e0..9c74350 100644 --- a/src/components/ButtonClose.js +++ b/src/components/ButtonClose.js @@ -1,10 +1,10 @@ -import { Cancel } from 'iconoir-react' +import { Xmark } from 'iconoir-react' import '../styles/button-close.css' function ButtonClose({ onClose = () => {} }) { return ( ) } diff --git a/src/pages/Event.js b/src/pages/Event.js index 9bda644..0c8a279 100644 --- a/src/pages/Event.js +++ b/src/pages/Event.js @@ -373,7 +373,7 @@ function Event() { <> {cachedTs && (!ts || ts > cachedTs) && event.id in inCommon && inCommon[event.id].length < owners.length && ( - There has been new mints since this POAP was cached,{' '} + There have been new mints since this POAP was cached,{' '} refreshCache()}>refresh. )} diff --git a/src/pages/Events.js b/src/pages/Events.js index b8962c5..1e9ae6a 100644 --- a/src/pages/Events.js +++ b/src/pages/Events.js @@ -758,7 +758,7 @@ function Events() {

Cached {!(event.id in loading) && event.id in eventData && event.id in eventData[event.id].inCommon && eventData[event.id].inCommon[event.id].length < owners[event.id].length && ( - <>{' '} + <>{' '} )}

)} @@ -785,7 +785,7 @@ function Events() { {staleEvents && staleEvents.length > 0 && ( - There has been new mints in {staleEvents.length} POAP{staleEvents.length === 1 ? '' : 's'} since cached,{' '} + There have been new mints in {staleEvents.length} POAP{staleEvents.length === 1 ? '' : 's'} since cached,{' '} refreshCache()}>refresh all. )} diff --git a/yarn.lock b/yarn.lock index 2bf6ecf..0ca432e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1910,10 +1910,10 @@ schema-utils "^3.0.0" source-map "^0.7.3" -"@remix-run/router@1.7.2": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.7.2.tgz#cba1cf0a04bc04cb66027c51fa600e9cbc388bc8" - integrity sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A== +"@remix-run/router@1.14.0": + version "1.14.0" + resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.14.0.tgz#9bc39a5a3a71b81bdb310eba6def5bc3966695b7" + integrity sha512-WOHih+ClN7N8oHk9N4JUiMxQJmRVaOxcg8w7F/oHUXzJt920ekASLI/7cYX8XkntDWRhLZtsk6LbGrkgOAvi5A== "@rollup/plugin-babel@^5.2.0": version "5.3.1" @@ -2907,10 +2907,10 @@ axe-core@^4.6.2: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== -axios@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f" - integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA== +axios@^1.6.2: + version "1.6.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2" + integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -3089,10 +3089,10 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -bignumber.js@^8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-8.1.1.tgz#4b072ae5aea9c20f6730e4e5d529df1271c4d885" - integrity sha512-QD46ppGintwPGuL1KqmwhR0O+N2cZUg8JG/VzwI2e28sM9TqHjQB10lI4QAaMHVbLzwVLLAwEglpKPViWX+5NQ== +"bignumber.js@^8 || ^9": + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== binary-extensions@^2.0.0: version "2.2.0" @@ -3776,10 +3776,10 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" -dayjs@^1.11.9: - version "1.11.9" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.9.tgz#9ca491933fadd0a60a2c19f6c237c03517d71d1a" - integrity sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA== +dayjs@^1.11.10: + version "1.11.10" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0" + integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ== debug@2.6.9, debug@^2.6.0: version "2.6.9" @@ -5234,10 +5234,10 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -iconoir-react@^6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/iconoir-react/-/iconoir-react-6.11.0.tgz#a88d896148c8389138ec931ce7367f3abc6a7144" - integrity sha512-+1RgmEWh/9H0aYR2e8sDL5elDUYnkyOXO0E+RnwhkjhJY36Lge6r/9nv1n1FvDXoeFY48omkPUl8s/ciA0XOAg== +iconoir-react@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/iconoir-react/-/iconoir-react-7.2.0.tgz#87b961ab13c1002b66d5ee1d30c68fe869b39900" + integrity sha512-FSo0Napse13rfxrtaxPx6pUH3/cZ+IsNHB5MiBmDJ/VZ/w+4UlCN8zx7bW/gjBq5U3jN+kTbk+ZXQWeWyjM47Q== iconv-lite@0.4.24: version "0.4.24" @@ -6682,12 +6682,12 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -numbro@^2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/numbro/-/numbro-2.3.6.tgz#4bd622ebe59ccbc49dad365c5b9eed200781fa21" - integrity sha512-pxpoTT3hVxQGaOA2RTzXR/muonQNd1K1HPJbWo7QOmxPwiPmoFCFfsG9XXgW3uqjyzezJ0P9IvCPDXUtJexjwg== +numbro@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/numbro/-/numbro-2.4.0.tgz#3cecae307ab2c2d9fd3e1c08249f4abd504bd577" + integrity sha512-t6rVkO1CcKvffvOJJu/zMo70VIcQSR6w3AmIhfHGvmk4vHbNe6zHgomB0aWFAPZWM9JBVWBM0efJv9DBiRoSTA== dependencies: - bignumber.js "^8.1.1" + bignumber.js "^8 || ^9" nwsapi@^2.2.0: version "2.2.4" @@ -7815,20 +7815,20 @@ react-refresh@^0.11.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router-dom@^6.14.2: - version "6.14.2" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.14.2.tgz#88f520118b91aa60233bd08dbd3fdcaea3a68488" - integrity sha512-5pWX0jdKR48XFZBuJqHosX3AAHjRAzygouMTyimnBPOLdY3WjzUSKhus2FVMihUFWzeLebDgr4r8UeQFAct7Bg== +react-router-dom@^6.21.0: + version "6.21.0" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.21.0.tgz#aa4c6bc046a8e8723095bc09b3c0ab2254532712" + integrity sha512-1dUdVj3cwc1npzJaf23gulB562ESNvxf7E4x8upNJycqyUm5BRRZ6dd3LrlzhtLaMrwOCO8R0zoiYxdaJx4LlQ== dependencies: - "@remix-run/router" "1.7.2" - react-router "6.14.2" + "@remix-run/router" "1.14.0" + react-router "6.21.0" -react-router@6.14.2: - version "6.14.2" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.14.2.tgz#1f60994d8c369de7b8ba7a78d8f7ec23df76b300" - integrity sha512-09Zss2dE2z+T1D03IheqAFtK4UzQyX8nFPWx6jkwdYzGLXd5ie06A6ezS2fO6zJfEb/SpG6UocN2O1hfD+2urQ== +react-router@6.21.0: + version "6.21.0" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.21.0.tgz#6fe3e59877aca3dccceec1801d26991ddf42d12b" + integrity sha512-hGZ0HXbwz3zw52pLZV3j3+ec+m/PQ9cTpBvqjFQmy2XVUWGn5MD+31oXHb6dVTxYzmAeaiUBYjkoNz66n3RGCg== dependencies: - "@remix-run/router" "1.7.2" + "@remix-run/router" "1.14.0" react-scripts@5.0.1: version "5.0.1"