@antseed/payments 0.1.13 → 0.1.15

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 (91) hide show
  1. package/dist/web/assets/{add-CLfM-9nK.js → add-DO48uBkb.js} +1 -1
  2. package/dist/web/assets/{all-wallets-Bfe1CwFz.js → all-wallets-BkWVVAS1.js} +1 -1
  3. package/dist/web/assets/{app-store-BIM_wQZ0.js → app-store-C1GcxcuM.js} +1 -1
  4. package/dist/web/assets/{apple-5TrDyBxL.js → apple-DRlSkxCJ.js} +1 -1
  5. package/dist/web/assets/{arrow-bottom-Boc5pvAz.js → arrow-bottom-Dy6m-dGR.js} +1 -1
  6. package/dist/web/assets/{arrow-bottom-circle-ChDSb_T_.js → arrow-bottom-circle-OaPyrZJI.js} +1 -1
  7. package/dist/web/assets/{arrow-left-BYqNoVVw.js → arrow-left-B-xL79ld.js} +1 -1
  8. package/dist/web/assets/{arrow-right-Ciq7W-CS.js → arrow-right-CDDOEehx.js} +1 -1
  9. package/dist/web/assets/{arrow-top-X-L06nir.js → arrow-top-B2DPbEC0.js} +1 -1
  10. package/dist/web/assets/{bank-C2eHwNPg.js → bank-Dp2d_jcI.js} +1 -1
  11. package/dist/web/assets/{basic-BuGkRwwp.js → basic-wb3lzxpj.js} +1 -1
  12. package/dist/web/assets/{browser-DETrzrtX.js → browser-DiavMjo3.js} +1 -1
  13. package/dist/web/assets/{card-npD3MFho.js → card-CXol1E6y.js} +1 -1
  14. package/dist/web/assets/{ccip-nK3Jdi1v.js → ccip-C830ozAe.js} +1 -1
  15. package/dist/web/assets/{checkmark-bold-wT_RFRS3.js → checkmark-bold-DxsScgl-.js} +1 -1
  16. package/dist/web/assets/{checkmark-CTXFMQoT.js → checkmark-e7H-qhu3.js} +1 -1
  17. package/dist/web/assets/{chevron-bottom-Ca6fFZp6.js → chevron-bottom-CvZfXzBT.js} +1 -1
  18. package/dist/web/assets/{chevron-left-Cw3qA0Lu.js → chevron-left-DFBaQyQK.js} +1 -1
  19. package/dist/web/assets/{chevron-right-C1HDcH_l.js → chevron-right-Bf_SF_cp.js} +1 -1
  20. package/dist/web/assets/{chevron-top-B6Dg5iY7.js → chevron-top-B0n_Zh87.js} +1 -1
  21. package/dist/web/assets/{chrome-store-CFLbeAbV.js → chrome-store-BDZONbOt.js} +1 -1
  22. package/dist/web/assets/{clock-CA2d6E4T.js → clock-C_BVK706.js} +1 -1
  23. package/dist/web/assets/{close-7afvUg-S.js → close-eHk8a8tJ.js} +1 -1
  24. package/dist/web/assets/{coinPlaceholder-DoQIJJJl.js → coinPlaceholder-aL7BEX1k.js} +1 -1
  25. package/dist/web/assets/{compass-C0BsZ7jA.js → compass-RZbEaXGl.js} +1 -1
  26. package/dist/web/assets/{copy-BKxvwzHR.js → copy-CHkGGl5J.js} +1 -1
  27. package/dist/web/assets/core-_kiBKHZY.js +908 -0
  28. package/dist/web/assets/{cursor-yhnz38Fp.js → cursor-DFJbazqp.js} +1 -1
  29. package/dist/web/assets/{cursor-transparent-B2nqtfSA.js → cursor-transparent-B67EeEQg.js} +1 -1
  30. package/dist/web/assets/{desktop-PYA6SO2v.js → desktop-BU69u1US.js} +1 -1
  31. package/dist/web/assets/{disconnect-yIisXuAm.js → disconnect-BbDef4m-.js} +1 -1
  32. package/dist/web/assets/{discord-yyyUjBgQ.js → discord-oXIadhpF.js} +1 -1
  33. package/dist/web/assets/{etherscan-BR7UU0Ba.js → etherscan-CoQpNlDL.js} +1 -1
  34. package/dist/web/assets/{exclamation-triangle-xqh-Naac.js → exclamation-triangle-CjfzUL4g.js} +1 -1
  35. package/dist/web/assets/{extension-uKIn938q.js → extension-C5L64T6f.js} +1 -1
  36. package/dist/web/assets/{external-link-abqi0KVh.js → external-link-D_sy6vDx.js} +1 -1
  37. package/dist/web/assets/{facebook-BMIQEzwD.js → facebook-DjmrhmFq.js} +1 -1
  38. package/dist/web/assets/{farcaster-DEZdmsGE.js → farcaster-DmMF77Xj.js} +1 -1
  39. package/dist/web/assets/{filters-BLUkGKTk.js → filters-D2f0XPGO.js} +1 -1
  40. package/dist/web/assets/{github-B-0571SD.js → github-BDybahrF.js} +1 -1
  41. package/dist/web/assets/{google-CkboUN2y.js → google-CSB9Kfmf.js} +1 -1
  42. package/dist/web/assets/{help-circle-CJX9Cg6O.js → help-circle-DB23Ty7u.js} +1 -1
  43. package/dist/web/assets/{id-Gjg4BGvo.js → id-D5gPzS6F.js} +1 -1
  44. package/dist/web/assets/{image-CpOJRHql.js → image-NZoxDgOK.js} +1 -1
  45. package/dist/web/assets/{index-B6n0wMd6.css → index-BdUIfw6p.css} +1 -1
  46. package/dist/web/assets/{index-B2g79ztw.js → index-C21LFfGU.js} +1 -1
  47. package/dist/web/assets/{index-DzPsD22l.js → index-CkhAWBO6.js} +3 -3
  48. package/dist/web/assets/{index-Bk5Azvfj.js → index-DtljJr-y.js} +1 -1
  49. package/dist/web/assets/{index-DP8ZOnE9.js → index-Lr-e9hfO.js} +1 -1
  50. package/dist/web/assets/{index-BYdsPgBG.js → index-g2oIv4aL.js} +78 -78
  51. package/dist/web/assets/{index.es-vkNwe3nQ.js → index.es-DNztKQ9p.js} +4 -4
  52. package/dist/web/assets/{info-Cxp8zSt0.js → info-C4wx9Htm.js} +1 -1
  53. package/dist/web/assets/{info-circle-Be-EIbj0.js → info-circle-D1Cmx7mJ.js} +1 -1
  54. package/dist/web/assets/{lightbulb-w-OilEVh.js → lightbulb-CvsAEXZz.js} +1 -1
  55. package/dist/web/assets/{mail-lLCm6jiw.js → mail-C7pHszz9.js} +1 -1
  56. package/dist/web/assets/{metamask-sdk-DSfcQO77.js → metamask-sdk-gqt9hhaE.js} +1 -1
  57. package/dist/web/assets/{mobile-Bva9nmI-.js → mobile-D2ktYh20.js} +1 -1
  58. package/dist/web/assets/{more-DGRkdDb7.js → more-BDcZRHGE.js} +1 -1
  59. package/dist/web/assets/{network-placeholder-ClEk3H7n.js → network-placeholder-uAsFZ0N6.js} +1 -1
  60. package/dist/web/assets/{nftPlaceholder-DOaCcKxE.js → nftPlaceholder-CAmeFtDk.js} +1 -1
  61. package/dist/web/assets/{off-CGCcuTdP.js → off-CnsMLe4a.js} +1 -1
  62. package/dist/web/assets/{play-store-CIE4MxvA.js → play-store-BWBCekI3.js} +1 -1
  63. package/dist/web/assets/{plus-BNhRwAnd.js → plus-DcqOmNnO.js} +1 -1
  64. package/dist/web/assets/{qr-code-BC8qwZQ-.js → qr-code-kWARpZ1V.js} +1 -1
  65. package/dist/web/assets/{recycle-horizontal-DK_wa6wU.js → recycle-horizontal-CRjP5bVY.js} +1 -1
  66. package/dist/web/assets/{refresh-D8pYNYSK.js → refresh-BmgOAu1R.js} +1 -1
  67. package/dist/web/assets/{reown-logo-p6GYii4h.js → reown-logo-D_NG_fWN.js} +1 -1
  68. package/dist/web/assets/{search-Niyy6G34.js → search-Dx7e5lJ3.js} +1 -1
  69. package/dist/web/assets/{secp256k1-BnRUXOAK.js → secp256k1-DffysWcZ.js} +1 -1
  70. package/dist/web/assets/{secp256k1-R5rIPCej.js → secp256k1-qFgvCj4z.js} +1 -1
  71. package/dist/web/assets/{send-Cf2yYKcd.js → send-Dq_-74KT.js} +1 -1
  72. package/dist/web/assets/{swapHorizontal-wwW2wokL.js → swapHorizontal-Do1Xf2eE.js} +1 -1
  73. package/dist/web/assets/{swapHorizontalBold-D6071Opb.js → swapHorizontalBold-DSAw1A-e.js} +1 -1
  74. package/dist/web/assets/{swapHorizontalMedium-Drw-p9UW.js → swapHorizontalMedium-NQgPkERU.js} +1 -1
  75. package/dist/web/assets/{swapHorizontalRoundedBold-D_7iyPxH.js → swapHorizontalRoundedBold-WIVym2ML.js} +1 -1
  76. package/dist/web/assets/{swapVertical-Ct4NgVeF.js → swapVertical-iz1iMNzs.js} +1 -1
  77. package/dist/web/assets/{telegram-B35VY3bA.js → telegram-BdaGOXYA.js} +1 -1
  78. package/dist/web/assets/{three-dots-BVI1xqz0.js → three-dots-CJe04iHO.js} +1 -1
  79. package/dist/web/assets/{twitch-_dLTDBD7.js → twitch-Dn95Orvn.js} +1 -1
  80. package/dist/web/assets/{twitterIcon-M0WfDewh.js → twitterIcon-dHRfC90o.js} +1 -1
  81. package/dist/web/assets/{verify-Qi1-whCu.js → verify-BQMMiIyf.js} +1 -1
  82. package/dist/web/assets/{verify-filled-CocdiJZk.js → verify-filled-C9AnpVj0.js} +1 -1
  83. package/dist/web/assets/{w3m-modal-BxmtXb2g.js → w3m-modal-C2ckylSw.js} +1 -1
  84. package/dist/web/assets/{wallet-h_vYJYQD.js → wallet-BEeQhJEj.js} +1 -1
  85. package/dist/web/assets/{wallet-placeholder-2dDL_Epl.js → wallet-placeholder-CiPjLH93.js} +1 -1
  86. package/dist/web/assets/{walletconnect-BNkUy3N7.js → walletconnect-ByWXqkux.js} +1 -1
  87. package/dist/web/assets/{warning-circle-D5pDw9dn.js → warning-circle-B0jejq5j.js} +1 -1
  88. package/dist/web/assets/{x-CrryryCW.js → x-y1x93MqW.js} +1 -1
  89. package/dist/web/index.html +2 -2
  90. package/package.json +2 -2
  91. package/dist/web/assets/core-C08b0tMQ.js +0 -908
@@ -1,4 +1,4 @@
1
- import{w as o}from"./core-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const e=o`<svg
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const r=o`<svg fill="none" viewBox="0 0 24 24">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const e=t`
1
+ import{w as t}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const c=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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{k as N,o as G,l as q,m as O,n as c,y as M,D as z,O as ee,G as k,E as te,R as U,P as Me,u as K,Q as j,U as ft,I as Cn,W as pt,C as Zt,v as vi,T as ei,B as Xe,M as on,V as rn,w as Ne,L as yi,q as Rn}from"./core-C08b0tMQ.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-DzPsD22l.js";import{n as En}from"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const Wn=N`
1
+ import{k as N,o as G,l as q,m as O,n as c,y as M,D as z,O as ee,G as k,E as te,R as U,P as Me,u as K,Q as j,U as ft,I as Cn,W as pt,C as Zt,v as vi,T as ei,B as Xe,M as on,V as rn,w as Ne,L as yi,q as Rn}from"./core-_kiBKHZY.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-CkhAWBO6.js";import{n as En}from"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const c=l`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as l}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-BYdsPgBG.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-g2oIv4aL.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 14">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const e=t`<svg width="36" height="36" fill="none">
1
+ import{w as t}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.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-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as l}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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-C08b0tMQ.js";import"./index-BYdsPgBG.js";import"./index.es-vkNwe3nQ.js";import"./events-DQ172AOg.js";const t=C`<svg
1
+ import{w as C}from"./core-_kiBKHZY.js";import"./index-g2oIv4aL.js";import"./index.es-DNztKQ9p.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"