From 5418584b1809b3f3de81cf950a320069b4c9525d Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 9 May 2023 15:11:34 -0300 Subject: [PATCH 1/4] Basic contributing file --- CONTRIBUTING.md | 5 +++++ CONTRIBUTORS | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 CONTRIBUTING.md delete mode 100644 CONTRIBUTORS diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..9fbd9f4 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,5 @@ +# Contributing to POAP Family + +Thank you for contribute to POAP Family project. Any contribution you make will be reflected on https://poap.family. + +The codebase is under MIT license. All code submitted must be licensed under these terms (2-clause BSD, ISC, etc.). diff --git a/CONTRIBUTORS b/CONTRIBUTORS deleted file mode 100644 index 76928f8..0000000 --- a/CONTRIBUTORS +++ /dev/null @@ -1 +0,0 @@ -Juan From 86250e17e859eab612007c83585a046c4ef9fd69 Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 9 May 2023 15:22:35 -0300 Subject: [PATCH 2/4] Top 100% on active events for mobile --- src/styles/events.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/events.css b/src/styles/events.css index 3bce3a6..6b80fdf 100644 --- a/src/styles/events.css +++ b/src/styles/events.css @@ -71,6 +71,8 @@ } } -.events .in-common .active-events { - top: 100%; +@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { + .events .in-common .active-events { + top: 100%; + } } From 451b47e4de44eb47a02a51eede6d38f3f08f9f69 Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 9 May 2023 15:30:27 -0300 Subject: [PATCH 3/4] Fix when getNames throw an exception --- src/loaders/ethereum.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/loaders/ethereum.js b/src/loaders/ethereum.js index 6b8cc39..45c4059 100644 --- a/src/loaders/ethereum.js +++ b/src/loaders/ethereum.js @@ -41,11 +41,16 @@ async function resolveEnsNames(addresses, limit = 300) { const resolvedAddresses = {} for (let i = 0; i < addresses.length; i += limit) { const chunk = addresses.slice(i, i + limit) - const names = await ensReverseRecordsContract.getNames(chunk) - for (let i = 0; i < names.length; i++) { - if (names[i] !== '') { - resolvedAddresses[chunk[i]] = names[i] + try { + const names = await ensReverseRecordsContract.getNames(chunk) + for (let i = 0; i < names.length; i++) { + if (names[i] !== '') { + resolvedAddresses[chunk[i]] = names[i] + } } + } catch (err) { + i = i - limit + 1 + continue } } return resolvedAddresses From 052304ab2b694c5db8caf5f6fca5eeed0e099c46 Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 9 May 2023 15:35:35 -0300 Subject: [PATCH 4/4] Version 1.1.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e08d4a6..c321f21 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poap-family", - "version": "1.1.9", + "version": "1.1.10", "author": { "name": "POAP", "url": "https://poap.xyz"