@antseed/payments 0.1.4 → 0.1.6

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 (105) hide show
  1. package/dist/crypto-context.d.ts +1 -0
  2. package/dist/crypto-context.js.map +1 -1
  3. package/dist/index.js +7 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/routes.emissions.test.d.ts +1 -0
  6. package/dist/routes.emissions.test.js +88 -0
  7. package/dist/routes.emissions.test.js.map +1 -0
  8. package/dist/routes.js +193 -86
  9. package/dist/routes.js.map +1 -1
  10. package/dist/server.d.ts +7 -0
  11. package/dist/server.js +13 -1
  12. package/dist/server.js.map +1 -1
  13. package/dist/web/assets/{add-BIV5AyuA.js → add-C19VLth2.js} +1 -1
  14. package/dist/web/assets/{all-wallets-EBePThCL.js → all-wallets-DrbbDi_J.js} +1 -1
  15. package/dist/web/assets/{app-store-BjklFqDr.js → app-store-BquU1K8P.js} +1 -1
  16. package/dist/web/assets/{apple-D1VE8Smb.js → apple-lbwwuLeK.js} +1 -1
  17. package/dist/web/assets/{arrow-bottom-ZsiT1L1y.js → arrow-bottom-BtCJDY1B.js} +1 -1
  18. package/dist/web/assets/{arrow-bottom-circle-DKvUi0Ci.js → arrow-bottom-circle-DsqZ-XfJ.js} +1 -1
  19. package/dist/web/assets/{arrow-left-DqPtSsbQ.js → arrow-left-C7WFJwzj.js} +1 -1
  20. package/dist/web/assets/{arrow-right-C-L7Eq7n.js → arrow-right-BiQWww9h.js} +1 -1
  21. package/dist/web/assets/{arrow-top-BsmnE_gW.js → arrow-top-BKIU1iFr.js} +1 -1
  22. package/dist/web/assets/{bank-BJyS5lzc.js → bank-D6uPUMhQ.js} +1 -1
  23. package/dist/web/assets/{basic-GN_iqL6N.js → basic-DJOTYvb7.js} +1 -1
  24. package/dist/web/assets/{browser-CzG38Il3.js → browser-g6xlc4hr.js} +1 -1
  25. package/dist/web/assets/{card-BLn7fSRd.js → card-CNXxK8uM.js} +1 -1
  26. package/dist/web/assets/{ccip-DzXGS3YO.js → ccip-y_grEayF.js} +1 -1
  27. package/dist/web/assets/{checkmark-LJnZOJkW.js → checkmark-BZAcDR-j.js} +1 -1
  28. package/dist/web/assets/{checkmark-bold-DdCvfZpZ.js → checkmark-bold-D5XVtqYz.js} +1 -1
  29. package/dist/web/assets/{chevron-bottom-fPQSj-LV.js → chevron-bottom-Vkyj_Nzg.js} +1 -1
  30. package/dist/web/assets/{chevron-left-DxQSFiW8.js → chevron-left-DrmAXuU-.js} +1 -1
  31. package/dist/web/assets/{chevron-right-COD1o4NQ.js → chevron-right-5nScP158.js} +1 -1
  32. package/dist/web/assets/{chevron-top-B6E8u1u1.js → chevron-top-CTdyA8VO.js} +1 -1
  33. package/dist/web/assets/{chrome-store-BVadPKvh.js → chrome-store-oVCjsWzl.js} +1 -1
  34. package/dist/web/assets/{clock-CxMPGV40.js → clock-D4CQ4NWG.js} +1 -1
  35. package/dist/web/assets/{close-BoT-UoFd.js → close-1ZaJf7JR.js} +1 -1
  36. package/dist/web/assets/{coinPlaceholder-DTR4YLbx.js → coinPlaceholder-BWhwD718.js} +1 -1
  37. package/dist/web/assets/{compass-u6DewpdB.js → compass-DorGy6ut.js} +1 -1
  38. package/dist/web/assets/{copy-guqFsruM.js → copy-CD4GflKl.js} +1 -1
  39. package/dist/web/assets/core-BokkgsR-.js +908 -0
  40. package/dist/web/assets/{cursor-Cyzj71eZ.js → cursor-BmZ5Lzl7.js} +1 -1
  41. package/dist/web/assets/{cursor-transparent-b6KJIq15.js → cursor-transparent-DS0n62Va.js} +1 -1
  42. package/dist/web/assets/{desktop-OTJfzaeI.js → desktop-B63L9Ya5.js} +1 -1
  43. package/dist/web/assets/{disconnect-DJjKJNIm.js → disconnect-CXTe519G.js} +1 -1
  44. package/dist/web/assets/{discord-BfWJZWec.js → discord-DQi0_Z_3.js} +1 -1
  45. package/dist/web/assets/{etherscan-BRcaU-hR.js → etherscan-CeKoVfwO.js} +1 -1
  46. package/dist/web/assets/{exclamation-triangle-TqYv9OE3.js → exclamation-triangle-NIMD3-Ss.js} +1 -1
  47. package/dist/web/assets/{extension-Bcq1-Vc9.js → extension-CIubNQyb.js} +1 -1
  48. package/dist/web/assets/{external-link-Dl8906oz.js → external-link-RE45g6An.js} +1 -1
  49. package/dist/web/assets/{facebook-BEGagL0C.js → facebook-CRPhgK6P.js} +1 -1
  50. package/dist/web/assets/{farcaster-COGce0XN.js → farcaster-CymY7pC9.js} +1 -1
  51. package/dist/web/assets/{filters-DHDAVWM_.js → filters-DZK-7Yar.js} +1 -1
  52. package/dist/web/assets/{github-CHkFHIOw.js → github-JbFdJVxH.js} +1 -1
  53. package/dist/web/assets/{google-BVPM91iU.js → google-G-gEXxk4.js} +1 -1
  54. package/dist/web/assets/{help-circle-JqiWjFOK.js → help-circle-BtqIHitk.js} +1 -1
  55. package/dist/web/assets/{id-CsrkQOLZ.js → id-DZ25afr8.js} +1 -1
  56. package/dist/web/assets/{image-DVcW7iXO.js → image-CO-AjOrW.js} +1 -1
  57. package/dist/web/assets/{index-BF417SGJ.js → index-C9_0Fr2c.js} +1 -1
  58. package/dist/web/assets/index-Cag74snT.css +1 -0
  59. package/dist/web/assets/{index-DuvDGHB2.js → index-Cs0IyllF.js} +1 -1
  60. package/dist/web/assets/{index-9qmOgJOU.js → index-DMKXqTcx.js} +1 -1
  61. package/dist/web/assets/{index-DzJb2L5K.js → index-M-jBTbqp.js} +3 -3
  62. package/dist/web/assets/index-jSclbA_D.js +1775 -0
  63. package/dist/web/assets/{index.es-CpQtULc3.js → index.es-J3dlIVGI.js} +4 -4
  64. package/dist/web/assets/{info-BInhAzlq.js → info-B9XV3NxB.js} +1 -1
  65. package/dist/web/assets/{info-circle-BQVRr1po.js → info-circle-BRnOfVgu.js} +1 -1
  66. package/dist/web/assets/{lightbulb-BxxYBMhT.js → lightbulb-BCOe1dKj.js} +1 -1
  67. package/dist/web/assets/{mail-D_0lmFKl.js → mail-CtrLC_Vu.js} +1 -1
  68. package/dist/web/assets/{metamask-sdk-DWKTYpSR.js → metamask-sdk-P_iF3xrF.js} +1 -1
  69. package/dist/web/assets/{mobile-DWLQto9I.js → mobile-CMMuzkgd.js} +1 -1
  70. package/dist/web/assets/{more-KNa1lBim.js → more-Dl6Gj3Kz.js} +1 -1
  71. package/dist/web/assets/{network-placeholder-BootwA5c.js → network-placeholder-BEcer765.js} +1 -1
  72. package/dist/web/assets/{nftPlaceholder-DDZ5L7H6.js → nftPlaceholder-Bl3yNlnk.js} +1 -1
  73. package/dist/web/assets/{off-D0UPLkkK.js → off-B5xKeyIX.js} +1 -1
  74. package/dist/web/assets/{play-store-B_CaXXPp.js → play-store-C8zG_nea.js} +1 -1
  75. package/dist/web/assets/{plus-BcvR0JCg.js → plus-BCz51CiU.js} +1 -1
  76. package/dist/web/assets/{qr-code-Txj5hQxm.js → qr-code-BZMdhzub.js} +1 -1
  77. package/dist/web/assets/{recycle-horizontal-_rXVIasi.js → recycle-horizontal-BkrADZhQ.js} +1 -1
  78. package/dist/web/assets/{refresh-CHoOsJ33.js → refresh-P6kLP2QF.js} +1 -1
  79. package/dist/web/assets/{reown-logo-BHSUfB2F.js → reown-logo-CVlaKhY0.js} +1 -1
  80. package/dist/web/assets/{search-BSbqjN1T.js → search-RJpDNXww.js} +1 -1
  81. package/dist/web/assets/{secp256k1-KHQhI22D.js → secp256k1-BFrL8mDQ.js} +1 -1
  82. package/dist/web/assets/{secp256k1-bI3F5j6R.js → secp256k1-DNxbZl4R.js} +1 -1
  83. package/dist/web/assets/{send-CD2UnMQE.js → send-h1n6ztZH.js} +1 -1
  84. package/dist/web/assets/{swapHorizontal-D8K8GaAT.js → swapHorizontal-BRaMETTe.js} +1 -1
  85. package/dist/web/assets/{swapHorizontalBold-CQkuydSS.js → swapHorizontalBold-D2ANyhtg.js} +1 -1
  86. package/dist/web/assets/{swapHorizontalMedium-Di6AKYYk.js → swapHorizontalMedium-Btk43bqe.js} +1 -1
  87. package/dist/web/assets/{swapHorizontalRoundedBold-Cs0NEdw6.js → swapHorizontalRoundedBold-DujAsvF_.js} +1 -1
  88. package/dist/web/assets/{swapVertical-BnACgsHa.js → swapVertical-BbrR6UFZ.js} +1 -1
  89. package/dist/web/assets/{telegram-CItM_Dok.js → telegram-Dt-ATR99.js} +1 -1
  90. package/dist/web/assets/{three-dots-CWyCBR2N.js → three-dots-C0oOxUXr.js} +1 -1
  91. package/dist/web/assets/{twitch-DlpdSRKl.js → twitch-CfwqzP5e.js} +1 -1
  92. package/dist/web/assets/{twitterIcon-BIJMMIxn.js → twitterIcon-DfSzbix_.js} +1 -1
  93. package/dist/web/assets/{verify-VRzbSjrR.js → verify-DeF51qLB.js} +1 -1
  94. package/dist/web/assets/{verify-filled-CQITc0RR.js → verify-filled-C6cRHh2w.js} +1 -1
  95. package/dist/web/assets/{w3m-modal-BUECoo-v.js → w3m-modal-De_5dbtz.js} +1 -1
  96. package/dist/web/assets/{wallet-DzucEhgC.js → wallet-CtR1NqGs.js} +1 -1
  97. package/dist/web/assets/{wallet-placeholder-DDE-TuyH.js → wallet-placeholder-BeEq9gzA.js} +1 -1
  98. package/dist/web/assets/{walletconnect-Bz-1NlJ1.js → walletconnect-DKzdh_bY.js} +1 -1
  99. package/dist/web/assets/{warning-circle-BkUEJMvU.js → warning-circle-DmbwH0Pu.js} +1 -1
  100. package/dist/web/assets/{x-iLiJ5bOe.js → x-DrcaUCzm.js} +1 -1
  101. package/dist/web/index.html +2 -2
  102. package/package.json +5 -2
  103. package/dist/web/assets/core-Do4oAjfk.js +0 -908
  104. package/dist/web/assets/index-5w7d6cAM.js +0 -1730
  105. package/dist/web/assets/index-Du9ryAVy.css +0 -1
@@ -1,4 +1,4 @@
1
- import{w as i}from"./core-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const c=i`<svg fill="none" viewBox="0 0 40 40">
1
+ import{w as i}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 14 15">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.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-DzJb2L5K.js";import{n as En}from"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.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-BokkgsR-.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-M-jBTbqp.js";import{n as En}from"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const c=l`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as l}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const i=C`<svg
1
+ import{w as C}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-5w7d6cAM.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-jSclbA_D.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const l=o`<svg
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 14 14">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const i=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const p=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const e=t`<svg width="36" height="36" fill="none">
1
+ import{w as t}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.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-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=l`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as l}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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-Do4oAjfk.js";import"./index-5w7d6cAM.js";import"./index.es-CpQtULc3.js";import"./events-DQ172AOg.js";const t=C`<svg
1
+ import{w as C}from"./core-BokkgsR-.js";import"./index-jSclbA_D.js";import"./index.es-J3dlIVGI.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"