@dcl/shop 0.1.0-30830708286.commit-6900e32 → 0.1.0-30830755583.commit-4658b42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_assets/{Activity-MnXzrB9W.js → Activity-DkK_V4sh.js} +1 -1
- package/_assets/{AnimatedBackground-htl_aksK.js → AnimatedBackground-CQDKI-H_.js} +1 -1
- package/_assets/{Assets-CBDYtRid.js → Assets-DT-d-qaQ.js} +11 -11
- package/_assets/{Assets.styles-BJpp2Oe0.js → Assets.styles-EoOzQAcv.js} +1 -1
- package/_assets/Authorizations-GSUZWQda.js +186 -0
- package/_assets/{Cart-e1KMPGgH.js → Cart-fGoe5beM.js} +6 -6
- package/_assets/{CircularProgress-nhFw9veT.js → CircularProgress-3u1que6i.js} +5 -5
- package/_assets/{Collection--mvJQAHb.js → Collection-vcx-3qSp.js} +5 -5
- package/_assets/{CollectionCarousel-CEkqQ1PE.js → CollectionCarousel-DrpF7Bml.js} +7 -7
- package/_assets/{Creator-CDsnYW7x.js → Creator-CMtCjYcd.js} +4 -4
- package/_assets/{ErrorNotice-FoLpDD1-.js → ErrorNotice-BZqsZ4rX.js} +1 -1
- package/_assets/{ExchangeController-C5od18cc.js → ExchangeController-DU88Z9dU.js} +1 -1
- package/_assets/{GetCredits-UC4ETtf6.js → GetCredits-C8a5FpoV.js} +8 -8
- package/_assets/{HelpersUtil-DN2EdyXJ.js → HelpersUtil-DR2mBYdx.js} +1 -1
- package/_assets/{ImportListings-CNRuPtew.js → ImportListings-Du6YU7d7.js} +10 -10
- package/_assets/{ItemDetail-Cb5zRdZJ.js → ItemDetail-CXKhhh8X.js} +3 -3
- package/_assets/{LoadMore-8od0F5L9.js → LoadMore-Bqx1IcKy.js} +1 -1
- package/_assets/{MenuList-DS3r7IBB.js → MenuList-BEvHySxI.js} +1 -1
- package/_assets/{MyAssets-Dm7z3LNq.js → MyAssets-CPWoT2VA.js} +1 -1
- package/_assets/{MyFavorites-CJ9BdUjm.js → MyFavorites-Igl25Nek.js} +1 -1
- package/_assets/{NotFound-B0AaFvrv.js → NotFound-B4Q6cIl5.js} +1 -1
- package/_assets/NotificationsBell-BqdBDBcG.js +34 -0
- package/_assets/{StoreSettings-BGnmAotG.js → StoreSettings-C_8-hM88.js} +4 -4
- package/_assets/{Success-BvFPVtXh.js → Success-GH1eUkKP.js} +10 -10
- package/_assets/{SwapController-Ce813SnO.js → SwapController-DqIyjDwe.js} +1 -1
- package/_assets/{Tooltip-Dy87pXpy.js → Tooltip-BqiXiZUp.js} +1 -1
- package/_assets/{TradeService-BbXC6H5_.js → TradeService-BrwKrYrV.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-CrdKu7xI.js → W3MFrameProviderSingleton-wKXZD-Zq.js} +3 -3
- package/_assets/{WebCryptoP256-XeUqCFp1.js → WebCryptoP256-BO1VNOgp.js} +1 -1
- package/_assets/{authorizations-E8_0NGng.js → authorizations-Bz3S6EIM.js} +1 -1
- package/_assets/{basic-BgmhLeYh.js → basic-EJUnZYJe.js} +1 -1
- package/_assets/{biconomy-CoRUSW3F.js → biconomy-DotXQm2m.js} +1 -1
- package/_assets/{browseLayout.styles-BuE8ZzH7.js → browseLayout.styles-DKcUvFq-.js} +6 -6
- package/_assets/{builder-CSTbRG1g.js → builder-78T8aZCf.js} +1 -1
- package/_assets/{buy-CFAg0mL8.js → buy-F7fYGwQJ.js} +1 -1
- package/_assets/{buy-gasless-B2L69ya6.js → buy-gasless-BM1gL-pK.js} +1 -1
- package/_assets/{categories-wrk9ttY6.js → categories-BU8sQA4o.js} +7 -7
- package/_assets/{ccip-YM_kCBLY.js → ccip-C_kT-OVZ.js} +1 -1
- package/_assets/{ccip-gnBPW_-R.js → ccip-tCVfGtP3.js} +1 -1
- package/_assets/{clsx-CqIwIRCQ.js → clsx-BJUFu5Pv.js} +2 -2
- package/_assets/{controller-yZy75Z7P.js → controller-m4Wxh5sS.js} +2 -2
- package/_assets/{core-DkD31Zjb.js → core-B1V31SCn.js} +4 -4
- package/_assets/{createSvgIcon-CMMzm3U0.js → createSvgIcon-Dj_5_lVz.js} +4 -4
- package/_assets/{custom-B-orziPC.js → custom-D1K_TxPK.js} +1 -1
- package/_assets/{data-capture-nSLWVv-w.js → data-capture-C1-byNHR.js} +1 -1
- package/_assets/{email-Bj103v1P.js → email-roLnzw98.js} +1 -1
- package/_assets/{embedded-wallet-BcQlnpmz.js → embedded-wallet-CaSrX8RO.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-Cx7yWxVd.js → emotion-styled.browser.esm-B_GcKaUo.js} +1 -1
- package/_assets/{engine-DDk1gbcP.js → engine-BQKnbku7.js} +1 -1
- package/_assets/{errors-CPDOUeQU.js → errors-BkMwx-kf.js} +1 -1
- package/_assets/{estimate-l1-fee-COUDSnTC.js → estimate-l1-fee-C8wjooi8.js} +1 -1
- package/_assets/{execute-CmAmYuhz.js → execute-6yOQQvcJ.js} +2 -2
- package/_assets/{features-B3EUOZIc.js → features-oMzmfq5l.js} +1 -1
- package/_assets/{fetchTokenMetadata-CfOxP6Xt.js → fetchTokenMetadata-BdDn5xlV.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CT8m7arg.js → get-ecosystem-wallet-info-BJqFfkxV.js} +1 -1
- package/_assets/{getBalance-sSJeAfPA.js → getBalance-RNu0dFGc.js} +1 -1
- package/_assets/{getNFT-DQ56iXLL.js → getNFT-BZyzOHB8.js} +1 -1
- package/_assets/{getNFT-CaRZc3jP.js → getNFT-CULdzRPK.js} +1 -1
- package/_assets/{getThemeProps-DMuo3coh.js → getThemeProps-DXnNGMw5.js} +1 -1
- package/_assets/{grid.styles-D-gTOGBC.js → grid.styles-BlUHs1Am.js} +1 -1
- package/_assets/{hashTypedData-BiYwzMSX.js → hashTypedData-B9S9l2wb.js} +1 -1
- package/_assets/{hashTypedData-DTFMLH-r.js → hashTypedData-IHUBPkR0.js} +1 -1
- package/_assets/{import-DdbcQXPQ.js → import-HMOgDc9D.js} +1 -1
- package/_assets/{in-app-DqFHpjTV.js → in-app-CWL9UnZu.js} +1 -1
- package/_assets/{in-app-wallet-calls-DHqdMTHg.js → in-app-wallet-calls-iG9TrQSV.js} +1 -1
- package/_assets/{index-Qo51btPd.js → index-0BDpDIn2.js} +1 -1
- package/_assets/{index-BoKPwZrb.js → index-0EiwzvGv.js} +1 -1
- package/_assets/{index-BJpdqx6Q.js → index-6BrQFoiH.js} +1 -1
- package/_assets/{index-Bjtki3zK.js → index-9gH7d1pw.js} +1 -1
- package/_assets/{index-Cywb3mZG.js → index-A2WELz1i.js} +1 -1
- package/_assets/{index-B1Vw7Ce7.js → index-B5B624ZI.js} +1 -1
- package/_assets/{index-DZu4-xVf.js → index-B6og8PZ_.js} +1 -1
- package/_assets/{index-WFqqjFcS.js → index-BBbwmK0l.js} +1 -1
- package/_assets/{index-B6qnJTMp.js → index-BEnF4ZEt.js} +1 -1
- package/_assets/{index-DJeGZsWn.js → index-BI5VO1OO.js} +1 -1
- package/_assets/{index-BcG9G8Eg.js → index-BPZFvxpS.js} +1 -1
- package/_assets/{index-CeiZi1Mv.js → index-BQnu9AAN.js} +1 -1
- package/_assets/{index-CiqXMsjr.js → index-BZYSB-y8.js} +1 -1
- package/_assets/{index-B1oCsNE3.js → index-B_LMReRp.js} +3 -3
- package/_assets/{index-BbV5I-Nq.js → index-BhiVsshr.js} +1 -1
- package/_assets/{index-DIQz8cOu.js → index-BjqyR397.js} +1 -1
- package/_assets/{index-BHap0Pt7.js → index-BwhFJbcv.js} +1 -1
- package/_assets/{index-uti914D5.js → index-CF9LZ4Pk.js} +1 -1
- package/_assets/{index-hDbN63Ln.js → index-CFAC64qh.js} +1 -1
- package/_assets/{index-IH5Acvug.js → index-CPtRg_C7.js} +2 -2
- package/_assets/{index-ZLrp5Bhh.js → index-CQcgp1iN.js} +26 -26
- package/_assets/{index-BxayUwju.js → index-CTzgZDYk.js} +1 -1
- package/_assets/{index-DNqM2cRp.js → index-CeL4_s5U.js} +1 -1
- package/_assets/{index-m9ABB7av.js → index-CgaQ8N3l.js} +1 -1
- package/_assets/{index-BkDnPBy0.js → index-Clwpm5rF.js} +2 -2
- package/_assets/{index-axEGwhSI.js → index-CqcnnSEX.js} +1 -1
- package/_assets/{index-B-GIGHBi.js → index-CuE5Oadu.js} +1 -1
- package/_assets/{index-SLZL1DoR.js → index-D15ZxYWQ.js} +1 -1
- package/_assets/{index-Gb1PiPiA.js → index-D6_3K--Q.js} +3 -3
- package/_assets/{index-HH9YYVaK.js → index-D6qSnzWv.js} +1 -1
- package/_assets/{index-T2J3uY-Z.js → index-DMwxmOC-.js} +2 -2
- package/_assets/{index-Dd6JKVr9.js → index-DUFof9sW.js} +1 -1
- package/_assets/{index-BPe_F07L.js → index-D_r4rek8.js} +1 -1
- package/_assets/{index-BmscqdKV.js → index-DdVd4SPR.js} +1 -1
- package/_assets/{index-DY8ZC3eZ.js → index-Dn2HPDMP.js} +1 -1
- package/_assets/{index-CBHL2bKV.js → index-DnRSWMRH.js} +1 -1
- package/_assets/{index-CBEktmuo.js → index-DvjiRC2A.js} +2 -2
- package/_assets/{index-CFcgb0ax.js → index-DyZd30cj.js} +1 -1
- package/_assets/{index-CTG34-7k.js → index-NhZwqKdi.js} +1 -1
- package/_assets/{index-zJQqEgUQ.js → index-QA15YkrB.js} +1 -1
- package/_assets/{index-Dyfkmcym.js → index-SnHJ4jHh.js} +3 -3
- package/_assets/{index-DZ_0HpBO.js → index-ZsOxcn-V.js} +1 -1
- package/_assets/{index-CgPnggHq.js → index-byCABXEb.js} +1 -1
- package/_assets/{index-DOMV_UlQ.js → index-bzRnRmth.js} +1 -1
- package/_assets/{index-BuvImOwE.js → index-lPvPUzvE.js} +1 -1
- package/_assets/{index-CTFvSyNV.js → index-lx4soo8p.js} +1 -1
- package/_assets/{index-B4TEatQl.js → index-r5mI5kyM.js} +1 -1
- package/_assets/{index-CbJMa4Yh.js → index-sFbWswBz.js} +1 -1
- package/_assets/{index-gzgGbBGj.js → index-sZGu86_-.js} +1 -1
- package/_assets/{index-C-mOh_a2.js → index-yl2QMKNC.js} +1 -1
- package/_assets/{index-D-ZDvJCP.js → index-zMk1bCKk.js} +2 -2
- package/_assets/{index.es-cnYw8KNm.js → index.es-Cery6vYx.js} +4 -4
- package/_assets/{index.es-D877V0ui.js → index.es-DC3-p8oq.js} +1 -1
- package/_assets/{index.es-CpdpPZ5k.js → index.es-DCKq1Q4u.js} +1 -1
- package/_assets/{localBatchGatewayRequest-Cm_Q3xcs.js → localBatchGatewayRequest-CakoVxEr.js} +1 -1
- package/_assets/{mana-convert-BD8UMnC-.js → mana-convert-CM0Q2I_C.js} +1 -1
- package/_assets/{mana-rate-DsLc4315.js → mana-rate-CeJoK8Ap.js} +1 -1
- package/_assets/{networks-BSQfuOw7.js → networks--__aHdrr.js} +1 -1
- package/_assets/{onramp-PSISd-iT.js → onramp-wc4LPqM7.js} +1 -1
- package/_assets/{openzeppelin-BVepIV31.js → openzeppelin-zwMHXsd3.js} +1 -1
- package/_assets/{parseNft-DdQmcS_8.js → parseNft-BUu0QaJy.js} +2 -2
- package/_assets/{parseSignature-5g9oB04J.js → parseSignature-BZlrbItT.js} +1 -1
- package/_assets/{parseSignature-CtzX7AqF.js → parseSignature-CCc3N6DW.js} +3 -3
- package/_assets/{passkeys-tloHjtZY.js → passkeys-CMzs7qc5.js} +1 -1
- package/_assets/{pay-with-exchange-DhTTxcu5.js → pay-with-exchange-Dd49V9Dt.js} +1 -1
- package/_assets/{qr-overlay-BvHuZZBy.js → qr-overlay-X953Lq1h.js} +1 -1
- package/_assets/{receive-BdMbDZpD.js → receive-CYngkOdA.js} +1 -1
- package/_assets/{resolveImplementation-CFPs_1ly.js → resolveImplementation-CyNwBdrv.js} +1 -1
- package/_assets/{rpc-BGNwjJyh.js → rpc-A101vo1F.js} +1 -1
- package/_assets/{secp256k1-DZ2SAej-.js → secp256k1-C1ir3QUf.js} +1 -1
- package/_assets/{secp256k1-COhPDJ4u.js → secp256k1-DiREPdz-.js} +1 -1
- package/_assets/{secp256k1-705CLADe.js → secp256k1-ZO5i3UBI.js} +1 -1
- package/_assets/{send-cMULZVUl.js → send-BjMRCe3K.js} +1 -1
- package/_assets/{send-batch-transaction-DKis0-QF.js → send-batch-transaction-Da1R2WBg.js} +1 -1
- package/_assets/{send-eip712-transaction-VdYRVrqY.js → send-eip712-transaction-B5gxvF81.js} +2 -2
- package/_assets/{send-gasless-transaction-D9DvumJW.js → send-gasless-transaction-BfnxJUcj.js} +2 -2
- package/_assets/{send-transaction-CXK5_GYH.js → send-transaction-dG8UnQfd.js} +2 -2
- package/_assets/{sendMetaTransaction-CQ1T_6-I.js → sendMetaTransaction-BGqAABs-.js} +1 -1
- package/_assets/{sendRawTransaction-DvGIcbqV.js → sendRawTransaction-C5vaHC9F.js} +3 -3
- package/_assets/{serializeTransaction-DUdNUuM4.js → serializeTransaction-Cvt7VAIM.js} +1 -1
- package/_assets/{session-proposal-nFRfFF1d.js → session-proposal-DA6rberG.js} +1 -1
- package/_assets/{session-request-CorlzLX5.js → session-request-BaWpiqBo.js} +2 -2
- package/_assets/{signing-VlUa-Oq7.js → signing-Chnvri1K.js} +3 -3
- package/_assets/{socials-B5kFlk2f.js → socials-hE6J6zOy.js} +1 -1
- package/_assets/{swaps-Yhyu65X0.js → swaps-D_Lt2d6x.js} +1 -1
- package/_assets/{thirdweb-80s_5RM_.js → thirdweb-Tb-ufCdH.js} +3 -3
- package/_assets/{to-serializable-transaction-BvXKdTbz.js → to-serializable-transaction-W4CacvUz.js} +2 -2
- package/_assets/{trade-encoding-BJQNrSRU.js → trade-encoding-B96eH7PK.js} +1 -1
- package/_assets/{transactionReceipt-D9UoeNG0.js → transactionReceipt-DnMO0Z8h.js} +1 -1
- package/_assets/{transactions-BR_gP4fB.js → transactions-6WSEOyUR.js} +1 -1
- package/_assets/useCreditPacks-BZBHQn_t.js +1 -0
- package/_assets/{useInfiniteGrid-SEfbanDp.js → useInfiniteGrid-qZQR98Xh.js} +1 -1
- package/_assets/useManaRate-oLihTkP0.js +1 -0
- package/_assets/{useSecondarySales-BdMq83Pz.js → useSecondarySales-zW5jqf5K.js} +1 -1
- package/_assets/{useStore-BC3A7db6.js → useStore-DwuNHIk7.js} +1 -1
- package/_assets/{useTheme-BHUAoIEZ.js → useTheme-tTpRSzCd.js} +1 -1
- package/_assets/{verifyHash-VvjDkBws.js → verifyHash-Dcr5MdX9.js} +1 -1
- package/_assets/{w3m-modal-CU7ELmQd.js → w3m-modal-DMVGcuSf.js} +1 -1
- package/_assets/{w3m-modal-ODQEBY_r.js → w3m-modal-DPuioRY2.js} +1 -1
- package/_assets/{wait-for-tx-receipt-DUUNmO1K.js → wait-for-tx-receipt-BPEAu1db.js} +1 -1
- package/_assets/{wallets-BWg5VZy0.js → wallets-CuSH1SoT.js} +5 -5
- package/_assets/{web-connector-B1PoaR_B.js → web-connector-_VNzZMNS.js} +3 -3
- package/_assets/{writeContract-Dk_8bpTb.js → writeContract-DHS3WdjH.js} +1 -1
- package/_assets/{zoraTestnet-C94OTMqe.js → zoraTestnet-B4hShQFd.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Authorizations-lE31EPN4.js +0 -182
- package/_assets/NotificationsBell-T4VZFoIu.js +0 -34
- package/_assets/useCreditPacks-Diy15u3Q.js +0 -1
- package/_assets/useManaRate-DNC9BmC1.js +0 -1
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://shop.decentraland.org/" />
|
|
17
17
|
|
|
18
18
|
<!-- Favicon: the Decentraland mark (same as the marketplace). -->
|
|
19
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/apple-touch-icon.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph -->
|
|
25
25
|
<meta property="og:type" content="website" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
49
49
|
|
|
50
50
|
<!-- Sitemap -->
|
|
51
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/sitemap.xml" />
|
|
52
52
|
|
|
53
53
|
<!-- Warm the 3D preview / fonts -->
|
|
54
54
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
61
61
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
62
62
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
63
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/index-CQcgp1iN.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/react-vyZjIDcS.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/sentry-B35L1FdR.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/dcl-schemas-BICTSpB5.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/ethers-CXBJm_wN.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30830755583.commit-4658b42/_assets/index-BMzstP-8.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body>
|
|
72
72
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-30830755583.commit-4658b42",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/shop.git"
|
|
10
10
|
},
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "4658b421b0f0840ab7d26a289b33b78d7f448424"
|
|
12
12
|
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import{j as t,L as R,r as M}from"./react-vyZjIDcS.js";import{s as a,B as N,t as o,x as I,m as B,e,n as F,y as W,I as f,z as G,u as w,D as K,c as P,E as k,l as Q,q as $}from"./index-ZLrp5Bhh.js";import{a as H,b as O,c as _,d as X,s as J,f as U}from"./authorizations-E8_0NGng.js";import{a as V}from"./builder-CSTbRG1g.js";import{m as Y}from"./mana-matic-C4e1sNO3.js";import{f as Z}from"./errors-CPDOUeQU.js";import"./sentry-B35L1FdR.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CXBJm_wN.js";import"./intl-CBcMB1D2.js";import"./sendMetaTransaction-CQ1T_6-I.js";const tt=I`
|
|
2
|
-
to { transform: rotate(360deg); }
|
|
3
|
-
`,it=I`
|
|
4
|
-
to { background-position: -200% 0; }
|
|
5
|
-
`,et=a.section`
|
|
6
|
-
width: 100%;
|
|
7
|
-
min-width: 0;
|
|
8
|
-
/* Centre heading, intro and rows as ONE block, so the list isn't parked against the left edge of a
|
|
9
|
-
wide page (same treatment as the Activity feed). */
|
|
10
|
-
max-width: 760px;
|
|
11
|
-
margin-inline: auto;
|
|
12
|
-
`,ot=a.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
gap: 6px;
|
|
16
|
-
margin-bottom: 24px;
|
|
17
|
-
`,at=a.h1`
|
|
18
|
-
font-family: ${o.font.sans};
|
|
19
|
-
margin: 0;
|
|
20
|
-
`,nt=a.p`
|
|
21
|
-
color: ${o.colors.muted};
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
margin: 0;
|
|
24
|
-
max-width: 60ch;
|
|
25
|
-
`,z=a.div`
|
|
26
|
-
margin-bottom: 28px;
|
|
27
|
-
`,j=a.h2`
|
|
28
|
-
font-family: ${o.font.sans};
|
|
29
|
-
font-size: 15px;
|
|
30
|
-
font-weight: 700;
|
|
31
|
-
color: ${o.colors.text};
|
|
32
|
-
margin: 0 0 10px;
|
|
33
|
-
`,p=a.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
gap: 12px;
|
|
37
|
-
`,st=a.div`
|
|
38
|
-
display: grid;
|
|
39
|
-
grid-template-columns: 44px 1fr auto;
|
|
40
|
-
align-items: center;
|
|
41
|
-
gap: 14px;
|
|
42
|
-
padding: 14px 18px;
|
|
43
|
-
background: ${o.colors.white};
|
|
44
|
-
border: 1px solid ${o.colors.line};
|
|
45
|
-
border-radius: 16px;
|
|
46
|
-
|
|
47
|
-
${o.media.maxWidth("mobile")} {
|
|
48
|
-
grid-template-columns: 44px 1fr;
|
|
49
|
-
grid-row-gap: 10px;
|
|
50
|
-
}
|
|
51
|
-
`,C=a.div`
|
|
52
|
-
height: 74px;
|
|
53
|
-
border-radius: 16px;
|
|
54
|
-
background: linear-gradient(100deg, #efeef2 30%, #e2e0e7 50%, #efeef2 70%);
|
|
55
|
-
background-size: 200% 100%;
|
|
56
|
-
animation: ${it} 1.4s infinite linear;
|
|
57
|
-
|
|
58
|
-
@media (prefers-reduced-motion: reduce) {
|
|
59
|
-
animation: none;
|
|
60
|
-
}
|
|
61
|
-
`,rt=a.img`
|
|
62
|
-
width: 22px !important;
|
|
63
|
-
height: 22px !important;
|
|
64
|
-
object-fit: contain;
|
|
65
|
-
`,ct=a.div`
|
|
66
|
-
width: 44px;
|
|
67
|
-
height: 44px;
|
|
68
|
-
border-radius: 10px;
|
|
69
|
-
background: ${o.colors.media};
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
justify-content: center;
|
|
74
|
-
color: ${o.colors.muted2};
|
|
75
|
-
|
|
76
|
-
img {
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: 100%;
|
|
79
|
-
object-fit: contain;
|
|
80
|
-
}
|
|
81
|
-
`,lt=a.div`
|
|
82
|
-
min-width: 0;
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
gap: 3px;
|
|
86
|
-
`,dt=a.span`
|
|
87
|
-
font-weight: 700;
|
|
88
|
-
color: ${o.colors.text};
|
|
89
|
-
white-space: nowrap;
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
text-overflow: ellipsis;
|
|
92
|
-
`,ut=a.span`
|
|
93
|
-
font-size: 13px;
|
|
94
|
-
color: ${o.colors.muted};
|
|
95
|
-
`,ht=a.span`
|
|
96
|
-
font-size: 12px;
|
|
97
|
-
font-weight: 700;
|
|
98
|
-
color: ${o.colors.muted2};
|
|
99
|
-
|
|
100
|
-
&[data-active='true'] {
|
|
101
|
-
color: ${o.colors.okStrong};
|
|
102
|
-
}
|
|
103
|
-
`,pt=a.div`
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
gap: 10px;
|
|
107
|
-
justify-self: end;
|
|
108
|
-
|
|
109
|
-
${o.media.maxWidth("mobile")} {
|
|
110
|
-
grid-column: 1 / -1;
|
|
111
|
-
justify-self: start;
|
|
112
|
-
}
|
|
113
|
-
`,mt=a.button`
|
|
114
|
-
position: relative;
|
|
115
|
-
width: 46px;
|
|
116
|
-
height: 26px;
|
|
117
|
-
flex: 0 0 auto;
|
|
118
|
-
border-radius: ${o.radius.pill};
|
|
119
|
-
border: none;
|
|
120
|
-
background: ${o.colors.gray4};
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
transition: background 0.15s;
|
|
123
|
-
padding: 0;
|
|
124
|
-
|
|
125
|
-
&::after {
|
|
126
|
-
content: '';
|
|
127
|
-
position: absolute;
|
|
128
|
-
top: 3px;
|
|
129
|
-
left: 3px;
|
|
130
|
-
width: 20px;
|
|
131
|
-
height: 20px;
|
|
132
|
-
border-radius: 50%;
|
|
133
|
-
background: ${o.colors.white};
|
|
134
|
-
transition: transform 0.15s;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&[data-active='true'] {
|
|
138
|
-
background: ${o.colors.accent};
|
|
139
|
-
}
|
|
140
|
-
&[data-active='true']::after {
|
|
141
|
-
transform: translateX(20px);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&:disabled {
|
|
145
|
-
cursor: default;
|
|
146
|
-
opacity: 0.6;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&:focus-visible {
|
|
150
|
-
outline: 2px solid ${o.colors.accent};
|
|
151
|
-
outline-offset: 2px;
|
|
152
|
-
}
|
|
153
|
-
`,xt=a.span`
|
|
154
|
-
width: 16px;
|
|
155
|
-
height: 16px;
|
|
156
|
-
border-radius: 50%;
|
|
157
|
-
border: 2px solid ${o.colors.gray4};
|
|
158
|
-
border-top-color: ${o.colors.accent};
|
|
159
|
-
animation: ${tt} 0.7s linear infinite;
|
|
160
|
-
|
|
161
|
-
@media (prefers-reduced-motion: reduce) {
|
|
162
|
-
animation: none;
|
|
163
|
-
}
|
|
164
|
-
`,A=a.p`
|
|
165
|
-
color: ${o.colors.muted};
|
|
166
|
-
font-size: 14px;
|
|
167
|
-
margin: 0;
|
|
168
|
-
`,T=a.div`
|
|
169
|
-
display: flex;
|
|
170
|
-
flex-direction: column;
|
|
171
|
-
align-items: center;
|
|
172
|
-
gap: 8px;
|
|
173
|
-
text-align: center;
|
|
174
|
-
padding: 90px 20px;
|
|
175
|
-
min-height: 50vh;
|
|
176
|
-
`,E=a.p`
|
|
177
|
-
font-size: 22px;
|
|
178
|
-
font-weight: 700;
|
|
179
|
-
margin: 6px 0 0;
|
|
180
|
-
`,S=a(N)`
|
|
181
|
-
margin-top: 12px;
|
|
182
|
-
`;function y({descriptor:i,owner:c,signer:l,name:n,description:r,image:d,icon:h}){const b=K(),[m,x]=M.useState(!1),{data:s,isLoading:u,refetch:q}=w({queryKey:["authorization",i.id,c],queryFn:()=>U(i,c),staleTime:3e4});async function D(){if(m||u)return;const g=!s;x(!0);try{await J({auth:i,signer:l,active:g}),await q(),b.setQueryData(["authorization",i.id,c],g),k.success(g?e("authorizations.toastActivated",{name:n}):e("authorizations.toastDeactivated",{name:n}))}catch(v){Q(v,{flow:"authorizations",step:g?"grant":"revoke"}),k.error(Z(v,e("authorizations.errorGeneric")))}finally{x(!1)}}const L=u?e("authorizations.checking"):s?e("authorizations.active"):e("authorizations.inactive");return t.jsxs(st,{"data-testid":`authorization-${i.id}`,"data-active":!!s,children:[t.jsx(ct,{children:d?t.jsx("img",{src:d,alt:""}):h}),t.jsxs(lt,{children:[t.jsx(dt,{title:n,children:n}),t.jsx(ut,{children:r})]}),t.jsxs(pt,{children:[t.jsx(ht,{"data-active":!!s,children:L}),m?t.jsx(xt,{"aria-label":e("authorizations.working")}):t.jsx(mt,{type:"button","data-testid":`authorization-toggle-${i.id}`,"data-active":!!s,role:"switch","aria-checked":!!s,"aria-label":s?e("authorizations.deactivateAria",{name:n}):e("authorizations.activateAria",{name:n}),disabled:u,onClick:()=>void D()})]})]})}function gt(i){return w({queryKey:["owned-collections",i],enabled:!!i,staleTime:6e4,queryFn:async()=>{const[c,l]=await Promise.all([$(i,{category:"wearable",first:96}),$(i,{category:"emote",first:96})]),n=new Map;for(const r of[...c.assets,...l.assets]){const d=r.contractAddress.toLowerCase();n.has(d)||n.set(d,r)}return[...n.values()]}})}function ft(i,c){return w({queryKey:["creator-collections",i],enabled:!!i&&!!c,staleTime:6e4,queryFn:async()=>{const l=await V(i,c),n=new Map;for(const r of l){const d=r.contractAddress.toLowerCase();n.has(d)||n.set(d,r)}return[...n.values()]}})}function Et(){B({title:e("authorizations.title"),noindex:!0});const{session:i,signIn:c}=F(),l=P.chainId,n=W(i==null?void 0:i.providerType),{data:r,isLoading:d}=gt(n?i==null?void 0:i.address:void 0),{data:h,isLoading:b}=ft(n?i==null?void 0:i.address:void 0,n?i==null?void 0:i.identity:void 0);if(!i)return t.jsxs(T,{children:[t.jsx(f,{name:"info",size:40,color:o.colors.muted2}),t.jsx(E,{children:e("authorizations.signInTitle")}),t.jsx("p",{className:"muted",children:e("authorizations.signInBody")}),t.jsx(S,{variant:"purple",onClick:()=>c(),children:e("storeSettings.signIn")})]});if(!n)return t.jsxs(T,{children:[t.jsx(f,{name:"check",size:40,color:o.colors.ok}),t.jsx(E,{children:e("authorizations.managedTitle")}),t.jsx("p",{className:"muted",children:e("authorizations.managedBody")}),t.jsx(S,{as:R,to:"/assets",variant:"purple",children:e("authorizations.managedCta")})]});const m=H(l),x=O(l);return t.jsxs(et,{children:[t.jsxs(ot,{children:[t.jsx(at,{children:e("authorizations.title")}),t.jsx(nt,{children:e("authorizations.intro")})]}),t.jsxs(z,{children:[t.jsx(j,{children:e("authorizations.buyingTitle")}),t.jsxs(p,{children:[t.jsx(y,{descriptor:m,owner:i.address,signer:i.signer,name:e("authorizations.creditsName"),description:e("authorizations.creditsDesc"),icon:t.jsx(G,{className:"ccy-mark"})}),t.jsx(y,{descriptor:x,owner:i.address,signer:i.signer,name:e("authorizations.manaName"),description:e("authorizations.manaDesc"),icon:t.jsx(rt,{src:Y,alt:"","aria-hidden":!0})})]})]}),t.jsxs(z,{children:[t.jsx(j,{children:e("authorizations.sellingTitle")}),d?t.jsx(p,{"aria-busy":"true","aria-label":e("authorizations.checking"),children:Array.from({length:3}).map((s,u)=>t.jsx(C,{"aria-hidden":!0},u))}):r&&r.length>0?t.jsx(p,{children:r.map(s=>t.jsx(y,{descriptor:_(s.contractAddress,l),owner:i.address,signer:i.signer,name:s.name||e("authorizations.collectionFallback"),description:e("authorizations.sellingDesc"),image:s.image,icon:t.jsx(f,{name:"pen",size:18})},s.contractAddress))}):t.jsx(A,{children:e("authorizations.sellingEmpty")})]}),t.jsxs(z,{children:[t.jsx(j,{children:e("authorizations.mintingTitle")}),b?t.jsx(p,{"aria-busy":"true","aria-label":e("authorizations.checking"),children:Array.from({length:3}).map((s,u)=>t.jsx(C,{"aria-hidden":!0},u))}):h&&h.length>0?t.jsx(p,{children:h.map(s=>t.jsx(y,{descriptor:X(s.contractAddress,l),owner:i.address,signer:i.signer,name:s.name||e("authorizations.collectionFallback"),description:e("authorizations.mintingDesc"),icon:t.jsx(f,{name:"pen",size:18})},s.contractAddress))}):t.jsx(A,{children:e("authorizations.mintingEmpty")})]})]})}export{Et as Authorizations};
|