@antseed/payments 0.1.43 → 0.1.44

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.
Files changed (89) hide show
  1. package/dist/web/assets/{add-DeqPaHlT.js → add-DRsnzcW2.js} +1 -1
  2. package/dist/web/assets/{all-wallets-BW8hOjoV.js → all-wallets-BCKcdu-Q.js} +1 -1
  3. package/dist/web/assets/{app-store-Cf8UW5sB.js → app-store-bYva7ZXv.js} +1 -1
  4. package/dist/web/assets/{apple-DupwNPad.js → apple-CBKuZwFU.js} +1 -1
  5. package/dist/web/assets/{arrow-bottom-Ovs8TVHh.js → arrow-bottom-L7J1yZJr.js} +1 -1
  6. package/dist/web/assets/{arrow-bottom-circle-B6MMRWsl.js → arrow-bottom-circle-DeDdjdM6.js} +1 -1
  7. package/dist/web/assets/{arrow-left-D1G7DnRa.js → arrow-left-Cr8wytto.js} +1 -1
  8. package/dist/web/assets/{arrow-right-U_HRMVvB.js → arrow-right-9qtlsw3p.js} +1 -1
  9. package/dist/web/assets/{arrow-top-DvQ3Ht7G.js → arrow-top-CMDOUXYz.js} +1 -1
  10. package/dist/web/assets/{bank-B1LXzEuV.js → bank-CAZNo6i4.js} +1 -1
  11. package/dist/web/assets/{basic-Pz0-lHcI.js → basic-D-wdc13N.js} +1 -1
  12. package/dist/web/assets/{browser-COLYvZKb.js → browser-5H5BvdNE.js} +1 -1
  13. package/dist/web/assets/{card-DTeUxKNS.js → card-hSs8Zgcu.js} +1 -1
  14. package/dist/web/assets/{ccip-BPhSwP5T.js → ccip-C2f7BI7-.js} +1 -1
  15. package/dist/web/assets/{checkmark-BCawWdRa.js → checkmark-0WVreo9x.js} +1 -1
  16. package/dist/web/assets/{checkmark-bold-7KAW-Hhd.js → checkmark-bold-BehTMNQM.js} +1 -1
  17. package/dist/web/assets/{chevron-bottom-DJTn3wQP.js → chevron-bottom-J4tIh424.js} +1 -1
  18. package/dist/web/assets/{chevron-left-cNneey1w.js → chevron-left-BHIayGga.js} +1 -1
  19. package/dist/web/assets/{chevron-right-E7p_sYMZ.js → chevron-right-InLIrQyD.js} +1 -1
  20. package/dist/web/assets/{chevron-top-BjFvP_Oa.js → chevron-top-TMEyWvxS.js} +1 -1
  21. package/dist/web/assets/{chrome-store-Hr7ooy6S.js → chrome-store-DzLOdCLO.js} +1 -1
  22. package/dist/web/assets/{clock-Bbk2CxM4.js → clock-DMTQYocB.js} +1 -1
  23. package/dist/web/assets/{close-BOLPNamb.js → close-nQkzl7bE.js} +1 -1
  24. package/dist/web/assets/{coinPlaceholder-CD1o7LoA.js → coinPlaceholder-DqkyBLXl.js} +1 -1
  25. package/dist/web/assets/{compass-CalZEVfy.js → compass-BSnISOGx.js} +1 -1
  26. package/dist/web/assets/{copy-MiGxmGE-.js → copy-Carav3MK.js} +1 -1
  27. package/dist/web/assets/core-CA_rJ3Fj.js +908 -0
  28. package/dist/web/assets/{cursor-Boi8BXS8.js → cursor-BvomMBum.js} +1 -1
  29. package/dist/web/assets/{cursor-transparent-B0eU1zkK.js → cursor-transparent-CDp5b0C-.js} +1 -1
  30. package/dist/web/assets/{desktop-D7vCwE2G.js → desktop-B6DDHEo8.js} +1 -1
  31. package/dist/web/assets/{disconnect-Djf1UKCF.js → disconnect-B8hhY_Px.js} +1 -1
  32. package/dist/web/assets/{discord-_3NhMqWp.js → discord-B1rylOvd.js} +1 -1
  33. package/dist/web/assets/{etherscan-Cr-tOHg0.js → etherscan-hxBtlHqL.js} +1 -1
  34. package/dist/web/assets/{exclamation-triangle-U8MhVBIv.js → exclamation-triangle-B0EF2B95.js} +1 -1
  35. package/dist/web/assets/{extension-TuKfjrSZ.js → extension-B13qIq_p.js} +1 -1
  36. package/dist/web/assets/{external-link-CJNOA6Uz.js → external-link-pxtqpKRR.js} +1 -1
  37. package/dist/web/assets/{facebook-DfEbJQRA.js → facebook-DLIOIT_Z.js} +1 -1
  38. package/dist/web/assets/{farcaster-BoW2peK7.js → farcaster-86GgGPLM.js} +1 -1
  39. package/dist/web/assets/{filters-D8rNKEaD.js → filters-B8kdRXmO.js} +1 -1
  40. package/dist/web/assets/{github-CpP2AyVx.js → github-Cjtw5Bti.js} +1 -1
  41. package/dist/web/assets/{google-CfzqprgI.js → google-Potgrqk8.js} +1 -1
  42. package/dist/web/assets/{help-circle-DGtXMihI.js → help-circle-ZCWW9nfe.js} +1 -1
  43. package/dist/web/assets/{id-DaXrJ4sz.js → id-DG3TwFp5.js} +1 -1
  44. package/dist/web/assets/{image-CV4FLR6O.js → image-DV1UiV5y.js} +1 -1
  45. package/dist/web/assets/{index-BiFc_StH.js → index-BC085k8O.js} +3 -3
  46. package/dist/web/assets/{index-lLN6rM85.js → index-C7JHwiCV.js} +3 -3
  47. package/dist/web/assets/{index-CLk5YWTF.js → index-DDYM0qYM.js} +1 -1
  48. package/dist/web/assets/{index-Cl1YA1io.js → index-DSL1h8NL.js} +1 -1
  49. package/dist/web/assets/{index-Dm7CHRPu.js → index-sO8BeH6g.js} +1 -1
  50. package/dist/web/assets/{index.es-BQAuGrNS.js → index.es-DGCHaMep.js} +4 -4
  51. package/dist/web/assets/{info-Bc_FTJrY.js → info-DHLFIbqd.js} +1 -1
  52. package/dist/web/assets/{info-circle-D7qv7bDA.js → info-circle-BrsmasiJ.js} +1 -1
  53. package/dist/web/assets/{lightbulb-DB-i_l-v.js → lightbulb-BTdjMazR.js} +1 -1
  54. package/dist/web/assets/{mail-DGf5T4WA.js → mail-BJKblF1S.js} +1 -1
  55. package/dist/web/assets/{metamask-sdk-q0htPLh7.js → metamask-sdk-Bu0B6eoh.js} +1 -1
  56. package/dist/web/assets/{mobile-CZX0wU5G.js → mobile-BxV_3PAE.js} +1 -1
  57. package/dist/web/assets/{more-D1VHrlzV.js → more-1dmkdts0.js} +1 -1
  58. package/dist/web/assets/{network-placeholder-CfbcX6Le.js → network-placeholder-DgIYh9pt.js} +1 -1
  59. package/dist/web/assets/{nftPlaceholder-D0fPEogi.js → nftPlaceholder-ozm8qGdw.js} +1 -1
  60. package/dist/web/assets/{off-BHW23iaI.js → off-B_XjqEqw.js} +1 -1
  61. package/dist/web/assets/{play-store-DHETjUNs.js → play-store-CzSDxDMZ.js} +1 -1
  62. package/dist/web/assets/{plus-DlrQ4yxI.js → plus-LgSmCVB7.js} +1 -1
  63. package/dist/web/assets/{qr-code-DMyooG0k.js → qr-code-C7i3R6vV.js} +1 -1
  64. package/dist/web/assets/{recycle-horizontal-CTU0L1BQ.js → recycle-horizontal-B3B2uLXH.js} +1 -1
  65. package/dist/web/assets/{refresh-8vDPwfkZ.js → refresh-DbtgujXQ.js} +1 -1
  66. package/dist/web/assets/{reown-logo-BmxuulvZ.js → reown-logo-Xd1agy-t.js} +1 -1
  67. package/dist/web/assets/{search-CcecU-rw.js → search-BwJVGuEB.js} +1 -1
  68. package/dist/web/assets/{secp256k1-CRff5k1J.js → secp256k1-LMIffB6_.js} +1 -1
  69. package/dist/web/assets/{send-BRAk9RO9.js → send-CrXRcaNx.js} +1 -1
  70. package/dist/web/assets/{swapHorizontal-ChxZdwvx.js → swapHorizontal-PvdzLIlO.js} +1 -1
  71. package/dist/web/assets/{swapHorizontalBold-CQ0r5Qqx.js → swapHorizontalBold-s1bovWvI.js} +1 -1
  72. package/dist/web/assets/{swapHorizontalMedium-B7QjF5YD.js → swapHorizontalMedium-CoGxgfc6.js} +1 -1
  73. package/dist/web/assets/{swapHorizontalRoundedBold-BL0lyDxV.js → swapHorizontalRoundedBold-Civ0Bast.js} +1 -1
  74. package/dist/web/assets/{swapVertical-Bvq0cYSG.js → swapVertical-DmHmLA44.js} +1 -1
  75. package/dist/web/assets/{telegram-DDq2XzDz.js → telegram-zOtuKRG1.js} +1 -1
  76. package/dist/web/assets/{three-dots-50_Mf5SB.js → three-dots-CjS6NLiQ.js} +1 -1
  77. package/dist/web/assets/{twitch-B4BbEem_.js → twitch-zcL69UvK.js} +1 -1
  78. package/dist/web/assets/{twitterIcon-BRDrQZD5.js → twitterIcon-3cwW94Iu.js} +1 -1
  79. package/dist/web/assets/{verify-CBKvQyc4.js → verify-ChDQ0Yl9.js} +1 -1
  80. package/dist/web/assets/{verify-filled-BZrvtMOc.js → verify-filled-6VFvmTJ_.js} +1 -1
  81. package/dist/web/assets/{w3m-modal-CjIFCkxD.js → w3m-modal-D9Tnme5W.js} +1 -1
  82. package/dist/web/assets/{wallet-CaO-FyJW.js → wallet-C-YlDRb2.js} +1 -1
  83. package/dist/web/assets/{wallet-placeholder-DYZDkOSX.js → wallet-placeholder-WbAEdJ9D.js} +1 -1
  84. package/dist/web/assets/{walletconnect-DP8wF-GJ.js → walletconnect-Dlve2fW4.js} +1 -1
  85. package/dist/web/assets/{warning-circle-C-9GvoCR.js → warning-circle-T79RE0kQ.js} +1 -1
  86. package/dist/web/assets/{x-Ut1DjSUM.js → x-D4JbqMMz.js} +1 -1
  87. package/dist/web/index.html +1 -1
  88. package/package.json +2 -2
  89. package/dist/web/assets/core-B_7kgyir.js +0 -908
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const e=o`<svg
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const e=o`<svg
2
2
  width="14"
3
3
  height="14"
4
4
  viewBox="0 0 14 14"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const r=o`<svg fill="none" viewBox="0 0 24 24">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const r=o`<svg fill="none" viewBox="0 0 24 24">
2
2
  <path
3
3
  style="fill: var(--wui-color-accent-100);"
4
4
  d="M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z"
@@ -1,4 +1,4 @@
1
- import{w as t}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const e=t`
1
+ import{w as t}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const e=t`
2
2
  <svg width="36" height="36">
3
3
  <path
4
4
  d="M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z"
@@ -1,4 +1,4 @@
1
- import{w as i}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const c=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const c=i`<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="#000" />
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const i=C`<svg
2
2
  fill="none"
3
3
  viewBox="0 0 21 20"
4
4
  >
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const l=o`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="12"
4
4
  height="13"
@@ -1,4 +1,4 @@
1
- import{i as N,e as G,r as q,c as O,d as c,k as M,n as z,O as ee,q as k,E as te,R as U,z as Me,g as K,B as j,D as ft,t as Cn,W as pt,C as Zt,h as vi,T as ei,m as Xe,M as on,F as rn,w as Ne,x as yi,f as Rn}from"./core-B_7kgyir.js";import{n as u,c as B,o as E,r as _,U as he,e as $n,f as _n,a as In}from"./index-lLN6rM85.js";import{n as En}from"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const Wn=N`
1
+ import{i as N,e as G,r as q,c as O,d as c,k as M,n as z,O as ee,q as k,E as te,R as U,z as Me,g as K,B as j,D as ft,t as Cn,W as pt,C as Zt,h as vi,T as ei,m as Xe,M as on,F as rn,w as Ne,x as yi,f as Rn}from"./core-CA_rJ3Fj.js";import{n as u,c as B,o as E,r as _,U as he,e as $n,f as _n,a as In}from"./index-C7JHwiCV.js";import{n as En}from"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const Wn=N`
2
2
  :host {
3
3
  position: relative;
4
4
  background-color: var(--wui-color-gray-glass-002);
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const c=l`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as l}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const c=l`<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 C}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const i=C`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="12"
4
4
  height="13"
@@ -1 +1 @@
1
- import{B as p,g as m,s as w,d as k,i as b,l as L,a as O,c as E,b as x,e as R,H as y,f as M}from"./index-BiFc_StH.js";class S extends p{constructor({callbackSelector:r,cause:a,data:n,extraData:i,sender:f,urls:t}){var o;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(o=a.metaMessages)!=null&&o.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(d=>` ${m(d)}`)],` Sender: ${f}`,` Data: ${n}`,` Callback selector: ${r}`,` Extra data: ${i}`].flat(),name:"OffchainLookupError"})}}class $ extends p{constructor({result:r,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${m(a)}`,`Response: ${w(r)}`],name:"OffchainLookupResponseMalformedError"})}}class q extends p{constructor({sender:r,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const A="0x556f1830",T={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function D(c,{blockNumber:r,blockTag:a,data:n,to:i}){const{args:f}=k({data:n,abi:[T]}),[t,o,d,l,s]=f,{ccipRead:e}=c,h=e&&typeof(e==null?void 0:e.request)=="function"?e.request:C;try{if(!b(i,t))throw new q({sender:t,to:i});const u=o.includes(L)?await O({data:d,ccipRequest:h}):await h({data:d,sender:t,urls:o}),{data:g}=await E(c,{blockNumber:r,blockTag:a,data:x([l,R([{type:"bytes"},{type:"bytes"}],[u,s])]),to:i});return g}catch(u){throw new S({callbackSelector:l,cause:u,data:n,extraData:s,sender:t,urls:o})}}async function C({data:c,sender:r,urls:a}){var i;let n=new Error("An unknown error occurred.");for(let f=0;f<a.length;f++){const t=a[f],o=t.includes("{data}")?"GET":"POST",d=o==="POST"?{data:c,sender:r}:void 0,l=o==="POST"?{"Content-Type":"application/json"}:{};try{const s=await fetch(t.replace("{sender}",r.toLowerCase()).replace("{data}",c),{body:JSON.stringify(d),headers:l,method:o});let e;if((i=s.headers.get("Content-Type"))!=null&&i.startsWith("application/json")?e=(await s.json()).data:e=await s.text(),!s.ok){n=new y({body:d,details:e!=null&&e.error?w(e.error):s.statusText,headers:s.headers,status:s.status,url:t});continue}if(!M(e)){n=new $({result:e,url:t});continue}return e}catch(s){n=new y({body:d,details:s.message,url:t})}}throw n}export{C as ccipRequest,D as offchainLookup,T as offchainLookupAbiItem,A as offchainLookupSignature};
1
+ import{B as p,g as m,s as w,d as k,i as b,l as L,a as O,c as E,b as x,e as R,H as y,f as M}from"./index-BC085k8O.js";class S extends p{constructor({callbackSelector:r,cause:a,data:n,extraData:i,sender:f,urls:t}){var o;super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],(o=a.metaMessages)!=null&&o.length?"":[],"Offchain Gateway Call:",t&&[" Gateway URL(s):",...t.map(d=>` ${m(d)}`)],` Sender: ${f}`,` Data: ${n}`,` Callback selector: ${r}`,` Extra data: ${i}`].flat(),name:"OffchainLookupError"})}}class $ extends p{constructor({result:r,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${m(a)}`,`Response: ${w(r)}`],name:"OffchainLookupResponseMalformedError"})}}class q extends p{constructor({sender:r,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const A="0x556f1830",T={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function D(c,{blockNumber:r,blockTag:a,data:n,to:i}){const{args:f}=k({data:n,abi:[T]}),[t,o,d,l,s]=f,{ccipRead:e}=c,h=e&&typeof(e==null?void 0:e.request)=="function"?e.request:C;try{if(!b(i,t))throw new q({sender:t,to:i});const u=o.includes(L)?await O({data:d,ccipRequest:h}):await h({data:d,sender:t,urls:o}),{data:g}=await E(c,{blockNumber:r,blockTag:a,data:x([l,R([{type:"bytes"},{type:"bytes"}],[u,s])]),to:i});return g}catch(u){throw new S({callbackSelector:l,cause:u,data:n,extraData:s,sender:t,urls:o})}}async function C({data:c,sender:r,urls:a}){var i;let n=new Error("An unknown error occurred.");for(let f=0;f<a.length;f++){const t=a[f],o=t.includes("{data}")?"GET":"POST",d=o==="POST"?{data:c,sender:r}:void 0,l=o==="POST"?{"Content-Type":"application/json"}:{};try{const s=await fetch(t.replace("{sender}",r.toLowerCase()).replace("{data}",c),{body:JSON.stringify(d),headers:l,method:o});let e;if((i=s.headers.get("Content-Type"))!=null&&i.startsWith("application/json")?e=(await s.json()).data:e=await s.text(),!s.ok){n=new y({body:d,details:e!=null&&e.error?w(e.error):s.statusText,headers:s.headers,status:s.status,url:t});continue}if(!M(e)){n=new $({result:e,url:t});continue}return e}catch(s){n=new y({body:d,details:s.message,url:t})}}throw n}export{C as ccipRequest,D as offchainLookup,T as offchainLookupAbiItem,A as offchainLookupSignature};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const l=o`<svg
2
2
  width="28"
3
3
  height="28"
4
4
  viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 14">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=o`<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 o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as t}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const e=t`<svg width="36" height="36" fill="none">
1
+ import{w as t}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const e=t`<svg width="36" height="36" fill="none">
2
2
  <path
3
3
  fill="#fff"
4
4
  fill-opacity=".05"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const r=o`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const r=o`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
2
2
  <path
3
3
  fill-rule="evenodd"
4
4
  clip-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as l}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as l}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=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 o}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./core-B_7kgyir.js";import"./index-BiFc_StH.js";import"./index.es-BQAuGrNS.js";import"./events-DQ172AOg.js";const t=C`<svg
1
+ import{w as C}from"./core-CA_rJ3Fj.js";import"./index-BC085k8O.js";import"./index.es-DGCHaMep.js";import"./events-DQ172AOg.js";const t=C`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="16"
4
4
  height="16"