mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 02:43:25 +00:00
Fix ES module imports by adding .js extensions
- Added .js extensions to all import statements in source files - Fixes ERR_MODULE_NOT_FOUND error when using package with Node.js - Version bumped to 0.2.2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
*/
|
||||
|
||||
// Export main WebRTC client class
|
||||
export { Rondevu } from './rondevu';
|
||||
export { Rondevu } from './rondevu.js';
|
||||
|
||||
// Export connection class
|
||||
export { RondevuConnection } from './connection';
|
||||
export { RondevuConnection } from './connection.js';
|
||||
|
||||
// Export low-level signaling API (for advanced usage)
|
||||
export { RondevuAPI } from './client';
|
||||
export { RondevuAPI } from './client.js';
|
||||
|
||||
// Export all types
|
||||
export type {
|
||||
@@ -39,4 +39,4 @@ export type {
|
||||
HealthResponse,
|
||||
ErrorResponse,
|
||||
RondevuClientOptions,
|
||||
} from './types';
|
||||
} from './types.js';
|
||||
|
||||
Reference in New Issue
Block a user