@dcl/shop 0.1.0-30830708286.commit-6900e32 → 0.1.0-30835612462.commit-48765f9
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-C96oKaM7.js} +1 -1
- package/_assets/{AnimatedBackground-htl_aksK.js → AnimatedBackground-Cg4YrmHy.js} +1 -1
- package/_assets/{Assets-CBDYtRid.js → Assets-BUbwNh-5.js} +11 -11
- package/_assets/{Assets.styles-BJpp2Oe0.js → Assets.styles-BO8jltml.js} +1 -1
- package/_assets/Authorizations-D7hfFylo.js +186 -0
- package/_assets/{Cart-e1KMPGgH.js → Cart-DPW25tAG.js} +6 -6
- package/_assets/{CircularProgress-nhFw9veT.js → CircularProgress-B2h31Yy9.js} +5 -5
- package/_assets/{Collection--mvJQAHb.js → Collection-BS21SN6A.js} +5 -5
- package/_assets/{CollectionCarousel-CEkqQ1PE.js → CollectionCarousel-WI45XOFA.js} +7 -7
- package/_assets/{Creator-CDsnYW7x.js → Creator-DQZ74uf0.js} +4 -4
- package/_assets/{ErrorNotice-FoLpDD1-.js → ErrorNotice-q0dn0iRL.js} +1 -1
- package/_assets/{ExchangeController-C5od18cc.js → ExchangeController-Dtgh1od6.js} +1 -1
- package/_assets/{GetCredits-UC4ETtf6.js → GetCredits-D-jeDJ75.js} +8 -8
- package/_assets/{HelpersUtil-DN2EdyXJ.js → HelpersUtil-D2_GPqxX.js} +1 -1
- package/_assets/{ImportListings-CNRuPtew.js → ImportListings-BNjL24xn.js} +10 -10
- package/_assets/{ItemDetail-Cb5zRdZJ.js → ItemDetail-BXpWKwPY.js} +13 -13
- package/_assets/{LoadMore-8od0F5L9.js → LoadMore-DoQvuFO_.js} +1 -1
- package/_assets/{MenuList-DS3r7IBB.js → MenuList-DOJfvyqr.js} +1 -1
- package/_assets/{MyAssets-Dm7z3LNq.js → MyAssets-DpQnCJPT.js} +1 -1
- package/_assets/{MyFavorites-CJ9BdUjm.js → MyFavorites-DFO63j-P.js} +1 -1
- package/_assets/{NotFound-B0AaFvrv.js → NotFound-BocUG6Wo.js} +1 -1
- package/_assets/NotificationsBell-iaGtBsC9.js +34 -0
- package/_assets/{StoreSettings-BGnmAotG.js → StoreSettings-Bc_NBrxI.js} +4 -4
- package/_assets/{Success-BvFPVtXh.js → Success-BIMxdHvn.js} +10 -10
- package/_assets/{SwapController-Ce813SnO.js → SwapController-DeKeu3FE.js} +1 -1
- package/_assets/{Tooltip-Dy87pXpy.js → Tooltip-BLyu7Dfk.js} +1 -1
- package/_assets/{TradeService-BbXC6H5_.js → TradeService-CWqv5slk.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-CrdKu7xI.js → W3MFrameProviderSingleton-1MRMKUrL.js} +3 -3
- package/_assets/{WebCryptoP256-XeUqCFp1.js → WebCryptoP256-BAvl6xkt.js} +1 -1
- package/_assets/{authorizations-E8_0NGng.js → authorizations-DDsnY_Zf.js} +1 -1
- package/_assets/{basic-BgmhLeYh.js → basic-BzVRhtZ-.js} +1 -1
- package/_assets/{biconomy-CoRUSW3F.js → biconomy-yl7EuW3B.js} +1 -1
- package/_assets/{browseLayout.styles-BuE8ZzH7.js → browseLayout.styles-u63rKyzf.js} +6 -6
- package/_assets/{builder-CSTbRG1g.js → builder-BO6I7uZQ.js} +1 -1
- package/_assets/{buy-CFAg0mL8.js → buy-DN9Q4fmJ.js} +1 -1
- package/_assets/{buy-gasless-B2L69ya6.js → buy-gasless-Cxl5QDDd.js} +1 -1
- package/_assets/{categories-wrk9ttY6.js → categories-DFgZJeSL.js} +7 -7
- package/_assets/{ccip-YM_kCBLY.js → ccip-5db1OYaq.js} +1 -1
- package/_assets/{ccip-gnBPW_-R.js → ccip-C9MO7Vbh.js} +1 -1
- package/_assets/{clsx-CqIwIRCQ.js → clsx-Dv5E4mS4.js} +2 -2
- package/_assets/{controller-yZy75Z7P.js → controller-DNuVvFDa.js} +2 -2
- package/_assets/{core-DkD31Zjb.js → core-Do4xTqpU.js} +4 -4
- package/_assets/{createSvgIcon-CMMzm3U0.js → createSvgIcon-TyRUGFdQ.js} +4 -4
- package/_assets/{custom-B-orziPC.js → custom-Cdk30JmS.js} +1 -1
- package/_assets/{data-capture-nSLWVv-w.js → data-capture-DwwEo9Zw.js} +1 -1
- package/_assets/{email-Bj103v1P.js → email-DiU12yVh.js} +1 -1
- package/_assets/{embedded-wallet-BcQlnpmz.js → embedded-wallet-Gkjm7p7P.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-Cx7yWxVd.js → emotion-styled.browser.esm-1jXvUKUZ.js} +1 -1
- package/_assets/{engine-DDk1gbcP.js → engine-BlXXh7Bj.js} +1 -1
- package/_assets/{errors-CPDOUeQU.js → errors-BshsHqbY.js} +1 -1
- package/_assets/{estimate-l1-fee-COUDSnTC.js → estimate-l1-fee-Jhm2Yxur.js} +1 -1
- package/_assets/{execute-CmAmYuhz.js → execute-BrbMEhFX.js} +2 -2
- package/_assets/{features-B3EUOZIc.js → features-WtRCFBGN.js} +1 -1
- package/_assets/{fetchTokenMetadata-CfOxP6Xt.js → fetchTokenMetadata-Bm5qOhHz.js} +2 -2
- package/_assets/{get-ecosystem-wallet-info-CT8m7arg.js → get-ecosystem-wallet-info-Bk3TC-8s.js} +1 -1
- package/_assets/{getBalance-sSJeAfPA.js → getBalance-D5TAQGrF.js} +1 -1
- package/_assets/{getNFT-DQ56iXLL.js → getNFT-BXhNmL18.js} +1 -1
- package/_assets/{getNFT-CaRZc3jP.js → getNFT-CCYMJGO3.js} +1 -1
- package/_assets/{getThemeProps-DMuo3coh.js → getThemeProps-jxkK7aJF.js} +1 -1
- package/_assets/{grid.styles-D-gTOGBC.js → grid.styles-Dc-BunHd.js} +1 -1
- package/_assets/{hashTypedData-BiYwzMSX.js → hashTypedData-Ca0HEadf.js} +1 -1
- package/_assets/{hashTypedData-DTFMLH-r.js → hashTypedData-DVgRVFNg.js} +1 -1
- package/_assets/{import-DdbcQXPQ.js → import-DOwZHLAr.js} +1 -1
- package/_assets/{in-app-DqFHpjTV.js → in-app-5OmWNOhY.js} +1 -1
- package/_assets/{in-app-wallet-calls-DHqdMTHg.js → in-app-wallet-calls-BRQJJecy.js} +1 -1
- package/_assets/{index-Dyfkmcym.js → index-2OVx4iJi.js} +3 -3
- package/_assets/{index-HH9YYVaK.js → index-B0qtsAE-.js} +1 -1
- package/_assets/{index-BcG9G8Eg.js → index-B4VI0jMN.js} +1 -1
- package/_assets/{index-DIQz8cOu.js → index-BE_Ebetr.js} +1 -1
- package/_assets/{index-Dd6JKVr9.js → index-BFBjDoQ6.js} +1 -1
- package/_assets/{index-axEGwhSI.js → index-BJOGj8uX.js} +1 -1
- package/_assets/{index-CgPnggHq.js → index-BUWXcU3w.js} +1 -1
- package/_assets/{index-BHap0Pt7.js → index-BVkfXvB0.js} +1 -1
- package/_assets/{index-SLZL1DoR.js → index-Be0TtwRh.js} +1 -1
- package/_assets/{index-BPe_F07L.js → index-BgkliADR.js} +1 -1
- package/_assets/{index-C-mOh_a2.js → index-BhozS4qR.js} +1 -1
- package/_assets/{index-BJpdqx6Q.js → index-Bjz1afXG.js} +1 -1
- package/_assets/{index-B-GIGHBi.js → index-C24ZPX4S.js} +1 -1
- package/_assets/{index-B1oCsNE3.js → index-CKNfn6Vk.js} +3 -3
- package/_assets/{index-ZLrp5Bhh.js → index-CKvAeyW_.js} +26 -26
- package/_assets/{index-B4TEatQl.js → index-CLwiHF4x.js} +1 -1
- package/_assets/{index-Qo51btPd.js → index-COIPDAvM.js} +1 -1
- package/_assets/{index-DOMV_UlQ.js → index-COvhkZx4.js} +1 -1
- package/_assets/{index-Cywb3mZG.js → index-CUdjYgOL.js} +1 -1
- package/_assets/{index-CFcgb0ax.js → index-CX9Whfxj.js} +1 -1
- package/_assets/{index-CBEktmuo.js → index-C_QkMk4V.js} +2 -2
- package/_assets/{index-WFqqjFcS.js → index-Clxl6O3m.js} +1 -1
- package/_assets/{index-B1Vw7Ce7.js → index-Cp14nZEB.js} +1 -1
- package/_assets/{index-DNqM2cRp.js → index-CrrW0USV.js} +1 -1
- package/_assets/{index-CeiZi1Mv.js → index-CyM-uKEn.js} +1 -1
- package/_assets/{index-m9ABB7av.js → index-D6QGQCMT.js} +1 -1
- package/_assets/{index-uti914D5.js → index-D7m3HL9N.js} +1 -1
- package/_assets/{index-gzgGbBGj.js → index-DBb0SZED.js} +1 -1
- package/_assets/{index-BxayUwju.js → index-DCJUcLs-.js} +1 -1
- package/_assets/{index-CbJMa4Yh.js → index-DCTmqT9n.js} +1 -1
- package/_assets/{index-BuvImOwE.js → index-DDY4z1Qo.js} +1 -1
- package/_assets/{index-Gb1PiPiA.js → index-DFWSTox1.js} +3 -3
- package/_assets/{index-hDbN63Ln.js → index-DQ3nh_Gh.js} +1 -1
- package/_assets/{index-DY8ZC3eZ.js → index-Da6pHJ2U.js} +1 -1
- package/_assets/{index-Bjtki3zK.js → index-Ddv8zF_v.js} +1 -1
- package/_assets/{index-B6qnJTMp.js → index-DgkhTIuB.js} +1 -1
- package/_assets/{index-DJeGZsWn.js → index-DmlmMlHx.js} +1 -1
- package/_assets/{index-BmscqdKV.js → index-Dx8DDVd9.js} +1 -1
- package/_assets/{index-IH5Acvug.js → index-DyTr5Odp.js} +2 -2
- package/_assets/{index-CBHL2bKV.js → index-E6nd8w7r.js} +1 -1
- package/_assets/{index-CTFvSyNV.js → index-EDfm-4gk.js} +1 -1
- package/_assets/{index-DZu4-xVf.js → index-Fy8-NNgy.js} +1 -1
- package/_assets/{index-CiqXMsjr.js → index-M_xvfKlg.js} +1 -1
- package/_assets/{index-BkDnPBy0.js → index-PVirg3CC.js} +2 -2
- package/_assets/{index-zJQqEgUQ.js → index-SIu0g-iY.js} +1 -1
- package/_assets/{index-BbV5I-Nq.js → index-Yqi1mlp4.js} +1 -1
- package/_assets/{index-T2J3uY-Z.js → index-a4DwWHMC.js} +2 -2
- package/_assets/{index-D-ZDvJCP.js → index-hUwYbJaz.js} +2 -2
- package/_assets/{index-DZ_0HpBO.js → index-hycTvNv9.js} +1 -1
- package/_assets/{index-BoKPwZrb.js → index-p4aiSGwy.js} +1 -1
- package/_assets/{index-CTG34-7k.js → index-tDQizk_n.js} +1 -1
- package/_assets/{index.es-CpdpPZ5k.js → index.es-4BnFbLIq.js} +1 -1
- package/_assets/{index.es-D877V0ui.js → index.es-CHF2aRm8.js} +1 -1
- package/_assets/{index.es-cnYw8KNm.js → index.es-CuQzAuJf.js} +4 -4
- package/_assets/{localBatchGatewayRequest-Cm_Q3xcs.js → localBatchGatewayRequest-BiaZ99qV.js} +1 -1
- package/_assets/{mana-convert-BD8UMnC-.js → mana-convert-fQ28xr65.js} +1 -1
- package/_assets/{mana-rate-DsLc4315.js → mana-rate-CX4vkbTv.js} +1 -1
- package/_assets/{networks-BSQfuOw7.js → networks-BLWCcklV.js} +1 -1
- package/_assets/{onramp-PSISd-iT.js → onramp-ofeNemBP.js} +1 -1
- package/_assets/{openzeppelin-BVepIV31.js → openzeppelin-CQ4xxvCW.js} +1 -1
- package/_assets/{parseNft-DdQmcS_8.js → parseNft-BA1YqoMO.js} +2 -2
- package/_assets/{parseSignature-5g9oB04J.js → parseSignature-Bv3a-ckt.js} +1 -1
- package/_assets/{parseSignature-CtzX7AqF.js → parseSignature-CdZk3HUU.js} +3 -3
- package/_assets/{passkeys-tloHjtZY.js → passkeys-cIb8SYvN.js} +1 -1
- package/_assets/{pay-with-exchange-DhTTxcu5.js → pay-with-exchange-DgR6jsOE.js} +1 -1
- package/_assets/{qr-overlay-BvHuZZBy.js → qr-overlay-Cfft7a0M.js} +1 -1
- package/_assets/{receive-BdMbDZpD.js → receive-BKMf0MUc.js} +1 -1
- package/_assets/{resolveImplementation-CFPs_1ly.js → resolveImplementation-BUhQkFuG.js} +1 -1
- package/_assets/{rpc-BGNwjJyh.js → rpc-BSCW9r0K.js} +1 -1
- package/_assets/{secp256k1-COhPDJ4u.js → secp256k1-Cc7ZGphI.js} +1 -1
- package/_assets/{secp256k1-DZ2SAej-.js → secp256k1-D7Ic1AnI.js} +1 -1
- package/_assets/{secp256k1-705CLADe.js → secp256k1-DZ_AtAE9.js} +1 -1
- package/_assets/{send-cMULZVUl.js → send-D0GDu_vS.js} +1 -1
- package/_assets/{send-batch-transaction-DKis0-QF.js → send-batch-transaction-Bx_S55BL.js} +1 -1
- package/_assets/{send-eip712-transaction-VdYRVrqY.js → send-eip712-transaction-BeQ_HoA6.js} +2 -2
- package/_assets/{send-gasless-transaction-D9DvumJW.js → send-gasless-transaction-mq5auYkP.js} +2 -2
- package/_assets/{send-transaction-CXK5_GYH.js → send-transaction-D3g0h3x8.js} +2 -2
- package/_assets/{sendMetaTransaction-CQ1T_6-I.js → sendMetaTransaction-CfYBmJqE.js} +1 -1
- package/_assets/{sendRawTransaction-DvGIcbqV.js → sendRawTransaction-Bdfd1V50.js} +3 -3
- package/_assets/{serializeTransaction-DUdNUuM4.js → serializeTransaction-Bq1icuDU.js} +1 -1
- package/_assets/{session-proposal-nFRfFF1d.js → session-proposal-CeKp7mKZ.js} +1 -1
- package/_assets/{session-request-CorlzLX5.js → session-request-CZ68hd2h.js} +2 -2
- package/_assets/{signing-VlUa-Oq7.js → signing-C7pGWbAD.js} +3 -3
- package/_assets/{socials-B5kFlk2f.js → socials-DVfxwwog.js} +1 -1
- package/_assets/{swaps-Yhyu65X0.js → swaps-BHlzfOa6.js} +1 -1
- package/_assets/{thirdweb-80s_5RM_.js → thirdweb-PU38RH0J.js} +3 -3
- package/_assets/{to-serializable-transaction-BvXKdTbz.js → to-serializable-transaction-gDnQ8f6A.js} +2 -2
- package/_assets/{trade-encoding-BJQNrSRU.js → trade-encoding-DPKBDNkR.js} +1 -1
- package/_assets/{transactionReceipt-D9UoeNG0.js → transactionReceipt-CkDBxTqo.js} +1 -1
- package/_assets/{transactions-BR_gP4fB.js → transactions-CC5Z4LdW.js} +1 -1
- package/_assets/useCreditPacks-CQXC1itx.js +1 -0
- package/_assets/{useInfiniteGrid-SEfbanDp.js → useInfiniteGrid-CK8TA2xA.js} +1 -1
- package/_assets/useManaRate-DvHMbg5D.js +1 -0
- package/_assets/{useSecondarySales-BdMq83Pz.js → useSecondarySales-BVKMem4L.js} +1 -1
- package/_assets/{useStore-BC3A7db6.js → useStore-55b8sEvt.js} +1 -1
- package/_assets/{useTheme-BHUAoIEZ.js → useTheme-s40vMPeT.js} +1 -1
- package/_assets/{verifyHash-VvjDkBws.js → verifyHash-UTScJ5vY.js} +1 -1
- package/_assets/{w3m-modal-CU7ELmQd.js → w3m-modal-BcGHx_GU.js} +1 -1
- package/_assets/{w3m-modal-ODQEBY_r.js → w3m-modal-DvvX0FR6.js} +1 -1
- package/_assets/{wait-for-tx-receipt-DUUNmO1K.js → wait-for-tx-receipt-DeBOMM1R.js} +1 -1
- package/_assets/{wallets-BWg5VZy0.js → wallets-JW3aPEWT.js} +5 -5
- package/_assets/{web-connector-B1PoaR_B.js → web-connector-RvG-aCdp.js} +3 -3
- package/_assets/{writeContract-Dk_8bpTb.js → writeContract-Dqe7Ta-l.js} +1 -1
- package/_assets/{zoraTestnet-C94OTMqe.js → zoraTestnet-DDg_i6X6.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-30835612462.commit-48765f9/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/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-30835612462.commit-48765f9/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-30835612462.commit-48765f9/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-30835612462.commit-48765f9/_assets/index-CKvAeyW_.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_assets/react-vyZjIDcS.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_assets/sentry-B35L1FdR.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_assets/dcl-schemas-BICTSpB5.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_assets/ethers-CXBJm_wN.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-30835612462.commit-48765f9/_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-30835612462.commit-48765f9",
|
|
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": "48765f984fdcf35062e700494de808b2d1b10199"
|
|
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};
|