{"_id":"rauth-provider","_rev":"31-da5682ebb09c1dbb65663b2020bc6ebe","name":"rauth-provider","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"rauth-provider","version":"1.0.0","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.0","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://github.com/your-username/rauth-provider#readme","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"82143366b388d1c9d6a1b2830a3c3d5069fda501","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.0.tgz","fileCount":10,"integrity":"sha512-elQgwdNVwuiGx798jZayyUe7Te9+OAlvwQy0cC/zrndmZIZGgWAlvd+q53m+uyvIEJZwHvAXwVnswl9tXzRwwA==","signatures":[{"sig":"MEUCIFo7aXjVujavWF/qEvFcqeedVrrGQiKCnmdsqrOJvBXwAiEAgwYXsYgXT05xqK3bmPz+TrNZAh5a6e/WaQr3BcbdmsU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52610},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"320d28ab72ccc93324d60394532291e123c6143f","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/your-username/rauth-provider.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"crypto":"^1.0.1","node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.0_1751754747862_0.5031514670325659","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"rauth-provider","version":"1.0.1","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.1","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"9badd20c82d469b0cf65a65a3f87cb95d1c54dc2","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.1.tgz","fileCount":10,"integrity":"sha512-6mgtPZHM0tfH0/tQ+kP1WxAb+6LLu/Ac0mrvXR48vAOMe4MqU51ltCwRbCjWQIPkdvM2/NmNUZDQiQWCuUOytg==","signatures":[{"sig":"MEQCICMfKe9jCv3NieUGuITPjk0zXrna9V/SW1klHhOXL0DvAiA2bQ63oyDkZ+fyuSEf1A7KFBBXygGA3tSLuKYbigmy6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52597},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"eb6457c6c8d000aaf483ea881653c83308c2a8c7","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"crypto":"^1.0.1","node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.1_1751755256534_0.5390620129832366","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"rauth-provider","version":"1.0.3","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.3","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"742ff725be2b1fd9bca869582022029f7752ac91","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.3.tgz","fileCount":10,"integrity":"sha512-4NyZrI80JWnUexBRl6kPnvEy/V2lkAlXPBZioiUhfBTsLyj38tJkMyNigBM3De7YNDCo9XCFGTKLheU9PIcEbA==","signatures":[{"sig":"MEUCIQCpjKV3PqHeEYlP0y5v7puxFT9CTGtV+Q84rZeSpsgjWwIgCHc3UDgg3acu0FSyJOUh6o8IM3scwX1+lsvoz6Zr+hE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50406},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"12bdcaafcd2c6a59b71e0c9c7f97c81359637d5b","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"crypto":"^1.0.1","node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.3_1751755846678_0.49341411635768284","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"rauth-provider","version":"1.0.4","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.4","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"88589192b4c238d39126f0c596253ffd3d034dc6","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.4.tgz","fileCount":10,"integrity":"sha512-7lQMqW/2uLjy8S5/ZHnj1/tnnR8obxQHzAgwRNIH4brIWEJ8DC4AWC7wCXNGNeHnQ83vsCztY28eZouim4dyAw==","signatures":[{"sig":"MEQCIEiMnaDiSEAOHCKv1DXMQxp7M8w5egF8Eb575n7REQiOAiAz2qapo+LXFJCv58Q4Sqm66zBvnZVOwOxc7k7HYCir8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50681},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"12bdcaafcd2c6a59b71e0c9c7f97c81359637d5b","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"crypto":"^1.0.1","node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.4_1751756249838_0.911475875038877","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"rauth-provider","version":"1.0.5","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.5","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"12c2367eb876b6ee094ee7341b081091e05993da","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.5.tgz","fileCount":10,"integrity":"sha512-Dh+CdQV36AXl1zw0T8296DkLMoMAaWhCDGvKq88rfHz3XA+tjVXH6/DoqDX7n0zUiW3UBynUmLI36yIeWbvCrg==","signatures":[{"sig":"MEYCIQCIc6AqqECIgq/N90sQUCNVjPHgTHiR/wrTVn7vc1owZAIhAIhPIDbocuT7fxTlmBLITLqzmwVOekUKPg4p4b7iqacW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50681},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"12bdcaafcd2c6a59b71e0c9c7f97c81359637d5b","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"crypto":"^1.0.1","node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.5_1751756295924_0.8406871738622002","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"rauth-provider","version":"1.0.6","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.6","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"e8dce02f6afcc21e7953e2e341c04ad792e35586","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.6.tgz","fileCount":10,"integrity":"sha512-9ICdjV+0okKvODE4Cvnm5ld0HrMDj5GzzDrSPsnxbF0wfcwaPSsVEVtr15Me/6O6TzL88E4NMpW+nOpDGwyH7A==","signatures":[{"sig":"MEYCIQCbcMGm9rVhmtvLZT9HvXO3nYdxH3ec9SqMsrIZyftdcAIhANjuJzvyOa62qowLReIP8UY/MgAFNHsmDNMPSE+/6hcf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50656},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"12bdcaafcd2c6a59b71e0c9c7f97c81359637d5b","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.6_1751756599337_0.07179845201927249","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"rauth-provider","version":"1.0.7","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.7","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"596a69c91baccf9edf5d8dcd64a7e85c915567aa","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.7.tgz","fileCount":10,"integrity":"sha512-Ynzjtqok5vw7jp1fvWaNty3Ke1yTQzWESmya0qQMaNeQvAMjGcNmLLgKsLGwtK/Gf/96RHViat0oep896NEgyg==","signatures":[{"sig":"MEYCIQCD3Ue3w6IDuCu6Fi1NQxoTqNI//s/1t2cHU34pjW2vXwIhALDjtQdwGc3itKnbUUDs8nYXpQ6RABfNccRv4fnIp+Ev","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50289},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"12bdcaafcd2c6a59b71e0c9c7f97c81359637d5b","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.7_1751756757840_0.5156311516457042","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"rauth-provider","version":"1.0.8","keywords":["authentication","phone-verification","session-management","webhook","express","nodejs","rauth","otp","2fa"],"author":{"name":"Your Name","email":"your.email@example.com"},"license":"MIT","_id":"rauth-provider@1.0.8","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/your-username/rauth-provider/issues"},"dist":{"shasum":"9d3ae3b51c80d5098dd42dcbabafc9a8559b0cf4","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.8.tgz","fileCount":10,"integrity":"sha512-i/k9Gw3Yhasd+YiaGDW3SB89EHqo7pIMb/Vv9r46eneT3bYv45CH2hVDzg+MtDQofBvkXRjtiEsF72WVRmec6g==","signatures":[{"sig":"MEUCIQDKTzdcoStM48p0V/GBRF8xKNHScwUk+jcQ6xmaUgNpkQIgX/5ixwWtKG0lN94LdDrGc5dzjmVsfgtYk/phelLpCrU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49744},"jest":{"testEnvironment":"node","coverageReporters":["text","lcov","html"],"collectCoverageFrom":["**/*.js","!node_modules/**","!coverage/**","!jest.config.js"]},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"7935e677ad9e7e03010e65669dc4ba74dcd5db62","scripts":{"docs":"jsdoc -c jsdoc.json","lint":"eslint .","test":"jest","build":"echo 'No build step required for this library'","start":"node server.js","lint:fix":"eslint . --fix","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A clean, plug-and-play authentication library for phone number verification with automated session management","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.7.0"},"eslintConfig":{"env":{"jest":true,"node":true,"es2021":true},"rules":{"no-console":"off","no-unused-vars":"warn"},"extends":["eslint:recommended"],"parserOptions":{"sourceType":"module","ecmaVersion":"latest"}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","jsdoc":"^4.0.2","eslint":"^8.57.0","supertest":"^6.3.4","@types/jest":"^29.5.12","@types/node":"^20.11.24","@types/express":"^4.17.21"},"peerDependencies":{"express":"^4.18.0"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.8_1751757731614_0.8726097287803072","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"rauth-provider","version":"1.0.9","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.0.9","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"c233f6cb79c15dcabc09dbf905f3bebe54b5c1e9","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.9.tgz","fileCount":13,"integrity":"sha512-1LJbAAs/2dVO0atjKUJRnSPiTZIZNBCJRNLz3PUXlt/DulL9DGBOOTdpZL7hAUqZG/qUqmMHu9S0mWXR4ewBAQ==","signatures":[{"sig":"MEUCIEzbbh8oHKeoaoPKP+HzgNx64xGdFVZSOHpA46WpIhT1AiEAq1qub8f+di5ApVbS/cfZqIKc0xOLgG56xseLjVJ68g4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60519},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"ba0a5634d7b38015c2c4c88e223dae7d48704365","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.9_1751818706934_0.8152853367106689","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"rauth-provider","version":"1.0.11","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.0.11","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"a5a075acc75be24c80f9eca3817d8303c0c745b7","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.11.tgz","fileCount":13,"integrity":"sha512-e2tOweFl3vt97ikv9za+U2FzLT0qWTpgcvdh/c24E3DRYHjJUUXbFqG68PvEvqr7TKSU00rTe7fcpKgjnk0lVg==","signatures":[{"sig":"MEUCIHMZVODtEIsdC/f6kgWogZslPtUjqoE74l6cLfpqrCW3AiEA2RfQ1oZDdzG1768UPfehHYzgvvGqDxyJF81Cav9wliE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60568},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"aa6516ca90e1aea838ccbf6ff1e6b5d8d55f307c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.11_1752091640756_0.6853904555650736","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"rauth-provider","version":"1.0.12","keywords":["rauth","authentication","jwt","webhook","node"],"license":"MIT","_id":"rauth-provider@1.0.12","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://example.com/rauth-provider#readme","bugs":{"url":"https://example.com/rauth-provider/issues"},"dist":{"shasum":"250251a33960851a4827307b9b016c8952cd0727","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.12.tgz","fileCount":125,"integrity":"sha512-ZZAfE2cPALfL/MRdnKOQnWVnMCA5g2NnLcaxCZdIGsE1DVPr/W4X9GprnHwzMGuO3SOxc5iVcV2sniV2pWBGow==","signatures":[{"sig":"MEUCIQCqwZwd3Wmiy7PkKXywwg9gcBcjRtVrET6xwE4QZrGP5wIgbfX4W5GG9dm8DddGKIox5D2fI6P5R2zn7jZ0rk9lk80=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":503818},"main":"index.js","gitHead":"14d0867139d110df8b35c8f30cfb0a24dd50dc11","scripts":{"test":"node test-flow.js"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://example.com/rauth-provider.git","type":"git"},"_npmVersion":"10.9.2","description":"Rauth client SDK for Node.js via HTTP webhooks","directories":{},"_nodeVersion":"22.14.0","dependencies":{"axios":"^1.10.0","node-fetch":"^2.6.7","jsonwebtoken":"^9.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.12_1752092614064_0.7591283616161517","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"rauth-provider","version":"1.0.14","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.0.14","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"5ad5f349b3d39fa04f7fe7491aa43b2f2f9f87ab","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.0.14.tgz","fileCount":13,"integrity":"sha512-+SQ88psUWQ2Xk0QGxN74XL71zipegCNgOJP2SD7/1xP/heeiaLWdQ2Yx47F5y9ZrMUeh85o70jjl91QGv66YvQ==","signatures":[{"sig":"MEUCIQClCroru9AeggJFDVSnN0FicWmYKmgWWuhMX9blkOs0EwIgHCGh9sbGKGz4g4/4a7XCVObkTVMZdLms2oXhc7z595U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61062},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"14d0867139d110df8b35c8f30cfb0a24dd50dc11","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.0.14_1752093410250_0.0718116302592795","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"rauth-provider","version":"1.1.0","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.1.0","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"bd7bb5c3aa95759ce59cd12766e91f5d00131a2f","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.1.0.tgz","fileCount":13,"integrity":"sha512-SEelTdPX0jR55+Ie6LqDzKI4vKU9Uo8pQjhd7QumZQK9V6o5LN6tBkSwodPAK1Kwoj2juW/Of89kVMDbl5jGcQ==","signatures":[{"sig":"MEUCICZOZyeX0Ef/B4lHpk5jYhztQCqkxnyk/4/z81TJHNErAiEA1mu8TiNbjTb7rTTzabexoZmzGzqzZL/9SlNKdJ6/SQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61059},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"43eca0af0cfef5b9cd0bbfc80ebf4c726be55cc8","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"_npmUser":{"name":"rauth.io","actor":{"name":"rauth.io","type":"user","email":"codesiddhant@gmail.com"},"email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.1.0_1752138608822_0.5554748951933763","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"rauth-provider","version":"1.2.0","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.2.0","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"c7007ef2ee6960c3f114312bd4150028e7f3f631","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.2.0.tgz","fileCount":12,"integrity":"sha512-JfJ7OlQgEx2oGLx1IqH+OThvldzcgdI2n8BFhfaikrJIjQA153nOc1qav1K9BbDfuP8/HU5XUqrfzTtb/O1UwA==","signatures":[{"sig":"MEQCIA6D7xHW8zo2bqeXke1BKe8HSdM2Hpx3mDY/wXsKN8cNAiBn3KBS7GbpVMHxtKywhXrJCPfekrePtU0UVFVZ+0jgsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49023},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"e43b0911b1aa42810b621f4035ebd43bd197245a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.2.0_1752407544921_0.6683836795995857","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"rauth-provider","version":"1.2.1","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.2.1","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"4e2c5ee9fb09f94a791b6fc277e38b1cd266a9be","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.2.1.tgz","fileCount":12,"integrity":"sha512-pi4bWqqPMhoUU70O6Q03807A2bRyo7KpCS1+Xp26G2N3+FRUWtcvDIhCTSBFNXdf8lHFS1hJSCH2D9m64+FdrQ==","signatures":[{"sig":"MEQCIEkOSY/30FnH3e8jPbRW/11+tHqbGGSF+G5dHPxIC0X7AiBjOlmgEIfGUHKhi6PJwCBlxW6jOdgUm4Hi2DXxRnx4Yg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48774},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"e43b0911b1aa42810b621f4035ebd43bd197245a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.2.1_1752408107121_0.09795387361616847","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"rauth-provider","version":"1.2.2","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.2.2","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"02e323e35201f2060e9f9034c4cf69f6fc4c00d4","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.2.2.tgz","fileCount":12,"integrity":"sha512-WkmFGwFSwG5ypyN7e8HwfwBfcdZz4Zls6Qu7xWA7hP1kXuOOYCBvE3V8rMqlwN5VGR5ePwuJ60szq6UDsW32Ww==","signatures":[{"sig":"MEUCIQCdedSOWbsTmXijXWUFZZNatH6+tsIzaLt2Xd3XFGBY0QIgVgozVNH02fR6e+mW6ZqRTLWyjS5RfZdWigTg2VOj6lc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47414},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.2.2_1752580120501_0.2512990779117701","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"rauth-provider","version":"1.2.3","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.2.3","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"7aa4954146e533ae5898a23b33638fa9d763cdf1","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.2.3.tgz","fileCount":12,"integrity":"sha512-8dXwwFLg0vA+kAi1pDt67Y/HkM4BoJKH8vhurrBZIQQTn3cGWzB+VQwKgTuRijs4UIDmKC02eZjjNtCGPaFflg==","signatures":[{"sig":"MEUCIQCVrjEGtHu1vpsjqRc07W0CguTscSojKNAZb3vez6GPcQIgVRVVBfqbryBCH7PHUFPEO3g+C+iqGmrZ8UqIj8o26HU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47221},"main":"index.js","types":"types/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.2.3_1752580531021_0.6669972243319446","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"rauth-provider","version":"1.3.0","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.3.0","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"de72cfca435c94bde086de2321ab14adf168d2ad","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.3.0.tgz","fileCount":13,"integrity":"sha512-aXcz7Pt/agSZ41F789v3EOGcpHNum/tEP9LkOomFZIt6Sh3l4ugLZKuCnQLcUgnycPCNF2zvzVXjrrBiC3NQzQ==","signatures":[{"sig":"MEQCIA1zMX92pifge3sSCvGXpZFnOUGuObhGLc0JvFDgqxayAiASgua/3kDcGHPAUcbcxsKr1AgNfS6tHIQokbAnx72rGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48805},"main":"./index.cjs","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.3.0_1752584368410_0.5489837375223039","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"rauth-provider","version":"1.3.1","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.3.1","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"8308d7dee354f414790f7856c73108b80d2553ce","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.3.1.tgz","fileCount":13,"integrity":"sha512-VMNYVlo835qBBfjxQDIoNGa8jvYsbAMbJZmURH4NkyyENw1tcjpaxuTJ11Q9vbY9snvfgUQO0WyAVCeY2w+5XA==","signatures":[{"sig":"MEUCIAGZMHuC+SfDfUDq5ZKN5x4Zp4iTQB5YoOU6BaK9/MBZAiEAvuhahru/33P5B8C91AbiOLVoqYYGkFnImKldhBDOnBo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49172},"main":"./index.cjs","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.3.1_1752605436687_0.7786208153330814","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"rauth-provider","version":"1.3.2","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.3.2","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"d08c5ce4c479852749e69f016bb8a42cd5359e59","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.3.2.tgz","fileCount":18,"integrity":"sha512-VdqGahZN0w9eCYFcAHjafRv2mekrKmFr0mJDxMVbBzK0LGl18qpy7h56ms9zS6ogIn1Ijpb49iuJxDhBs+j63g==","signatures":[{"sig":"MEUCIFUIkxTZTAWyUwzjzf+m0HuR1C2hkCL2c3/618saNUvBAiEA4GCjnNwdJZtQZawqEAVyhQ2V8nxsr7ogDhsTKjD80LA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71607},"main":"./index.cjs","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.3.2_1752606603639_0.2906844836837592","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"rauth-provider","version":"1.3.3","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.3.3","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"7ebb5fcab6da79ea7876da54ae941c3addf01d78","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.3.3.tgz","fileCount":18,"integrity":"sha512-NhXOk4+vvDbyW1jQyVT6z2DQ9S07VcwgV6WBTAEK7rRZbVQj9jw6ErGE91Q2j/nFO7jjcqJpFmUFTTzJOEB41A==","signatures":[{"sig":"MEUCIQDPsBJtvTpVan1sf2GlS0aBP9gneJJeE+xLny1YLweiVgIgQcRysGtbwimp16Lc6MxFwoNJ5Q+I3tmkXL7Raa0hS5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71906},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.3.3_1752607022797_0.8961461468475487","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"rauth-provider","version":"1.3.4","keywords":["authentication","whatsapp","sms","phone verification","security","otp","verification","reverse auth","rauth","express"],"author":{"name":"Siddhant","email":"siddhant@rauth.io"},"license":"MIT","_id":"rauth-provider@1.3.4","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"homepage":"https://docs.rauth.io/rauth-provider-nodejs","bugs":{"url":"https://github.com/codesiddhant/rauth-provider-nodejs/issues"},"dist":{"shasum":"789e515d84e0881767c34e8a58dd2b4e0ee0e713","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-1.3.4.tgz","fileCount":18,"integrity":"sha512-8M0dxsN8/epK3yDnzc/jMjn/b3ELe+gmNba38ekULewq9YjnNyEUVX3QDYNrR3ubpemf9cbUmDQQDFEFi/qyxQ==","signatures":[{"sig":"MEUCIHFRLCm28W+gKuTwjgazjToJtWNHNahcHqTR/ul0zNEJAiEAyyxHsY0BFuaoMVIjpC89Xq8bwIkIdcXk5mZQe+3xIBI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71815},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"9fdae5c8363ed394775aba769846b42c94a1d7b2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"repository":{"url":"git+https://github.com/codesiddhant/rauth-provider-nodejs.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.17"},"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_1.3.4_1752607300362_0.375436104333849","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"rauth-provider","version":"2.0.0","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.0","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"9e71a34c1b9fe01961ef0b90fb8067ca5e60db81","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.0.tgz","fileCount":16,"integrity":"sha512-79bI5KyBS0R1Pw0tUh1x+MYgHxgZJJHfwsfc0sRx1ipSa9HMM5b3gh/wcO+/8o5UGXlyXJBy5+jK9hqkEoiKRQ==","signatures":[{"sig":"MEQCIC368fzgLjlbQwwARaY/qNnea+Vi2sFmyZ4hbF1bKq9lAiBBYaxEi1+Sq6mdrrpeUjYHAnaIFpBwV/js3oRx+sIWfg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19464},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"58c6f9496a0b2c824cc4049576a660aa9e39960a","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.0_1762416730872_0.5228597336322669","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"rauth-provider","version":"2.0.1","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.1","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"3282d693379f1e4a1c60e7cd82079d079adffecc","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.1.tgz","fileCount":22,"integrity":"sha512-dApnGksyPhB7ASYCqg1+WCBKG9UxIpcGLro3lOFtMnMmTcDUPyYyuyXyj4vaO9RtLaQE8fmaxLYADX+7Uq005A==","signatures":[{"sig":"MEQCIF5JQIf/Z1YPSyfQgZa+H7HkhRJ9D077E/Mh3Rmevi8wAiA3rwyRZFJSwpUfw+LARebXYe2fIiV2kEiMxjFq2zGE8A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37909},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"566943d7122c38f3cf847484d3ff823994d8845a","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.1_1762423925898_0.9291020093597786","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"rauth-provider","version":"2.0.2","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.2","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"2531a471c04e989cf18b800361384d33fe856f0d","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.2.tgz","fileCount":22,"integrity":"sha512-bNSElvK9qV9D2rr6a5iJzjMba07gw3nD766xfLKJ0PoaY7H2iu7ySH1b0ccc8nkF9IcFS79xbeZifhWDm2HunQ==","signatures":[{"sig":"MEYCIQCUZIVeO2TcuRj/fSNP8z+0YkvxFwj5+UWbiOv30VFxTwIhAKnw8jvbYfp+zRNSonU76hAgdOTx8r1BzI/3w2ODD7jL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37912},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"787374f49e002f4d53edd035885a8d1046b14eaf","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.2_1762442817468_0.08662672783614789","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"rauth-provider","version":"2.0.3","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.3","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"e40fd8667cb5f3cf90600a8b0e20f456f5b72a87","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.3.tgz","fileCount":22,"integrity":"sha512-LbJqPyQY4rjDE2J8DjMWiD+LlzhriudGi9/UHQapiuIWZT2za5u1ae7mQDlHqOuogRExoNXjwVNQNLjjU1rLfQ==","signatures":[{"sig":"MEYCIQCon5iUVMCGYvv9Qk1n/4nbxHDDvU0eRs/JOWqi1qpfbAIhAKMTs/JCU0Zx7sc4SshQkHkbbtc7Jio4ts79IZYB1t/p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38944},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"787374f49e002f4d53edd035885a8d1046b14eaf","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.3_1762443844902_0.3207452120125709","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"rauth-provider","version":"2.0.4","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.4","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"691314bf70c51d24133615ea41292031672823d3","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.4.tgz","fileCount":22,"integrity":"sha512-g1mnD6IXMsH2f+6MBr4PrxUehAXXIURnIAo+mrgu5L4ImyTpI5plHdOo0B0pwzX0vYLuulTBJxxoaXdUOu7YpA==","signatures":[{"sig":"MEUCIQCjYk4LLZCqRIch6Rjhg4/xr1YZs8QSVcqb8Aeli/fUMgIgZe+edqZk1Zt3Gn6/0Qr3rPVHQ0jXxxj2cj5uc4FIndk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40125},"main":"./index.cjs","type":"module","types":"types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"import":"./index.js","require":"./index.cjs"}},"gitHead":"df8ee8dac0f84034d9708999622101f605ee088f","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.4_1762454810541_0.26694086707007525","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"rauth-provider","version":"2.0.5","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.5","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"c2f60a2891cd9152dd50ab54f5ace03553341fd0","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.5.tgz","fileCount":22,"integrity":"sha512-pprumjMDWwjF5Lc7d6MQLeULVqXYiwtHKrtoB7dmo1kt4GR5q0Q11qEY6X3t4WnC6bCVqxq2QwsybNo33T/WfA==","signatures":[{"sig":"MEYCIQDGJt73KYsXySJbqK6bOifcFJ5D2LJh/ReeM/3NWdrQUgIhAKgODGqyHj6ATITKYCkn2ICA6sQ7aX1eUelUeOIAIK/C","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40164},"main":"./index.cjs","type":"module","types":"./types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"types":"./types/index.d.ts","import":"./index.js","require":"./index.cjs"}},"gitHead":"a62821dee31dbadb8180ff2f992f9b74bf7d7e2b","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.5_1762455955143_0.9079084439647485","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"rauth-provider","version":"2.0.6","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.6","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"01963d50ff0cb97ec3d72704814238c98cbdf724","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.6.tgz","fileCount":22,"integrity":"sha512-SnKQ+VpFsB85jFsDdX7W7Vz1H8LfECMvLBZ1XM5JNfmiCv08qOPp7m2STuFtcijTR7xxr3UIXbeSSXx5t4e0QQ==","signatures":[{"sig":"MEQCIF+wudOuQW8StzUjpXOSx5NVv7laNDvyM13gvaxfbkWbAiAN1BrHp7gk2zdElfz3QHu0s4yK9gzV/BO7CXiF/KQ8YA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41620},"main":"./index.cjs","type":"module","types":"./types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"types":"./types/index.d.ts","import":"./index.js","require":"./index.cjs"}},"gitHead":"a62821dee31dbadb8180ff2f992f9b74bf7d7e2b","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.6_1762456247462_0.8712519182548213","host":"s3://npm-registry-packages-npm-production"}},"2.0.9":{"name":"rauth-provider","version":"2.0.9","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","_id":"rauth-provider@2.0.9","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"dist":{"shasum":"a07835500488f541c0050b4f7b4572f9e9dcfd93","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.0.9.tgz","fileCount":22,"integrity":"sha512-IvB4q3Nf+jABqy/v80Q5Lc0hEhC93bpNHhZBv8AYzCKxaFMAE6mJUr1cX6YofTPYi8zLPZwtgQ/STo5il91k/Q==","signatures":[{"sig":"MEUCIQDFt+dOWkt+R/0L/WPy5mp9H4e13Sjz55N3vqjDK4vLRgIgLR17oDOOPMqf2dewnHoyTFp0ejf4PXE5VLx0WFVTOKA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40264},"main":"./index.cjs","type":"module","types":"./types/index.d.ts","module":"./index.js","engines":{"node":">=16"},"exports":{".":{"types":"./types/index.d.ts","import":"./index.js","require":"./index.cjs"}},"gitHead":"a62821dee31dbadb8180ff2f992f9b74bf7d7e2b","_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"_npmVersion":"10.9.3","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","directories":{},"_nodeVersion":"22.20.0","dependencies":{"eventsource":"^2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rauth-provider_2.0.9_1762457249727_0.09350891130566197","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"rauth-provider","version":"2.1.0","description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","type":"module","main":"./index.cjs","module":"./index.js","exports":{".":{"import":"./index.js","require":"./index.cjs"}},"types":"types/index.d.ts","keywords":["rauth","authentication","sse","webauthn","approval","node"],"author":{"name":"RAuth"},"license":"MIT","engines":{"node":">=16"},"dependencies":{"eventsource":"^2.0.2"},"_id":"rauth-provider@2.1.0","gitHead":"15166a552ad5589d815e7a7fced78b4bee25be57","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-W8FxgW6tVhjwr1fWZ8Q112TEBK/SaDInlTkp2vCmlcQwBIXLGJpmzpC6eSLyAAWWYl2xUs7ToQzPO1ieojtWGg==","shasum":"2e19bd63e7fdc63c2be7311468aeb0139e0dbdf8","tarball":"https://registry.npmjs.org/rauth-provider/-/rauth-provider-2.1.0.tgz","fileCount":22,"unpackedSize":46509,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQVbLckmbdNxINd8iA0nZ3C4hGmzbaQWFm88+jbPGLXwIgelRnQ1bYMxy6U+Qosdf0TjUXJ+5Xvq5B7jZWEBnR658="}]},"_npmUser":{"name":"rauth.io","email":"codesiddhant@gmail.com"},"directories":{},"maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rauth-provider_2.1.0_1762720999030_0.007237849487994108"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-05T22:32:27.799Z","modified":"2025-11-09T20:43:19.395Z","1.0.0":"2025-07-05T22:32:28.040Z","1.0.1":"2025-07-05T22:40:56.751Z","1.0.3":"2025-07-05T22:50:46.902Z","1.0.4":"2025-07-05T22:57:30.026Z","1.0.5":"2025-07-05T22:58:16.107Z","1.0.6":"2025-07-05T23:03:19.506Z","1.0.7":"2025-07-05T23:05:58.032Z","1.0.8":"2025-07-05T23:22:11.783Z","1.0.9":"2025-07-06T16:18:27.150Z","1.0.11":"2025-07-09T20:07:20.934Z","1.0.12":"2025-07-09T20:23:34.280Z","1.0.14":"2025-07-09T20:36:50.450Z","1.1.0":"2025-07-10T09:10:09.015Z","1.2.0":"2025-07-13T11:52:25.142Z","1.2.1":"2025-07-13T12:01:47.316Z","1.2.2":"2025-07-15T11:48:40.683Z","1.2.3":"2025-07-15T11:55:31.231Z","1.3.0":"2025-07-15T12:59:28.571Z","1.3.1":"2025-07-15T18:50:36.871Z","1.3.2":"2025-07-15T19:10:03.854Z","1.3.3":"2025-07-15T19:17:02.996Z","1.3.4":"2025-07-15T19:21:40.555Z","2.0.0":"2025-11-06T08:12:11.069Z","2.0.1":"2025-11-06T10:12:06.091Z","2.0.2":"2025-11-06T15:26:57.709Z","2.0.3":"2025-11-06T15:44:05.087Z","2.0.4":"2025-11-06T18:46:50.720Z","2.0.5":"2025-11-06T19:05:55.350Z","2.0.6":"2025-11-06T19:10:47.748Z","2.0.9":"2025-11-06T19:27:29.915Z","2.1.0":"2025-11-09T20:43:19.215Z"},"author":{"name":"RAuth"},"license":"MIT","keywords":["rauth","authentication","sse","webauthn","approval","node"],"description":"RAuth v2 Node.js backend SDK (mandatory SSE, approval verify, phone validation)","maintainers":[{"name":"rauth.io","email":"codesiddhant@gmail.com"}],"readme":"# 🟪 RAuth Provider (v2)\n\nA **production-ready Node.js backend SDK** for the [RAuth v2](https://rauth.io) authentication platform — enabling **OTP-free, secure, and real-time user verification**.\n\n---\n\n## 🚀 Overview\n\nRAuth Provider helps backend developers integrate **Reverse Authentication** (via WhatsApp, Reverse SMS, or the OneID App) and **passkey-based verification** without building complex verification flows.\n\nIt also provides **session** and **approval token** management for handling both authentication and authorization with high security.\n\n---\n\n## ✅ Features\n\n- 📲 **Reverse Authentication** – Verify users through WhatsApp, Reverse SMS, or OneID (no OTPs)\n- 🔐 **Session Management** – Create, validate, and auto-revoke active sessions\n- 📡 **Real-Time Updates** – Instantly sync token status using built-in SSE\n- 🧩 **Plug-and-Play API** – Simple, developer-friendly API surface\n- ⚡ **Express Middleware Support** – Drop-in integration for Express.js\n- 🛡️ **Secure by Design** – Uses JWT validation and authenticated API calls\n- 🧠 **Smart Caching** – In-memory tracking with API fallback for resilience\n- 🔗 **Fully Compatible with RAuth APIs** – Directly integrates with the `api.rauth.io/v2/` backend\n- 💜 **TypeScript Native** – Complete type definitions for modern development\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install rauth-provider\n````\n\n---\n\n## ⚙️ Quick Start (Hybrid ESM + CommonJS)\n\n### ESM / TypeScript (Recommended)\n\n```ts\nimport { RauthProvider } from 'rauth-provider';\n\nRauthProvider.init({\n  api_key: process.env.RAUTH_API_KEY!,\n  app_id: process.env.RAUTH_APP_ID!,\n});\n\n// Verify a session (phone must match and status must be verified)\nconst sessionOk = await RauthProvider.verifySession('session-token', '+1234567890');\n\n// Verify an approval (approval_token must map to a verified session for the phone)\nconst approval = await RauthProvider.verifyApproval('approval-token', '+1234567890');\n```\n\n### CommonJS (Legacy Node.js)\n\n```js\nconst { RauthProvider } = require('rauth-provider');\n\nRauthProvider.init({\n  api_key: process.env.RAUTH_API_KEY,\n  app_id: process.env.RAUTH_APP_ID,\n});\n\nconst sessionOk = await RauthProvider.verifySession('session-token', '+1234567890');\nconst approval = await RauthProvider.verifyApproval('approval-token', '+1234567890');\n```\n\n> ℹ️ **Note:** RauthProvider is a singleton instance — once initialized, it maintains shared state across your entire backend.\n\n---\n\n## 🧰 Usage Examples\n\n### ESM / TypeScript (Express + JWT + Approval Token)\n\nThe following examples demonstrate how to integrate RAuth with Express.js for login, sensitive actions, and secure routes.\n\n```ts\nimport express from 'express';\nimport jwt from 'jsonwebtoken';\nimport { RauthProvider } from 'rauth-provider';\n\nconst app = express();\napp.use(express.json());\n\nRauthProvider.init({\n  api_key: process.env.RAUTH_API_KEY!,\n  app_id: process.env.RAUTH_APP_ID!,\n});\n\n// 1) Login: exchange a verified session for your own JWT\napp.post('/auth/login', async (req, res) => {\n  const { session_token, phone } = req.body;\n  const ok = await RauthProvider.verifySession(session_token, phone);\n  if (!ok) return res.status(401).json({ error: 'not_verified' });\n\n  const jwtToken = jwt.sign({ phone, session_token }, process.env.JWT_SECRET!, {\n    expiresIn: '24h',\n  });\n  return res.json({ token: jwtToken });\n});\n\n// 2) Sensitive action: verify approval token\napp.post('/actions/transfer', async (req, res) => {\n  const { approval_token, phone, amount } = req.body;\n  const result = await RauthProvider.verifyApproval(approval_token, phone);\n  if (!result.valid) return res.status(401).json({ error: 'approval_invalid' });\n\n  // Continue with action (e.g., transfer money)\n  return res.json({ success: true, action: result.action, amount });\n});\n\n// 3) Protected route example (check revocation)\napp.get('/secure', async (req, res) => {\n  try {\n    const token = req.headers.authorization?.replace('Bearer ', '') || '';\n    const decoded = jwt.verify(token, process.env.JWT_SECRET!);\n    const revoked = await RauthProvider.isSessionRevoked(decoded.session_token, decoded.phone);\n    if (revoked) return res.status(401).json({ error: 'session_revoked' });\n    return res.json({ ok: true, user: decoded.phone });\n  } catch (e) {\n    return res.status(401).json({ error: 'invalid_jwt' });\n  }\n});\n\napp.listen(3000, () => console.log('Server running on 3000'));\n```\n\n### CommonJS (Express + JWT + Approval Token)\n\n```js\nconst express = require('express');\nconst jwt = require('jsonwebtoken');\nconst { RauthProvider } = require('rauth-provider');\n\nconst app = express();\napp.use(express.json());\n\nRauthProvider.init({ api_key: process.env.RAUTH_API_KEY, app_id: process.env.RAUTH_APP_ID });\n\napp.post('/auth/login', async (req, res) => {\n  const { session_token, phone } = req.body;\n  const ok = await RauthProvider.verifySession(session_token, phone);\n  if (!ok) return res.status(401).json({ error: 'not_verified' });\n  const token = jwt.sign({ phone, session_token }, process.env.JWT_SECRET, { expiresIn: '24h' });\n  res.json({ token });\n});\n\napp.post('/actions/transfer', async (req, res) => {\n  const { approval_token, phone, amount } = req.body;\n  const result = await RauthProvider.verifyApproval(approval_token, phone);\n  if (!result.valid) return res.status(401).json({ error: 'approval_invalid' });\n  res.json({ success: true, action: result.action, amount });\n});\n```\n\n---\n\n## 📘 API Reference\n\n### `RauthProvider.init(options)`\n\nInitializes the RAuth Provider with your credentials and optional configuration.\n\n**Parameters:**\n- `api_key` (string, required): Your RAuth API key\n- `app_id` (string, required): Your RAuth App ID\n- `logs` (boolean, optional): Enable console logging for debugging (default: `false`)\n\n```ts\nRauthProvider.init({\n  api_key: process.env.RAUTH_API_KEY!,\n  app_id: process.env.RAUTH_APP_ID!,\n  logs: true, // Enable logging for development\n});\n```\n\n> ℹ️ **Tip:** Set `logs: true` during development to see SSE events and internal state changes. Disable in production for cleaner logs.\n\n---\n\n### `RauthProvider.verifySession(sessionToken, userPhone)`\n\nVerifies that a session is valid, matches the given phone number, and is marked as verified.\n\n```ts\nconst isValid = await RauthProvider.verifySession('session-token', '+1234567890');\n// Returns: Promise<boolean>\n```\n\n---\n\n### `RauthProvider.isVerified(sessionToken, userPhone)`\n\nAlias for `verifySession()` that returns a boolean.\n\n```ts\nconst isVerified = await RauthProvider.isVerified('session-token', '+1234567890');\n```\n\n---\n\n### `RauthProvider.isSessionRevoked(sessionToken, userPhone)`\n\nChecks if a given session token has been revoked.\n\n```ts\nconst isRevoked = await RauthProvider.isSessionRevoked('session-token', '+1234567890');\n// Returns: Promise<boolean>\n```\n\n---\n\n### `RauthProvider.checkApiHealth()`\n\nTests connectivity with the RAuth API.\n\n```ts\nconst isHealthy = await RauthProvider.checkApiHealth();\n// Returns: Promise<boolean>\n```\n\n> 🧩 Additional helpers:\n>\n> * `getSessionStatus(sessionToken, phone)`\n> * `verifyApproval(approvalToken, phone)`\n\n---\n\n## 🔑 Token Types Explained\n\n### 1️⃣ Session Token (Authentication)\n\n**Purpose:**\nUsed during user signup or login to verify their mobile number and establish an authenticated session.\n\n**Lifecycle:**\nGenerated via `/v2/session/init`, becomes `verified` after the user confirms through WhatsApp, Reverse SMS, or OneID.\nIt’s then exchanged for your app’s own JWT or session.\n\n**Validation:**\nBackend verifies `{ session_token, phone }` using `/v2/backend/session/status` or the SDK helper `verifySession()`.\n\n**Example (Login Flow):**\n\n```ts\n// Exchange a verified session for your own JWT\napp.post('/auth/login', async (req, res) => {\n  const { session_token, phone } = req.body;\n  const ok = await RauthProvider.verifySession(session_token, phone);\n  if (!ok) return res.status(401).json({ error: 'not_verified' });\n\n  const token = jwt.sign({ phone, session_token }, process.env.JWT_SECRET!, { expiresIn: '24h' });\n  return res.json({ token });\n});\n```\n\n**When to use:**\n\n* User signup/login\n* Device or browser re-verification\n* Session restoration after inactivity\n\n---\n\n### 2️⃣ Approval Token (Authorization / Step-Up Authentication)\n\n**Purpose:**\nAuthorizes high-risk or sensitive actions (e.g., payments, password reset) after login.\nWorks seamlessly with **Passkeys** and **OneID** for biometric or in-app confirmation.\n\n**Lifecycle:**\nShort-lived and one-time use, bound to an existing verified session.\nGenerated when the frontend requests approval from the user, then verified by the backend before executing an action.\n\n**Validation:**\nBackend verifies `{ approval_token, phone }` using `/v2/approval/verify` or the SDK helper `verifyApproval()`.\n\n**Example (Sensitive Action):**\n\n```ts\n// Verify approval token before executing a sensitive operation\napp.post('/payments/transfer', async (req, res) => {\n  const { approval_token, phone, amount, recipient } = req.body;\n  const result = await RauthProvider.verifyApproval(approval_token, phone);\n  if (!result.valid) return res.status(401).json({ error: 'approval_invalid' });\n\n  // Proceed with transfer\n  return res.json({ success: true, amount, recipient });\n});\n```\n\n**Passkey & OneID Integration:**\n\n* Passkeys enable biometric 2FA (e.g., FaceID, fingerprint)\n* OneID app can prompt users for instant approval; SDK receives these via **SSE events**\n\n**When to use:**\n\n* Financial transactions\n* Password or 2FA changes\n* KYC submissions or data updates\n* Compliance-driven re-authentication\n\n---\n\n## ⚙️ Environment Variables\n\nCreate a `.env` file in your root directory:\n\n```\nRAUTH_API_KEY=your-rauth-api-key\nRAUTH_APP_ID=your-app-id\nJWT_SECRET=your-jwt-secret\n```\n\n---\n\n## ❗ Error Handling\n\nThe SDK throws detailed and structured errors. Wrap all calls in `try/catch` for robust handling.\n\n```ts\ntry {\n  RauthProvider.init({});\n} catch (error) {\n  console.error(error.message);\n  // Example: \"RauthProvider.init(): Missing required fields: api_key, app_id\"\n}\n```\n\n> API errors include HTTP context (e.g., `RAuth API error 400: Invalid token`).\n\n---\n\n## 🧩 Compatibility\n\n| Environment          | Supported                | Notes                                                 |\n| -------------------- | ------------------------ | ----------------------------------------------------- |\n| **ESM / TypeScript** | ✅                        | `import { RauthProvider } from 'rauth-provider'`      |\n| **CommonJS**         | ✅                        | `const { RauthProvider } = require('rauth-provider')` |\n| **Frameworks**       | Express, NestJS, Fastify | Works out of the box                                  |\n| **Node.js**          | ≥ 16.x                   | Required for ESM compatibility                        |\n\n---\n\n## 🧠 Summary\n\n| Token Type         | Purpose                            | Lifespan             | Example Use   |\n| ------------------ | ---------------------------------- | -------------------- | ------------- |\n| **Session Token**  | Mobile verification & login        | Long (session-bound) | Signup/Login  |\n| **Approval Token** | Step-up auth for sensitive actions | Short (one-time use) | Payments, 2FA |\n\n---\n\n**RAuth Provider (v2)** — making **passwordless, OTP-free authentication** effortless for developers.\n\n> 💡 Designed for simplicity. Secured by cryptography. Powered by RAuth.io.\n\n","readmeFilename":"README.md"}