{"_id":"@a-tech.jo/auth-sdk","_rev":"11-c01ff6dda00ccadb7522ec19f3900576","name":"@a-tech.jo/auth-sdk","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@a-tech.jo/auth-sdk","version":"1.0.0","_id":"@a-tech.jo/auth-sdk@1.0.0","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"cdb579d9f106275f7f010ff2fb1c5a01a21b80a2","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.0.tgz","fileCount":22,"integrity":"sha512-SYrXdNFoyxYc4Co0mfPGVO9/xtdjE9CDCuYebwYCb0CwEas1lbCki6/3D7fi2e81cOKBGpjIlspFvGdOF9g/oA==","signatures":[{"sig":"MEYCIQDuq8YLlKkdD2Oizhr1MUdHroBux/cLaQryLY40MXkT6gIhAP4d+wZkdT1N5daSEhNWpGcAKpZVxYdK9FfAigrwtrPj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104903},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.0_1788732540231_0.18600631600259643","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@a-tech.jo/auth-sdk","version":"1.0.1","_id":"@a-tech.jo/auth-sdk@1.0.1","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"590eafd03cb42164e7271313468f75e4953bafee","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.1.tgz","fileCount":22,"integrity":"sha512-iiTj5jZp7aq9Yg1CWsfX4A3MA2QLW8ipbGd8GTzLnelrqVES129rBhlzHhLToiempncfezLKTlr7wHspO3/oSA==","signatures":[{"sig":"MEUCIQD2SlnuYYQApgtEbPBYn7NEYumCZv0zjKHaPUwTFxn3cwIgO46ASGJRQdoUA2pxUY3kzZBH/2zIClBOGs9sSoDy/fs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104903},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.1_1788732800452_0.4052640099230953","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@a-tech.jo/auth-sdk","version":"1.0.2","_id":"@a-tech.jo/auth-sdk@1.0.2","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"84c6ecc1aa5be6c72af66524753190369e24be7e","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.2.tgz","fileCount":23,"integrity":"sha512-YOVO/8906k+ohcaMV5t4rdGNYfKRA8fBH7Nva7WKbDgE+AZ3Dieq93ZKIS4SDnvWVOEwxI8T5pm7uzOEtp9KCw==","signatures":[{"sig":"MEYCIQCpWMCfXu5RJ17UEHbGtkPeuPd0ZrCO+KPiBo3WOdyGqQIhAONsoe+xod5WjtJG9TMLjUvCsiWQ4JMqXRZB5iHrR8A6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108126},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.2_1788732873304_0.21415433103083892","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@a-tech.jo/auth-sdk","version":"1.0.3","_id":"@a-tech.jo/auth-sdk@1.0.3","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"b20aee26d971e83a3da49b777785272a3692ffac","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.3.tgz","fileCount":25,"integrity":"sha512-mlJMh6TTv7lcBqDstK4TLzhyIEuKJC6BltRwUW4x/8xJxvvR4fVDkA8bu3YOPMgmTiqexGM5/DnlFj0wxbw5qQ==","signatures":[{"sig":"MEYCIQDAZngh1K8AF0zZ0/F/pdvwILo6vnT+ll+ZHc4BVIdMXwIhAIJIPpV586sccz68q19WnQHjv8kTdxGJKSuRDhPhESsU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112668},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.3_1788736753649_0.27670176342075803","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@a-tech.jo/auth-sdk","version":"1.0.4","_id":"@a-tech.jo/auth-sdk@1.0.4","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"0bb08de90f65a5569e032f2fcaba8270977af6d2","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.4.tgz","fileCount":25,"integrity":"sha512-ELDsKiEHBX/cQlAyNSN+Wm2BZHpPgPBztxQR6eLpsC4cd42leXGA03KaY8Djufomo0zb/DaPwDXiGFEw7EhWYQ==","signatures":[{"sig":"MEUCIEVqBU1Bmb1MOnE7BDdKbMGfZBP9IymrwBzUm9X83DN3AiEAjLv/4Vra2wHwELBzGLW9Ssoz+NGFKriZeAjeojJ1bcE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112668},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.4_1788736875501_0.7250116372159165","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@a-tech.jo/auth-sdk","version":"1.0.5","_id":"@a-tech.jo/auth-sdk@1.0.5","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"12070849546015b74c1c728524ce71e214026fa9","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.5.tgz","fileCount":25,"integrity":"sha512-/xpd/DEpSamnAL4jyvU9pAels2FCdrA689bNPiKzfsyApffuIOl5vuICoLZGCsoJWej3QnSxFWsmNK6xNeTWFw==","signatures":[{"sig":"MEUCIQDegr8c6NW1a3ud/CPQUJR+HB9NzCMBAYDYb8OzGcc6NgIgI95rGoTPGR/oId0wqjigDgWj7Hzw56rAJTRjQDdnSkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112670},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.5_1788736960994_0.4819675779312347","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@a-tech.jo/auth-sdk","version":"1.0.6","_id":"@a-tech.jo/auth-sdk@1.0.6","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"77b1e3e6e62e5dd14e3ceb6d65dcb7a702f0ddbb","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.6.tgz","fileCount":25,"integrity":"sha512-kiGZocHDihFUvckzAcmGYdiGaLo5uojVjADNYs2uWskS07X73uQ8ADiSL2T+pWIZxdw4fRhwqmYU6DesuddFLw==","signatures":[{"sig":"MEYCIQD7f32Zd3/EmcuykYb2fFqLA7r3QYGE9AYUNOvCHDTLMQIhALWBA3G9BQWj94iOAxT8RIKHw1YYztWUAjMhs6HVnVmn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112627},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.6_1788813177842_0.045760411706303294","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@a-tech.jo/auth-sdk","version":"1.0.7","_id":"@a-tech.jo/auth-sdk@1.0.7","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"8e41f66f9312b5a0b43d194efdbabc28e8ff15f7","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.7.tgz","fileCount":25,"integrity":"sha512-HOMDzqB2AjJnIrj86HCTMOiGbJFovrXzCmUojEQR6kljwN2PTVbSN0wWWlO6b9HA8D6W7eejxlWOv4/vahQ8iw==","signatures":[{"sig":"MEUCIQDdn/04kkVdEXHxn8mTIJO/GzHSljqmqDM7mkA3aiKcpQIgdS6M4t9CH0bl8Vo+Pwb0faXyCYKnjnUm2IW6HHUsDt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112759},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.7_1788813521952_0.9691025001884643","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@a-tech.jo/auth-sdk","version":"1.0.8","_id":"@a-tech.jo/auth-sdk@1.0.8","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"f78352529c5f66f21d789ccdd0e848d65b5e2000","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.8.tgz","fileCount":25,"integrity":"sha512-PdJgaBcxmV3gERDCBA4E6x3H8oYIQnRlm93T3GWsEIYvOmDT551sANMzOtyZETEuFs0ep4Ili2ii6KNmx/goKA==","signatures":[{"sig":"MEUCICeuFHuzGxoCr22Kj07H6yUkcwG1ErLUbRkwMY3jwJqJAiEAmnMKl7kL/bfoZKT4cteSr8doNXtzORkJF7expVgm/eg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112774},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"71d02422184fb5537d189df2e0ad1a8675310021","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.8_1788813669257_0.3236819011056784","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@a-tech.jo/auth-sdk","version":"1.0.9","_id":"@a-tech.jo/auth-sdk@1.0.9","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"dist":{"shasum":"5d623dc60299144dfb2a796a453e4ccfa0e7f232","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.9.tgz","fileCount":25,"integrity":"sha512-F4Z1KOo70OY7SH6CDg+LwCpDubFeOashAvmqmrW5zQ11b3YTnXecDDY4mweIZ6BJPTwwiRL55LaU0LMgk1E+Sw==","signatures":[{"sig":"MEQCIEXjJfvJA/Ds7Kv9u5B8MV5E3Q0eQm/JoDjjs0AfzhBqAiADnpcbogzXfFHR2slcqu2I9oDjacOfiL1CXTyikwttBA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113854},"main":"./dist/index.js","style":"./dist/styles.css","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"gitHead":"daaf1d2091d679f66d705ba5811f41ee74232adc","scripts":{"dev":"tsup --watch","pack":"npm pack","build":"tsup && tsc --emitDeclarationOnly","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","example":"npm run dev --workspace=example","publish":"npm publish --access public","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"_npmVersion":"11.17.0","description":"A-Tech Authentication SDK for React and Next.js","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","react":"^19.0.0","react-dom":"^19.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/auth-sdk_1.0.9_1788978862499_0.7879732127701626","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@a-tech.jo/auth-sdk","version":"1.0.10","description":"A-Tech Authentication SDK for React and Next.js","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","style":"./dist/styles.css","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles.css":"./dist/styles.css","./dist/styles.css":"./dist/styles.css"},"sideEffects":["**/*.css"],"scripts":{"build":"tsup && tsc --emitDeclarationOnly","dev":"tsup --watch","example":"npm run dev --workspace=example","pack":"npm pack","clean":"rm -rf dist node_modules/.cache *.tgz example/.next","prepublishOnly":"npm run clean && npm run build","publish":"npm publish --access public"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"devDependencies":{"@types/react":"^19.0.0","@types/react-dom":"^19.0.0","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.3.0","typescript":"^5.0.0"},"dependencies":{"axios":"^1.20.0"},"gitHead":"daaf1d2091d679f66d705ba5811f41ee74232adc","_id":"@a-tech.jo/auth-sdk@1.0.10","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Xvc1HWhn7EaPg1TuC+ZOYexG+Cty3F4xoM1LVdd6DHR/Wz/kLxbZ+girgA7WLu8KL2M+36vB0sRCqWa03ZZCDw==","shasum":"76e7371a58fb1154fd11d50e71d2fe99f1e802c2","tarball":"https://registry.npmjs.org/@a-tech.jo/auth-sdk/-/auth-sdk-1.0.10.tgz","fileCount":25,"unpackedSize":114475,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCaACpxq74YwkBs/hF3PedEqVHoL1YtWvXrqWS5G6+w7gIgNIaYtQYgDMCD+OHLyc3jSQqS+f92t8iMS9du4oLbFjk="}]},"_npmUser":{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"},"directories":{},"maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-sdk_1.0.10_1788979349857_0.08813345476612877"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-06T22:09:00.107Z","modified":"2026-09-09T18:42:30.195Z","1.0.0":"2026-09-06T22:09:00.372Z","1.0.1":"2026-09-06T22:13:20.585Z","1.0.2":"2026-09-06T22:14:33.440Z","1.0.3":"2026-09-06T23:19:13.794Z","1.0.4":"2026-09-06T23:21:15.639Z","1.0.5":"2026-09-06T23:22:41.141Z","1.0.6":"2026-09-07T20:32:57.969Z","1.0.7":"2026-09-07T20:38:42.086Z","1.0.8":"2026-09-07T20:41:09.389Z","1.0.9":"2026-09-09T18:34:22.677Z","1.0.10":"2026-09-09T18:42:29.995Z"},"description":"A-Tech Authentication SDK for React and Next.js","maintainers":[{"name":"atech-digital","email":"basem.alnabulsi@a-tech.dev"}],"readme":"# `@a-tech.jo/auth-sdk`\n\nA full-stack, customizable authentication SDK providing seamless login, registration, and session management for A-Tech applications.\n\n---\nIf you have any recommendations or needs, please contact us on our email\nEmail: support@a-tech.dev\nWebsite: https://a-tech.dev\n\n---\n\n## Quick Start & Integration\n\n### 1. Import Global Styles\nImport the pre-compiled CSS file in your root `layout.tsx` or `_app.tsx`:\n\n```tsx\nimport \"@a-tech.jo/auth-sdk/styles.css\";\n\n```\n\n---\n\n### 2. Wrap Application with `AuthProvider`\n\nEncapsulate your component tree with the `AuthProvider` to manage global authentication state and token expiration.\n\n```tsx\n\"use client\"\n\nimport { AuthProvider } from \"@a-tech.jo/auth-sdk\";\n\nexport default function ClientLayout({ children }: { children: React.ReactNode }) {\n  return (\n        <AuthProvider  config={{ environment: \"stage\"}}>\n          {children}\n        </AuthProvider>\n  );\n}\n\n```\n\n#### Available Environment Configurations\n\n| Environment | Key | Description |\n| --- | --- | --- |\n| **Local** | `\"local\"` | Targets `http://localhost:3000` / local backend services |\n| **Staging** | `\"stage\"` | Targets staging auth backend (`https://auth.atech-workspace.com`) |\n| **Production** | `\"production\"` | *(Default)* Targets production auth services |\n\n---\n\n### 3. Embed Authentication Component\n\nRender the pre-built, responsive authentication card supporting mode toggling (Login, Register, Forgot Password).\n\n```tsx\n\"use client\";\nimport { SDKAuthContainer } from \"@a-tech.jo/auth-sdk\";\nimport { useRouter } from 'next/navigation'\n// Styles\nimport \"@a-tech.jo/auth-sdk/styles.css\";\n\nfunction AuthWrapper() {\n    const router = useRouter()\n\n    const handleSuccess = () => {\n        console.log(\"Authentication successful!\");\n        // Example: Redirect user or refresh session state\n        router.push('/dashboard')\n    };\n\n    return (\n      <div className=\"flex min-h-screen items-center justify-center\">\n        <SDKAuthContainer \n            initialMode=\"login\" \n            onSuccess={handleSuccess} \n        />\n        </div>\n    );\n}\n\n\nexport default AuthWrapper;\n\n```\n\n---\n\n### 4. Access User Session (`useAuth` Hook)\n\nAccess the current user profile, JWT token, and session utilities anywhere within the `AuthProvider` scope:\n\n```tsx\nimport { useAuth } from \"@a-tech.jo/auth-sdk\";\n\nexport default function Dashboard() {\n  const { user, token, logout, isExpired } = useAuth();\n\n  if (!token || isExpired) {\n    return <p>Please sign in to access this page.</p>;\n  }\n\n  return (\n    <div>\n      <h1>Welcome back, {user?.firstName}!</h1>\n      <p>Logged in as: {user?.email}</p>\n      <button onClick={logout}>Sign Out</button>\n    </div>\n  );\n}\n\n```\n\n---\n\n## How to Update & Publish New Versions\n\nWhen publishing an update to npm, follow standard Semantic Versioning guidelines:\n\n### 1. Bump Package Version\n\nChoose the appropriate command based on the scope of your changes:\n\n```bash\n# Patch update (Bug fixes: e.g., 1.0.0 -> 1.0.1)\nnpm version patch\n\n# Minor update (New backward-compatible features: e.g., 1.0.0 -> 1.1.0)\nnpm version minor\n\n# Major update (Breaking changes: e.g., 1.0.0 -> 2.0.0)\nnpm version major\n\n```\n\n### 2. Clean, Build, and Publish\n\nRun a fresh build and publish to npm using your Granular Access Token:\n\n```bash\n# Clean build artifacts and build fresh distribution package\nrm -rf dist *.tgz && npm run build\n\n# Publish to npm using your access token\necho \"//registry.npmjs.org/:_authToken=YOUR_NPM_TOKEN\" > .npmrc && npm publish --access public ; rm -f .npmrc\n\n```\n\n---\n\n## Token Verification (`verifyToken`)\n\nVerify any JWT token and retrieve the active user profile using the SDK helper function:\n\n```typescript\nimport { verifyToken } from \"@a-tech.jo/auth-sdk\";\n\nasync function validateSession(authToken: string) {\n  // Verifies token and returns session status & user details\n  const result = await verifyToken(authToken, \"local\");\n\n  if (result.valid) {\n    console.log(\"Authenticated User:\", result.user);\n    console.log(\"Session Expires At:\", result.expiresAt);\n  } else {\n    console.error(\"Invalid Session:\", result.error);\n  }\n}\n\n```\n\n### Parameters & Options\n\n| Parameter | Type | Description |\n| --- | --- | --- |\n| `token` | `string` | *(Required)* The JWT authentication token string to verify. |\n| `environment` | `\"local\" | \"stage\" | \"production\"` | *(Optional)* The target environment. Defaults to `\"production\"`. |\n\n### Return Value (`Promise<VerifyTokenResponse>`)\n\n```typescript\n{\n  valid: boolean;         // True if the token is signature-valid and active\n  user?: {                // User profile details (if valid)\n    id: string | number;\n    email: string;\n    type?: string;\n  };\n  expiresAt?: string;     // ISO expiration timestamp\n  error?: string;         // Error message if invalid or expired\n}\n\n","readmeFilename":"README.md"}