langfuse-js icon indicating copy to clipboard operation
langfuse-js copied to clipboard

fix: fix uri encode

Open maxdeichmann opened this issue 1 year ago • 1 comments

[!IMPORTANT] Fixes URI encoding in encodeQueryParams by encoding keys and values with encodeURIComponent and handling Date objects.

  • Behavior:
    • Fixes URI encoding in encodeQueryParams function in utils.ts.
    • Encodes both keys and values using encodeURIComponent.
    • Converts Date objects to ISO strings before encoding.
  • Misc:
    • Removes use of URLSearchParams in encodeQueryParams.

This description was created by Ellipsis for a4b75abcbaa8c07ebba64dcb06512a6d81880d02. It will automatically update as commits are pushed.

maxdeichmann avatar Oct 08 '24 23:10 maxdeichmann

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-js ✅ Ready (Inspect) Visit Preview Oct 8, 2024 11:31pm

vercel[bot] avatar Oct 08 '24 23:10 vercel[bot]