browser-sdk icon indicating copy to clipboard operation
browser-sdk copied to clipboard

🐛 [RUM-97] Sanitize version parameter in configuration

Open RomanGaignault opened this issue 9 months ago • 0 comments

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.

RomanGaignault avatar May 06 '24 12:05 RomanGaignault