morphit/node_modules/w3name/dist/service.mjs

2 lines
330 B
JavaScript

import{throttledQueue as t}from"throttled-queue";class e{endpoint;waitForRateLimit;constructor(e=new URL("https://name.web3.storage/"),a=function(){const e=t({maxPerInterval:30,interval:1e4});return async()=>await e((()=>{}))}()){this.endpoint=e,this.waitForRateLimit=a}}export{e as default};
//# sourceMappingURL=service.mjs.map