protectai / rebuff

LLM Prompt Injection Detector
https://playground.rebuff.ai
Apache License 2.0
1.06k stars 73 forks source link

Update JS language target #64

Closed ristomcgehee closed 10 months ago

ristomcgehee commented 10 months ago

When I ran npm run build inside javascript-sdk, I got this error:

../node_modules/langchain/node_modules/openai/core.d.ts:179:3 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

179   #private;

This was likely introduced by me when I introduced Langchain in https://github.com/protectai/rebuff/pull/40.