From f98fa08663ee1f974707f41494489bf581a99497 Mon Sep 17 00:00:00 2001 From: Korbinian Date: Tue, 31 Oct 2023 13:41:16 +0100 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 9156c4e55e000cee3acffe4eff30d21915a3cd08 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Oct 31 16:47:38 2023 +0800 chore(deps): bump github.com/docker/docker from 24.0.5+incompatible to 24.0.7+incompatible (#15085) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 088678c1d476f832bc60de8fcc8b26c54eee5a0b Author: Korbinian Date: Tue Oct 31 06:24:37 2023 +0100 feat(bridge-ui-v2): confirmation step (#15083) commit 6c702d13ace151fb476e43fb1c12ff5e14ff97a5 Author: NguyenTuanCanh <54813621+NguyenTuanCanh@users.noreply.github.com> Date: Tue Oct 31 07:54:30 2023 +0700 refactor(decodeBase64ToJson): throw an error if any issues with decod… (#15064) Co-authored-by: Korbinian commit 799ed715098e10fcf0f1405d37961c2dd75918c2 Author: Kenk Date: Mon Oct 30 22:33:51 2023 +0700 feat(website): add apus network to ecosystem (#15082) --- go.mod | 2 +- go.sum | 4 ++-- .../scripts/utils/decodeBase64ToJson.ts | 7 ++++++- .../components/Ecosystem/EcosystemSection.tsx | 9 +++++++++ .../public/images/ecosystem/apusnetwork.png | Bin 0 -> 9195 bytes 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 packages/website/public/images/ecosystem/apusnetwork.png diff --git a/go.mod b/go.mod index 318cf9b71f3..919d9aa4667 100644 --- a/go.mod +++ b/go.mod @@ -65,7 +65,7 @@ require ( github.com/deckarep/golang-set/v2 v2.1.0 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect github.com/docker/distribution v2.8.2+incompatible // indirect - github.com/docker/docker v24.0.5+incompatible // indirect + github.com/docker/docker v24.0.7+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.5.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect diff --git a/go.sum b/go.sum index 6e2da35087e..a3a10a43165 100644 --- a/go.sum +++ b/go.sum @@ -143,8 +143,8 @@ github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUn github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v24.0.5+incompatible h1:WmgcE4fxyI6EEXxBRxsHnZXrO1pQ3smi0k/jho4HLeY= -github.com/docker/docker v24.0.5+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v24.0.7+incompatible h1:Wo6l37AuwP3JaMnZa226lzVXGA3F9Ig1seQen0cKYlM= +github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= diff --git a/packages/bridge-ui-v2/scripts/utils/decodeBase64ToJson.ts b/packages/bridge-ui-v2/scripts/utils/decodeBase64ToJson.ts index f7209af0020..d4d98124058 100644 --- a/packages/bridge-ui-v2/scripts/utils/decodeBase64ToJson.ts +++ b/packages/bridge-ui-v2/scripts/utils/decodeBase64ToJson.ts @@ -1,5 +1,10 @@ import { Buffer } from 'buffer'; export const decodeBase64ToJson = (base64: string) => { - return JSON.parse(Buffer.from(base64, 'base64').toString('utf-8')); + try { + const decodedString = Buffer.from(base64, 'base64').toString('utf-8'); + return JSON.parse(decodedString); + } catch (error) { + throw new Error('Failed to decode and parse JSON from base64: ' + (error as Error).message); + } }; diff --git a/packages/website/components/Ecosystem/EcosystemSection.tsx b/packages/website/components/Ecosystem/EcosystemSection.tsx index c86200bf5ad..81d12991f57 100644 --- a/packages/website/components/Ecosystem/EcosystemSection.tsx +++ b/packages/website/components/Ecosystem/EcosystemSection.tsx @@ -36,6 +36,15 @@ const ecosystemData: EcosystemData[] = [ icon: "/images/ecosystem/alphamint.png", name: "Alphamint", link: "https://www.alphamint.online/", + description: + "Apus Network is to democratize compute by building a decentralized ZKP marketplace, transforming global compute resources into accessible and affordable ZKP capabilities.", + filters: [], + isLive: true, + }, + { + icon: "/images/ecosystem/apusnetwork.png", + name: "Apus Network", + link: "https://www.apus.network/", description: "Multichain NFT marketplace to create, sell and buy ERC-721 tokens.", filters: [], diff --git a/packages/website/public/images/ecosystem/apusnetwork.png b/packages/website/public/images/ecosystem/apusnetwork.png new file mode 100644 index 0000000000000000000000000000000000000000..f92bc2a71cf044be06a5b039b2991f66209f2501 GIT binary patch literal 9195 zcmeHtXH-+$x9?5>MNk0+0TF_Vpfo``N&t~29qGMD?@~o#zyeB@F1-j6Na#(Fb_7AX zh5&*FP+Af?gcjP{ob$iu-1pvxJI4Kd27?u{_MB^$z1E!bHy5vUwN=m1U8Dm5;EcN3 zJ$(Rxf`38*+7sXhIS5AqKd7A)wG;uMGLC-VmInOJZLg-U1pvXk01)~D0FFsQ2>{?P z0stf%0FZqP0Ic4bje2*$2Pf<_RPO;t$3MBvMTr1#^`ZJbMT4O6CA^0>=Wy2in)M|5 z$u;u?hp{R_^SYNXz)P(U;3)5o&eHl4E7tammA8^A>ZBy|3p$=Y+`~5alDh$8KHL(T zU)p(XZF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