@dcl/blog-site 0.1.2-22200898455.commit-be7c830 → 0.1.2
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/{add-CONdz2L0.js → add-CyVnKjs7.js} +1 -1
- package/assets/{all-wallets-BqzhB1kH.js → all-wallets-CG777VR6.js} +1 -1
- package/assets/{app-store-CG7fZeTB.js → app-store-CyKybWLW.js} +1 -1
- package/assets/{apple-qYUKb-fL.js → apple-BLNXiKyR.js} +1 -1
- package/assets/{arrow-bottom-circle-wze6Ib1X.js → arrow-bottom-circle-u-wMwhnf.js} +1 -1
- package/assets/{arrow-bottom-SgoHwiLt.js → arrow-bottom-qde4rzT6.js} +1 -1
- package/assets/{arrow-left-Bc9t_8h8.js → arrow-left-DfxhJBdw.js} +1 -1
- package/assets/{arrow-right-DQoklnFO.js → arrow-right-Cb7w__hM.js} +1 -1
- package/assets/{arrow-top-CtzlGQJY.js → arrow-top-BeK_c3eg.js} +1 -1
- package/assets/auto-track-BdKMoPcs.js +1 -0
- package/assets/{bank-DNHWU_Jg.js → bank-HqtNO_bB.js} +1 -1
- package/assets/{basic-PxGakulR.js → basic-BNAPw1FU.js} +1 -1
- package/assets/{browser-BNy_mm43.js → browser-DIokFqEe.js} +1 -1
- package/assets/{card-g11mKc-V.js → card-DjOl3skX.js} +1 -1
- package/assets/{ccip-CdVPatLX.js → ccip-DqBdUu6i.js} +1 -1
- package/assets/{checkmark-DhBzwQ6t.js → checkmark-CWKlssVu.js} +1 -1
- package/assets/{checkmark-bold-svBeKBAh.js → checkmark-bold-Cj3u8wQw.js} +1 -1
- package/assets/{chevron-bottom-DAKGIwRE.js → chevron-bottom-D9yVYRKT.js} +1 -1
- package/assets/{chevron-left-pJoxer2X.js → chevron-left-DqBwyuOT.js} +1 -1
- package/assets/{chevron-right-BZQxa3gA.js → chevron-right-CKqSAH_x.js} +1 -1
- package/assets/{chevron-top-B1p3XmfH.js → chevron-top-DFQOHzSJ.js} +1 -1
- package/assets/{chrome-store-eRhpzwit.js → chrome-store-wJopyOxA.js} +1 -1
- package/assets/{clock-BAS4ouqS.js → clock-9KCU5m2q.js} +1 -1
- package/assets/{close-BAQozjiM.js → close-CAlya4Yr.js} +1 -1
- package/assets/{coinPlaceholder-BXdMDAlW.js → coinPlaceholder-D-_nqm5Y.js} +1 -1
- package/assets/{compass-DEaXwX19.js → compass-Cc9q07ac.js} +1 -1
- package/assets/{copy-D5b4R0M8.js → copy-D0kVMzUr.js} +1 -1
- package/assets/{core-Chr5umbM.js → core-o6E0YR6k.js} +4 -4
- package/assets/{cursor-CToeUN6u.js → cursor-8Q7GmcGD.js} +1 -1
- package/assets/{cursor-transparent-akq7d1Vw.js → cursor-transparent-CURyD4kY.js} +1 -1
- package/assets/{desktop-DGBZdcEp.js → desktop-DogYiFjA.js} +1 -1
- package/assets/{disconnect-CmKUkObt.js → disconnect-CfgkM-B7.js} +1 -1
- package/assets/{discord-AGPJXkYv.js → discord-CqpA_3K8.js} +1 -1
- package/assets/{etherscan-BCzO-bJK.js → etherscan-BnynTX8C.js} +1 -1
- package/assets/{exclamation-triangle-Dsv91uqg.js → exclamation-triangle-DNM8zLTG.js} +1 -1
- package/assets/{extension-DptuMijD.js → extension-BWNgZYd9.js} +1 -1
- package/assets/{external-link-BtrWPfav.js → external-link-Dz6LJ8_-.js} +1 -1
- package/assets/{facebook-BM1mR9Hc.js → facebook-B4NhgA3g.js} +1 -1
- package/assets/{farcaster-BnAwNR4c.js → farcaster-x-xnP4zp.js} +1 -1
- package/assets/{filters-DnAaDMtu.js → filters-BCP3KZSL.js} +1 -1
- package/assets/{github-BiifJsd8.js → github-Bv7KrAHw.js} +1 -1
- package/assets/{google-CsZwT3WU.js → google-CRoKw5G5.js} +1 -1
- package/assets/{help-circle-B8Z8NC0j.js → help-circle-JerI1UQH.js} +1 -1
- package/assets/{id-DBfaQRNy.js → id-DNx9O1ig.js} +1 -1
- package/assets/{image-BaZrELj9.js → image-B5lk579u.js} +1 -1
- package/assets/index-B4WTLPXJ.js +1 -0
- package/assets/{index-3zjttLF9.js → index-BSNxc2aY.js} +3 -3
- package/assets/index-C2CVTEjl.js +1 -0
- package/assets/index-C6-wFTel.js +1 -0
- package/assets/{index-fyJdZPtk.js → index-CTkJr32f.js} +1 -1
- package/assets/index-CXSCOxLa.js +1 -0
- package/assets/index-D1_e83sD.js +2 -0
- package/assets/index-D6ZMQedT.js +1 -0
- package/assets/index-FMsmThma.js +2 -0
- package/assets/{index-nDqVr4pH.js → index-I3pSy4Zy.js} +6 -6
- package/assets/{index-ch5fmFOv.js → index-m9AvnFPE.js} +124 -124
- package/assets/{index.es-Cl1t_1D0.js → index.es-ZeQVkZNG.js} +4 -4
- package/assets/index.umd-Du5YokXV.js +1 -0
- package/assets/{info-Bbb90kQC.js → info-DJJNUdKr.js} +1 -1
- package/assets/{info-circle-DC62YK7p.js → info-circle-D3lYH_jg.js} +1 -1
- package/assets/inherits_browser-BlmhoU4v.js +1 -0
- package/assets/is-plan-event-enabled-DS1Agtkw.js +1 -0
- package/assets/{lightbulb-D3KvOoms.js → lightbulb-lHrmWgEw.js} +1 -1
- package/assets/localBatchGatewayRequest-D3hqEo4H.js +1 -0
- package/assets/{mail-CgVPzJWi.js → mail-Dv_rw0qa.js} +1 -1
- package/assets/{mobile-DkODDOLr.js → mobile-CGf02IdD.js} +1 -1
- package/assets/{more-Vzh2YixA.js → more-DbI559Pm.js} +1 -1
- package/assets/{network-placeholder-CxREg9uT.js → network-placeholder-B53tzK5r.js} +1 -1
- package/assets/{nftPlaceholder-D6oHDmUM.js → nftPlaceholder-GEOyPEQA.js} +1 -1
- package/assets/{off-D7hAfKPw.js → off-C_yJUsh4.js} +1 -1
- package/assets/{play-store-ymeOX5eL.js → play-store-BJLp1IWs.js} +1 -1
- package/assets/{plus-BSW9Aosf.js → plus-D6nAtT6O.js} +1 -1
- package/assets/{qr-code-Cl8NBuwd.js → qr-code-lrgu_byx.js} +1 -1
- package/assets/{recycle-horizontal-DCp7d4ol.js → recycle-horizontal-CNYe9bbF.js} +1 -1
- package/assets/{refresh-CgZM0T20.js → refresh-ChVzXve8.js} +1 -1
- package/assets/{reown-logo-C4l2_-Rn.js → reown-logo-BvBUEEeQ.js} +1 -1
- package/assets/{search-BFwbgBO3.js → search-DQr5xz8G.js} +1 -1
- package/assets/{secp256k1-ceIhvGka.js → secp256k1-B5bjmlpC.js} +1 -1
- package/assets/{secp256k1-DoSvwiWn.js → secp256k1-DL-MVpVU.js} +1 -1
- package/assets/{send-Bw5bc-ux.js → send-BRFJj9vU.js} +1 -1
- package/assets/{swapHorizontal-DjoIz7Pz.js → swapHorizontal-4OcpYjBP.js} +1 -1
- package/assets/{swapHorizontalBold-7d-pvfYM.js → swapHorizontalBold-BIfY-n1S.js} +1 -1
- package/assets/{swapHorizontalMedium-BS3q74Ag.js → swapHorizontalMedium-D-xOF1-1.js} +1 -1
- package/assets/{swapHorizontalRoundedBold-7x4y8KAj.js → swapHorizontalRoundedBold-CWefS__1.js} +1 -1
- package/assets/{swapVertical-C-I-lOO2.js → swapVertical-10MLOLxY.js} +1 -1
- package/assets/{telegram-NT_2PwmR.js → telegram-CpUsTmvb.js} +1 -1
- package/assets/{three-dots-B9XoXaah.js → three-dots-BbzO9tlr.js} +1 -1
- package/assets/{twitch-DwklO_-v.js → twitch-DElwGcJp.js} +1 -1
- package/assets/{twitterIcon-D01VF8Iy.js → twitterIcon-CGBR8jTt.js} +1 -1
- package/assets/{verify-filled-BxWo9YFB.js → verify-filled-DkOi1MVN.js} +1 -1
- package/assets/{verify-D15WpctO.js → verify-nSw_mp2u.js} +1 -1
- package/assets/{w3m-modal-CGtztDSc.js → w3m-modal-o69qIUHV.js} +1 -1
- package/assets/{wallet-JyXNRnFs.js → wallet-CU5Un-2k.js} +1 -1
- package/assets/{wallet-placeholder-CSmHe_ZB.js → wallet-placeholder-IZIR9OIq.js} +1 -1
- package/assets/{walletconnect-B5GjgoQW.js → walletconnect-BqPmquZK.js} +1 -1
- package/assets/{warning-circle-BmgJOTmJ.js → warning-circle-BbDzrW_O.js} +1 -1
- package/assets/{x-D1Sk_2KN.js → x-Bc8cF9wJ.js} +1 -1
- package/index.html +3 -3
- package/package.json +3 -3
- package/assets/localBatchGatewayRequest-o8j0FHDn.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as t}from"./core-
|
|
1
|
+
import{w as t}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const p=t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
|
|
3
3
|
<path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
|
|
4
4
|
<path d="M5.25 12.4688C5.25 13.4352 6.0335 14.2187 7 14.2187C7.9665 14.2187 8.75 13.4352 8.75 12.4688C8.75 11.5023 7.9665 10.7188 7 10.7188C6.0335 10.7188 5.25 11.5023 5.25 12.4688Z" fill="#949E9E"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./core-
|
|
1
|
+
import{w as l}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const p=l`<svg fill="none" viewBox="0 0 40 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<g clip-path="url(#b)">
|
|
4
4
|
<circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./core-
|
|
1
|
+
import{w as o}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const m=o`<svg fill="none" viewBox="0 0 16 16">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./core-
|
|
1
|
+
import{w as l}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const c=l`<svg fill="none" viewBox="0 0 14 14">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./core-
|
|
1
|
+
import{w as l}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const e=l`<svg fill="none" viewBox="0 0 28 28">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as ve,q as fe,s as ge,t as be,R as l,M as g,u as se,i as v,r as P,a as f,b as a,v as K,e as ce,o as le,j as m,f as Y,k as ye,x as S,E as ie,O as E,C as q,y as oe,l as T,A as H,T as xe,z as Ce,c as ke,h as Se}from"./core-
|
|
1
|
+
import{p as ve,q as fe,s as ge,t as be,R as l,M as g,u as se,i as v,r as P,a as f,b as a,v as K,e as ce,o as le,j as m,f as Y,k as ye,x as S,E as ie,O as E,C as q,y as oe,l as T,A as H,T as xe,z as Ce,c as ke,h as Se}from"./core-o6E0YR6k.js";import{c as u,n as w,r as d,o as F,U as We}from"./index-BSNxc2aY.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const p=ve({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),Re={state:p,subscribe(r){return ge(p,()=>r(p))},subscribeKey(r,e){return be(p,r,e)},showTooltip({message:r,triggerRect:e,variant:t}){p.open=!0,p.message=r,p.triggerRect=e,p.variant=t},hide(){p.open=!1,p.message="",p.triggerRect={width:0,height:0,top:0,left:0}}},O=fe(Re),de={isUnsupportedChainView(){return l.state.view==="UnsupportedChain"||l.state.view==="SwitchNetwork"&&l.state.history.includes("UnsupportedChain")},async safeClose(){if(this.isUnsupportedChainView()){g.shake();return}if(await se.isSIWXCloseDisabled()){g.shake();return}g.close()}},$e=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
border-radius: clamp(0px, var(--wui-border-radius-l), 44px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as o}from"./core-
|
|
1
|
+
import{w as o}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const r=o`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as a}from"./core-
|
|
1
|
+
import{w as a}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const r=a`
|
|
2
2
|
<svg fill="none" viewBox="0 0 48 44">
|
|
3
3
|
<path
|
|
4
4
|
style="fill: var(--wui-color-bg-300);"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./core-
|
|
1
|
+
import{w as l}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const i=l`<svg fill="none" viewBox="0 0 96 67">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as r}from"./core-
|
|
1
|
+
import{w as r}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const t=r`<svg fill="none" viewBox="0 0 20 20">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M11 6.67a1 1 0 1 0-2 0v2.66a1 1 0 0 0 2 0V6.67ZM10 14.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as l}from"./core-
|
|
1
|
+
import{w as l}from"./core-o6E0YR6k.js";import"./index-m9AvnFPE.js";import"./index.es-ZeQVkZNG.js";import"./index-nibyPLVP.js";const t=l`<svg fill="none" viewBox="0 0 41 40">
|
|
2
2
|
<g clip-path="url(#a)">
|
|
3
3
|
<path fill="#000" d="M.8 0h40v40H.8z" />
|
|
4
4
|
<path
|
package/index.html
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8" />
|
|
6
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/blog-site/0.1.2
|
|
6
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/blog-site/0.1.2/favicon.ico" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
8
|
<link href="https://fonts.googleapis.com/css?family=Inconsolata&display=swap" rel="stylesheet" />
|
|
9
9
|
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />
|
|
10
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/blog-site/0.1.2
|
|
10
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/blog-site/0.1.2/manifest.json" />
|
|
11
11
|
<meta name="theme-color" content="#000000" />
|
|
12
12
|
|
|
13
13
|
<!-- Default SEO tags - will be overridden by react-helmet -->
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<meta name="twitter:title" content="Decentraland Blog" />
|
|
29
29
|
<meta name="twitter:description" content="Stay up to date with Decentraland announcements, updates, community highlights, and more." />
|
|
30
30
|
<meta name="twitter:image" content="https://cms-images.decentraland.org/ea2ybdmmn1kv/7tYISdowuJYIbSIDqij87H/f3524d454d8e29702792a6b674f5550d/GI_Landscape.Small.png" />
|
|
31
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/blog-site/0.1.2
|
|
31
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/blog-site/0.1.2/assets/index-m9AvnFPE.js"></script>
|
|
32
32
|
</head>
|
|
33
33
|
|
|
34
34
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/blog-site",
|
|
3
|
-
"version": "0.1.2
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
],
|
|
17
17
|
"author": "Decentraland",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
|
-
"homepage": "https://cdn.decentraland.org/@dcl/blog-site/0.1.2
|
|
20
|
-
"commit": "
|
|
19
|
+
"homepage": "https://cdn.decentraland.org/@dcl/blog-site/0.1.2",
|
|
20
|
+
"commit": "3c6547de807648a3a179cb6aa5019c9a06dff318"
|
|
21
21
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b5 as l,b6 as b,bE as h,bL as g,aN as E,bM as F,b0 as N,aL as A,bN as w,bO as P,aP as y,ah as R,bP as m,bQ as I,bR as q,bS as f,bT as L}from"./index-ch5fmFOv.js";function B(e,n){if(!l(e,{strict:!1}))throw new b({address:e});if(!l(n,{strict:!1}))throw new b({address:n});return e.toLowerCase()===n.toLowerCase()}function M(e){const{abi:n,data:s}=e,a=h(s,0,4),t=n.find(r=>r.type==="function"&&a===g(E(r)));if(!t)throw new F(a,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:t.name,args:"inputs"in t&&t.inputs&&t.inputs.length>0?N(t.inputs,h(s,4)):void 0}}const u="/docs/contract/encodeErrorResult";function p(e){const{abi:n,errorName:s,args:a}=e;let t=n[0];if(s){const c=A({abi:n,args:a,name:s});if(!c)throw new w(s,{docsPath:u});t=c}if(t.type!=="error")throw new w(void 0,{docsPath:u});const r=E(t),o=g(r);let i="0x";if(a&&a.length>0){if(!t.inputs)throw new P(t.name,{docsPath:u});i=y(t.inputs,a)}return R([o,i])}const d="/docs/contract/encodeFunctionResult";function v(e){const{abi:n,functionName:s,result:a}=e;let t=n[0];if(s){const o=A({abi:n,name:s});if(!o)throw new m(s,{docsPath:d});t=o}if(t.type!=="function")throw new m(void 0,{docsPath:d});if(!t.outputs)throw new I(t.name,{docsPath:d});const r=(()=>{if(t.outputs.length===0)return[];if(t.outputs.length===1)return[a];if(Array.isArray(a))return a;throw new q(a)})();return y(t.outputs,r)}const x="x-batch-gateway:true";async function G(e){const{data:n,ccipRequest:s}=e,{args:[a]}=M({abi:f,data:n}),t=[],r=[];return await Promise.all(a.map(async(o,i)=>{try{r[i]=o.urls.includes(x)?await G({data:o.data,ccipRequest:s}):await s(o),t[i]=!1}catch(c){t[i]=!0,r[i]=H(c)}})),v({abi:f,functionName:"query",result:[t,r]})}function H(e){return e.name==="HttpRequestError"&&e.status?p({abi:f,errorName:"HttpError",args:[e.status,e.shortMessage]}):p({abi:[L],errorName:"Error",args:["shortMessage"in e?e.shortMessage:e.message]})}export{G as a,M as d,B as i,x as l};
|