{"version":3,"sources":["jsdelivr-header.js","/npm/anyside@1.0.18/anyside.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IACI,IAAI,MAAQ,QAAQ,QACxB,CAAE,MAAO,GAAO,CAEhB,MAAM,QACF,WAAA,CAAY,EAAO,MACf,KAAK,YAAc,iCACnB,KAAK,OAAS,EACd,KAAK,SAAW,MAAM,OAAO,CAAC,QAAQ,KAAK,aAC/C,CAEA,iBAAM,CAAY,GACd,IAEI,aADqB,KAAK,SAAS,KAAK,eAAe,CAAC,OAAS,EAAO,QAAU,KAAK,UACvE,IACpB,CAAE,MAAO,GACL,OAAO,EAAM,SAAS,IAC1B,CACJ,CAEA,kBAAM,CAAa,GACf,IAEI,aADqB,KAAK,SAAS,KAAK,gBAAgB,CAAC,eAAiB,EAAc,QAAU,KAAK,UACvF,IACpB,CAAE,MAAO,GACL,OAAO,EAAM,SAAS,IAC1B,CACJ,EAIJ,IACI,OAAO,QAAQ,QAAU,OAC7B,CAAE,MAAO,GAAO","file":"/npm/anyside@1.0.18/anyside.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/anyside@1.0.18/anyside.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","try{\n    var axios = require('axios');\n} catch (error){};\n\nclass Anyside {\n    constructor(apiKey=null) {\n        this.apiEndpoint = \"https://api.anyside.com/public\";\n        this.apiKey = apiKey\n        this.instance = axios.create({baseURL:this.apiEndpoint})\n    }\n    \n    async queryDomain(domain) {\n        try {\n            let response = await this.instance.post(`/queryDomain`,{\"domain\":domain,\"api_key\":this.apiKey});\n            return response.data\n        } catch (error) {\n            return error.response.data\n        }\n    }\n\n    async lookupWallet(walletAddress) {\n        try {\n            let response = await this.instance.post(`/lookupWallet`,{\"wallet_address\":walletAddress,\"api_key\":this.apiKey});\n            return response.data\n        } catch (error) {\n            return error.response.data\n        }\n    }\n\n}\n\ntry{\n    module.exports.Anyside = Anyside;\n} catch (error){};\n\n\n"]}