juancarmore 0cab67eb65 Implement authentication transport modes for JWT tokens
- Added AuthTransportMode enum to define COOKIE and HEADER modes.
- Updated AuthenticationConfig interface to include authTransportMode.
- Refactored token handling in participant and recording services to support header-based authentication.
- Introduced TokenStorageService for managing JWT tokens in localStorage and sessionStorage.
- Modified middleware and controllers to utilize new token extraction methods based on transport mode.
- Updated frontend services and components to handle token storage and retrieval according to the selected transport mode.
- Enhanced error handling and logging for authentication processes.
2025-10-09 19:13:08 +02:00
..

@types/openvidu-meet

This library contains common types used by the OpenVidu Meet application. It is a shared library that is used by both the frontend and backend of the application.

Build

To build the library, run the following command:

npm install
npm run build

Serve

For developing purposes, you can serve the library for actively watching changes. To do so, run the following command:

npm run serve

Sync with OpenVidu Meet

To apply changes from this library to the OpenVidu Meet application, use the sync-types.sh script:

Basic Usage

# Sync to all targets (default)
./sync-types.sh

# Sync to Community Edition targets only
./sync-types.sh ce

# Sync to Professional Edition target only
./sync-types.sh pro

# Sync to a specific target
./sync-types.sh frontend

Advanced Options

# Show what would be done without actually doing it
./sync-types.sh --dry-run ce

# Verbose output
./sync-types.sh --verbose frontend

# Add headers to source files and sync
./sync-types.sh --add-headers

# List all available targets
./sync-types.sh --list-targets

# Show help
./sync-types.sh --help

Available Targets

  • frontend: Frontend shared components
  • backend: Backend types
  • webcomponent: Web component types
  • pro: Professional edition types

Legacy NPM Commands

For compatibility, you can still use:

npm run sync-ce