alan-ai / alan-sdk-web

Generative AI SDK for Web to create AI Agents for apps built with JavaScript, React, Angular, Vue, Ember, Electron

Home Page:https://alan.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console displaying Alan AI api key.

AmeyaDalvi opened this issue · comments

Bug Report:

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and a minimal demo of the problem (if possible).
Your bug will get fixed much faster if we can run your code.

Current behavior: google chrome dev tools console displays alan ai api key

Reproduction steps: Just create a next-app project and import the alan ai sdk as mentioned in these server-side rendering docs provided by alan ai.
Here's the link for the same- https://alan.app/docs/client-api/web/server-side-rendering/

What is the expected behavior?

Expected behavior: dev tools console should not display the alan ai api key.

Which versions of alan-sdk-web are you using, and which browsers / OS's are affected by this issue?

I'm using alan-sdk-web version - 1.8.43. I'm primarily testing it on chrome. I have a Mac OS

Did you use it with some framework (Angular, React, etc)?

Yes- I'm using NextJS

Did it work in the previous versions?

Browser - Chrome
OS - Mac OS
Framework - NextJS
alan-sdk-web - 1.8.43