browser-sdk
browser-sdk copied to clipboard
🐛 [RUM-97] Sanitize version parameter in configuration
Motivation
Setting a non-string value for the 'version' init option causes the SDK to fail silently.
Changes
Add validation to ensure that the 'version' parameter is properly defined as a string.
Testing
- [x] Local
- [ ] Staging
- [ ] Unit
- [ ] End to end
I have gone over the contributing documentation.