samvyo-js-sdk 2.0.29 → 2.0.34-test.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samvyo-js-sdk",
3
- "version": "2.0.29",
3
+ "version": "2.0.34-test.0",
4
4
  "description": "This is the client js sdk for cutting-edge Samvyo real-time voice/video cloud.",
5
5
  "repository": "git@github.com:sauravkp/VidScale-client-js.git",
6
6
  "author": "sauravkp <saurav.codes@gmail.com>",
package/vite.config.js CHANGED
@@ -36,8 +36,10 @@ export default defineConfig({
36
36
  minify: process.env.NODE_ENV === 'production' ? 'terser' : false,
37
37
  terserOptions: process.env.NODE_ENV === 'production' ? {
38
38
  compress: {
39
- drop_console: true,
40
- drop_debugger: true
39
+ // Only drop console.log and console.debug, but keep console.info, console.warn, console.error
40
+ // so that the debug library can work when localStorage.debug is set
41
+ // pure_funcs: ['console.log', 'console.debug'],
42
+ // drop_debugger: true
41
43
  }
42
44
  } : undefined
43
45
  },