rauth-provider
Version:
A lightweight, plug-and-play Node.js library for phone number authentication using the Rauth.io reverse verification flow via WhatsApp or SMS.
34 lines (26 loc) • 1.38 kB
Markdown
# Changelog
## v1.0.9 - 2023-05-02
### Breaking Changes
- None (backward compatible)
### New Features
- Updated API response format from `/init` endpoint now includes:
- `wa_link`: WhatsApp deep link for direct verification
- `qr_image_link`: QR code image URL for WhatsApp verification
- Sessions are now only stored when received from webhook (not from init response)
- Added type definition for new API response format (`ApiSessionInitResponse`)
### Updates
- Modified `initSession()` method to pass through the new response format
- Updated README and example code to demonstrate how to use the new response format
- Improved documentation to show how to forward the response to clients
### Developer Experience
- Simplified example implementation
- Added clearer comments about API response format
- Updated TypeScript definitions for better IDE support
## v1.0.8 - 2023-04-15
- Maintenance and documentation updates
## [1.0.13] - 2024-07-09
### Fixed
- Corrected export pattern in index.js for full CommonJS compatibility. Removed 'module.exports.default' to ensure named exports work as expected in all Node.js versions.
## [1.1.0] - 2024-07-09
### Changed
- Removed all usage, config, and documentation of `webhook_url`. The library now gets the webhook URL by app_id in the backend. Passing webhook_url to init() is ignored.