@centive/aria-sdk 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -333,6 +333,31 @@ Requires WebRTC support for video streaming.
333
333
  - Ensure you're not blocking the SDK's DOM elements with CSS
334
334
  - Check browser console for React rendering errors
335
335
 
336
+ ### "Cannot read properties of undefined (reading 'S')" error
337
+
338
+ This error typically occurs when the `@anam-ai/js-sdk` package isn't properly configured in your bundler.
339
+
340
+ **For Vite users**, add the following to your `vite.config.ts`:
341
+
342
+ ```typescript
343
+ import { defineConfig } from 'vite'
344
+ import react from '@vitejs/plugin-react'
345
+
346
+ export default defineConfig({
347
+ plugins: [react()],
348
+ optimizeDeps: {
349
+ exclude: ['@anam-ai/js-sdk']
350
+ },
351
+ build: {
352
+ commonjsOptions: {
353
+ exclude: ['@anam-ai/js-sdk']
354
+ }
355
+ }
356
+ })
357
+ ```
358
+
359
+ **For Webpack users**, you may need to add `@anam-ai/js-sdk` to your externals or configure it as a non-bundled dependency.
360
+
336
361
  ---
337
362
 
338
363
  ## API Reference