{"_id":"@anujyadav070/frontier-sdk","_rev":"11-40c19e832827cf3b435b77cd84caa96c","name":"@anujyadav070/frontier-sdk","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.0":{"name":"@anujyadav070/frontier-sdk","version":"1.0.0","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.0","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"2774057807113e43e155bb3cf8595eba2490d0e0","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.0.tgz","fileCount":26,"integrity":"sha512-iJpJgMxB650bFRmujrypxaBM9hIVd2ce+wrVAhc1QVmt26wgeXe/riYHAUQXo0HesIKSREU2QCXc//yU71xF0w==","signatures":[{"sig":"MEYCIQCefQlZPeCVvtW1owr77jr42DWKAM1xyep+0EfDgAbbBQIhAMjy3r/UvU5+oEWjuOydUJ1f34xp7QEDN98g66wq/sDB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28648},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ca11c88679cfdc978282f908838f5631e95dd38c","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.0_1771766520897_0.00564902491020014","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anujyadav070/frontier-sdk","version":"1.0.1","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.1","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"740a08f20e9685f47670c4757dcf3a45a771bb2e","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.1.tgz","fileCount":26,"integrity":"sha512-GVyqixU8bc+rJS2/rqy5uDeNSAsEYavO7820h7d5d3y9SP3bdZV0Sw0kLpYJQJDV0ve+Ae/ysRLXqt15cOgAyg==","signatures":[{"sig":"MEQCICXJlPZ36XZhBWFTHZBs4nF4DRput9xFZ6vfW3ZUYWwmAiAB6o8O1SPSrJ9JzZAe29p+qfDLeOftbtRT+zW8XGJyhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29623},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"404a6df63e56ff013f10009a573a69606ae1ea33","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.1_1771869833247_0.9521168302582819","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@anujyadav070/frontier-sdk","version":"1.0.2","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.2","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"867bfee06179f7a9b5a0e828be03cec523540b66","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.2.tgz","fileCount":26,"integrity":"sha512-nbTEK+6k4oLZluR/huicEvK8m3tWJ37RHL96MiEl0RSJBR51o/gX3iIhbCQuLmhIaVo8UDIVGvwofhgrHUsF6w==","signatures":[{"sig":"MEQCIFXUsrMoY7T0Rt+6W0AoPK62ZC/fkwl7PhF3MaJhwUzYAiB/1teOL182xfAKYb8mMs4pa7DUcG4Ezpom11xonsN/0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29158},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d032862b590f58285f5ade97430d79f68609a01b","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.2_1772033061259_0.09782925227544381","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anujyadav070/frontier-sdk","version":"1.0.3","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.3","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"d1f108973511e29e314e3012c87e57c77ed68cb9","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.3.tgz","fileCount":26,"integrity":"sha512-RCW9FWDRyytG8EEpVsydTBcasP1ElQ1+DI6uCsnnm0urdcvjCso4B07Y/m7MHnziWFXF/HZ6evFf8Fc19Rbnpg==","signatures":[{"sig":"MEQCIG4xTtd7syU4OaBwpCjb1I/Ustk993P6mzyPyD8aaRdMAiAO5+AqaqSRVLqYYbyA6RDuN6Im1QDD4zxLFKS/G8oBbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29158},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d032862b590f58285f5ade97430d79f68609a01b","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.3_1772040450674_0.5774493020606395","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@anujyadav070/frontier-sdk","version":"1.0.4","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.4","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"b8e8612b7e3cb9e875305ba774a62fef0a96f82c","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.4.tgz","fileCount":26,"integrity":"sha512-fU2ZCFOmZnsyTl6TkLdkI8PfpGXpmMVjIKoEcynMpJbvVmdjSlX545dniktcau6DaAqwEZgJfLqq8f9x2fiuYg==","signatures":[{"sig":"MEUCIApKN+GFaN3o6qg84xrng3WfyrDQwckOzPlj6AsSWsBPAiEA9R7TFhlqC70NaWoUQPWK7nsLFi3Y1auCNtA9+uhog/A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29176},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1546f11f6667765370475862ed0e8082b706f181","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.4_1772041279591_0.25446405704833097","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@anujyadav070/frontier-sdk","version":"1.0.5","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.5","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"8a849a48af9d062c11daddadb9edbf5d9aa17001","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.5.tgz","fileCount":26,"integrity":"sha512-N73WswAnfo/m9LKB1S8AK0W3f9DUrVzLXEnQwXFIeRo20wfiqUvJvaM+jUJD3697yaakub2SN821i9n8jho9Aw==","signatures":[{"sig":"MEYCIQCSf4V7oc4NLiI8bQfXrmkKkhdmams1hwX6O86xoRnTmgIhAOzXcvOtVhxSJaIaMEY6rbV28bWv9kWNVc+EYwmufC3E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29100},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"82b49ae1d6794ff844571f916ace9484b08811e7","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.5_1772044161590_0.553311625896828","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@anujyadav070/frontier-sdk","version":"1.0.6","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.6","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"0dbf541c4a6e6a4df3b44b86aed67d2e30da041b","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.6.tgz","fileCount":26,"integrity":"sha512-ux5hM3iPNsXFVEUaUFvANH81Pf87LVQjas3+5Eq6FSzGnrVw1c6QEJUFgSlfW95FwGU3zIQ+wecTXqE5wHU7dw==","signatures":[{"sig":"MEYCIQC6wtky30pvZWWg31t2xCT4suDohn63CyrIwzJdq7XoZgIhAPzstvT0MMSrl3+dQCM7lOlIhn8Xx6bm0oHSy9GzWJ+W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29891},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"35cf90187ba9e66e052abef97f680d119fb44d14","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.6_1772045349428_0.9855511691183105","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@anujyadav070/frontier-sdk","version":"1.0.7","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.7","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"3c696736bdbcfc518e2fbb6ab0d7b64ec7736ba4","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.7.tgz","fileCount":26,"integrity":"sha512-4wR/Na9K/QcdBQ6YfEvEKXUdXJj8xv4z13nP/JJQ+gZK/JWuiqLJrGt1Vk+d9iIylY+Ih7Q6MGvDhXaB5EpLug==","signatures":[{"sig":"MEUCIBIGVxz18I5/+EWVGvCtzGEGU161rmVJM5SUe7Q50PwgAiEA7jFlzztcTU7E9lVIMHoDHTFZoPg+FXJAijTxeeqvt0g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29717},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"96ecae849bb955ef64da975c463b0c8a79cd4bd7","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.7_1772047188827_0.7551437295936534","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@anujyadav070/frontier-sdk","version":"1.0.8","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.8","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"bce3dc11f590a988e298db55ff3fb42e8e495488","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.8.tgz","fileCount":26,"integrity":"sha512-uH/jJLFJW9ywVQvcFzBQx8mSJCX5/3hNwYTUvl5+Y2paN/PSWQnlXACPr311jHBBmYgSmA1ts2R/QCAHpKEKsw==","signatures":[{"sig":"MEUCIQCtEhV+2yPB1hMl4ApDemXyIcizzm3WEDdt+t8BOOWEgQIgcPP4rn6piKMjlU8WMTmUmrFknYhwNgnBkkrXl5O7q1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30682},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"7833c811e9eebdf2df7cd4224dd6bb1783e5edd9","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.8_1772115654963_0.11377514494503371","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@anujyadav070/frontier-sdk","version":"1.0.10","keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","_id":"@anujyadav070/frontier-sdk@1.0.10","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"homepage":"https://github.com/anujyadav11a/Frontier-SDK","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"dist":{"shasum":"d55bb8976f76000b65de005bcdef8ca095217276","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.10.tgz","fileCount":26,"integrity":"sha512-nnD9pohOsCHEScij8DeHRzbSXm/SCCMVaU99KWVJAEmA8nwaMiNQlJrAnrgKzNHFxxU0xLCA45UrinI+Qa0ZHQ==","signatures":[{"sig":"MEUCIFZGygi97PcfacXA8onhMYu12HseN8RXhnTWQkfVR4pHAiEAvL8E35JHa3R7LjNE0nM8U+qtPaY549fGwFfXtIaCl6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30716},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9e67da40d90764ca3d0bbebd9087fa1f4d6f434f","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"repository":{"url":"git+https://github.com/anujyadav11a/Frontier-SDK.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript SDK for Frontier authentication system","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/frontier-sdk_1.0.10_1772189970151_0.6480335711857992","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@anujyadav070/frontier-sdk","version":"1.0.11","description":"TypeScript SDK for Frontier authentication system","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/anujyadav11a/Frontier-SDK.git"},"homepage":"https://github.com/anujyadav11a/Frontier-SDK","scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["SDK","fronteir"],"author":{"name":"ANUJ YADAV"},"license":"ISC","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@types/node":"^25.3.0","typescript":"^5.9.3"},"_id":"@anujyadav070/frontier-sdk@1.0.11","gitHead":"0a06cb8287c1d5c062c3924d59d8f9455c13e238","bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-snjN7Yfg8s4+3dKMEAKiugshY7NGX92PTx/QxZbNdjyeVANRrJ+gzHUVHhdp1BoBqEK6wSgKdi2ueFIj1D+CWg==","shasum":"891164b0ced22237f1faa40d8c1d750b34b5ee29","tarball":"https://registry.npmjs.org/@anujyadav070/frontier-sdk/-/frontier-sdk-1.0.11.tgz","fileCount":26,"unpackedSize":35201,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGfLELL21OcIZPlx6+R/yeSoPD8klr4fwzqIG4gMFm2wAiB7Y7APcLX4WCXqt4x/Zbqs5Squtnkr7SHQaYwxbH2CgQ=="}]},"_npmUser":{"name":"anujyadav070","email":"anujyadav11a@gmail.com"},"directories":{},"maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/frontier-sdk_1.0.11_1773405706163_0.4291692871124355"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-22T13:22:00.809Z","modified":"2026-03-13T12:41:46.468Z","1.0.0":"2026-02-22T13:22:01.048Z","1.0.1":"2026-02-23T18:03:53.394Z","1.0.2":"2026-02-25T15:24:21.398Z","1.0.3":"2026-02-25T17:27:30.830Z","1.0.4":"2026-02-25T17:41:19.722Z","1.0.5":"2026-02-25T18:29:21.724Z","1.0.6":"2026-02-25T18:49:09.602Z","1.0.7":"2026-02-25T19:19:48.961Z","1.0.8":"2026-02-26T14:20:55.139Z","1.0.10":"2026-02-27T10:59:30.271Z","1.0.11":"2026-03-13T12:41:46.341Z"},"bugs":{"url":"https://github.com/anujyadav11a/Frontier-SDK/issues"},"author":{"name":"ANUJ YADAV"},"license":"ISC","homepage":"https://github.com/anujyadav11a/Frontier-SDK","keywords":["SDK","fronteir"],"repository":{"type":"git","url":"git+https://github.com/anujyadav11a/Frontier-SDK.git"},"description":"TypeScript SDK for Frontier authentication system","maintainers":[{"name":"anujyadav070","email":"anujyadav11a@gmail.com"}],"readme":"# Frontier Auth SDK\r\n\r\nA lightweight TypeScript SDK for authentication with your Frontier backend application. Currently supports tenant user registration and login functionality.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @anujyadav070/frontier-sdk\r\n```\r\n\r\n## Quick Start\r\n\r\n```typescript\r\nimport FrontierAuth from '@anujyadav070/frontier-sdk';\r\n\r\nconst auth = new FrontierAuth();\r\n\r\nauth\r\n  .setEndpoint('https://your-backend.com/api/v1')\r\n  .setProject('your-project-id')\r\n  .setKey('your-api-key');\r\n\r\n// Sign up new tenant user\r\nconst user = await auth.account.create('username', 'user@example.com', 'password');\r\n\r\n// Login tenant user\r\nconst session = await auth.account.createEmailSession('user@example.com', 'password');\r\n```\r\n\r\n## Current Features\r\n\r\n- ✅ Tenant user registration (Sign up)\r\n- ✅ Tenant user email/password authentication (Login)\r\n- ✅ Get current authenticated user information\r\n- ✅ User logout functionality\r\n- ✅ TypeScript support with full type definitions\r\n- ✅ HTTP client with automatic error handling\r\n- ✅ Configurable endpoint, project, and API key settings\r\n- ✅ JWT token support for authenticated requests\r\n- ✅ Custom exception handling (FrontierException, AuthException, etc.)\r\n- ✅ Debug logging for development\r\n\r\n## API Reference\r\n\r\n### Client Configuration\r\n\r\n```typescript\r\nconst auth = new FrontierAuth();\r\n\r\n// Set your backend endpoint (required)\r\nauth.setEndpoint('https://your-backend.com/api/v1');\r\n\r\n// Set project ID (required)\r\nauth.setProject('your-project-id');\r\n\r\n// Set API key (required for authentication)\r\nauth.setKey('your-api-key');\r\n\r\n// Set JWT token (optional, for authenticated requests)\r\nauth.setJWT('your-jwt-token');\r\n```\r\n\r\n### Authentication Methods\r\n\r\n#### Tenant User Registration\r\n\r\nCreate a new tenant user account:\r\n\r\n```typescript\r\nconst user = await auth.account.create(\r\n  'username',          // Username (required)\r\n  'user@example.com',  // Email address (required)\r\n  'securePassword'     // Password (required)\r\n);\r\n\r\nconsole.log(user);\r\n// Returns User object with: $id, $createdAt, $updatedAt, name, email, emailVerification, status\r\n```\r\n\r\n#### Tenant User Login\r\n\r\nAuthenticate tenant user with email and password:\r\n\r\n```typescript\r\nconst session = await auth.account.createEmailSession(\r\n  'user@example.com',  // Email address\r\n  'securePassword'     // Password\r\n);\r\n\r\nconsole.log(session);\r\n// Returns Session object with: $id, userId, expire, provider, ip, device info, etc.\r\n```\r\n\r\n#### Get Current User\r\n\r\nGet the currently authenticated user's information:\r\n\r\n```typescript\r\nconst currentUser = await auth.account.getCurrentUser();\r\n\r\nconsole.log(currentUser);\r\n// Returns User object with: $id, $createdAt, $updatedAt, name, email, emailVerification, status\r\n```\r\n\r\n#### Logout\r\n\r\nLog out the current user session:\r\n\r\n```typescript\r\nawait auth.account.Logout();\r\n// Logs out the current user and invalidates the session\r\n```\r\n\r\n\r\n\r\n## Error Handling\r\n\r\nThe SDK includes comprehensive error handling with custom exception types:\r\n\r\n```typescript\r\nimport { FrontierException, AuthException, NetworkException, ValidationException } from '@anujyadav070/frontier-sdk';\r\n\r\ntry {\r\n  await auth.account.createEmailSession('user@example.com', 'wrong-password');\r\n} catch (error) {\r\n  if (error instanceof AuthException) {\r\n    console.log('Authentication failed:', error.message);\r\n    console.log('Error code:', error.code);\r\n    console.log('Error type:', error.type);\r\n  } else if (error instanceof ValidationException) {\r\n    console.log('Validation error:', error.message);\r\n  } else if (error instanceof NetworkException) {\r\n    console.log('Network error:', error.message);\r\n  } else if (error instanceof FrontierException) {\r\n    console.log('Frontier error:', error.message);\r\n  } else {\r\n    console.log('Unknown error:', error.message);\r\n  }\r\n}\r\n```\r\n\r\n### Exception Types\r\n\r\n- **FrontierException**: Base exception class for all SDK errors\r\n- **AuthException**: Authentication-related errors (401)\r\n- **NetworkException**: Network connectivity issues\r\n- **ValidationException**: Input validation errors (400)\r\n\r\n## Complete Example\r\n\r\n```typescript\r\nimport FrontierAuth from '@anujyadav070/frontier-sdk';\r\n\r\nasync function main() {\r\n  // Initialize SDK\r\n  const auth = new FrontierAuth();\r\n  \r\n  // Configure (all required)\r\n  auth\r\n    .setEndpoint('https://your-backend.com/api/v1')\r\n    .setProject('your-project-id')\r\n    .setKey('your-api-key');\r\n\r\n  try {\r\n    // Sign up new tenant user\r\n    console.log('Creating tenant account...');\r\n    const user = await auth.account.create(\r\n      'johndoe',\r\n      'john@example.com',\r\n      'securePassword123'\r\n    );\r\n    console.log('Tenant user created:', user);\r\n\r\n    // Login tenant user\r\n    console.log('Logging in...');\r\n    const session = await auth.account.createEmailSession(\r\n      'john@example.com',\r\n      'securePassword123'\r\n    );\r\n    console.log('Login successful:', session);\r\n\r\n    // Get current user information\r\n    console.log('Getting current user...');\r\n    const currentUser = await auth.account.getCurrentUser();\r\n    console.log('Current user:', currentUser);\r\n\r\n    // Logout\r\n    console.log('Logging out...');\r\n    await auth.account.Logout();\r\n    console.log('Logout successful');\r\n\r\n  } catch (error) {\r\n    console.error('Error:', error.message);\r\n  }\r\n}\r\n\r\nmain();\r\n```\r\n\r\n## API Endpoints\r\n\r\nThe SDK currently supports these Frontier backend endpoints:\r\n\r\n- `POST /api/v1/tenantuser/tenantRegister` - Tenant user registration\r\n- `POST /api/v1/tenantuser/tenatlogin` - Tenant user login\r\n- `GET /api/v1/tenantuser/getTenantSessions` - Get current user information\r\n- `DELETE /api/v1/tenantuser/tenantlogout/` - Logout current user\r\n\r\n## Configuration Requirements\r\n\r\nThe SDK requires the following configuration before making API calls:\r\n\r\n1. **Endpoint**: Your Frontier backend URL (e.g., `https://your-backend.com/api/v1`)\r\n2. **Project ID**: Your project identifier\r\n3. **API Key**: Your API key for authentication\r\n\r\nMissing any of these will result in configuration errors.\r\n\r\n\r\n\r\n## Development\r\n\r\n```bash\r\n# Install dependencies\r\nnpm install\r\n\r\n# Build the SDK\r\nnpm run build\r\n\r\n# Watch for changes during development\r\nnpm run dev\r\n\r\n# Prepare for publishing\r\nnpm run prepublishOnly\r\n```\r\n\r\n## Package Information\r\n\r\n- **Version**: 1.0.10\r\n- **Package Name**: @anujyadav070/frontier-sdk\r\n- **Repository**: [GitHub](https://github.com/anujyadav11a/Frontier-SDK)\r\n- **Author**: ANUJ YADAV\r\n- **License**: ISC\r\n\r\n## TypeScript Support\r\n\r\nThe SDK is built with TypeScript and includes full type definitions. All types are exported for use in your applications:\r\n\r\n```typescript\r\nimport { User, Session, FrontierException } from '@anujyadav070/frontier-sdk';\r\n```\r\n\r\n## Roadmap\r\n\r\nFuture versions will include:\r\n\r\n- User profile management\r\n- Password reset functionality\r\n- Email verification\r\n- Session management (list, delete sessions)\r\n- JWT token creation and validation\r\n- User preferences management\r\n- Multi-factor authentication support\r\n\r\n## License\r\n\r\nISC\r\n\r\n## Contributing\r\n\r\nThis SDK is currently in active development. More authentication features will be added in future versions. Feel free to contribute by submitting issues or pull requests on [GitHub](https://github.com/anujyadav11a/Frontier-SDK).","readmeFilename":"README.md"}