Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@daily-co/daily-js

Package Overview
Dependencies
Maintainers
13
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daily-co/daily-js - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0-beta.0

66

index.d.ts

@@ -79,3 +79,4 @@ // Type definitions for daily-js

| 'waiting-participant-updated'
| 'waiting-participant-removed';
| 'waiting-participant-removed'
| 'theme-updated';

@@ -117,2 +118,55 @@ export type DailyMeetingState =

export interface DailyThemeColors {
/**
* Main theme color. Used for primary actions and keyboard focus.
*/
accent?: string;
/**
* Text color rendered on `accent`.
*/
accentText?: string;
/**
* Background color.
*/
background?: string;
/**
* Background color for highlighted elements.
*/
backgroundAccent?: string;
/**
* Default text color, as rendered on `background` or `backgroundAccent`.
*/
baseText?: string;
/**
* Default border color for bordered elements.
*/
border?: string;
/**
* Background color for the call main area.
*/
mainAreaBg?: string;
/**
* Background color for video tiles.
*/
mainAreaBgAccent?: string;
/**
* Text color for text rendered inside the call main area, e.g. names.
*/
mainAreaText?: string;
/**
* Text color for supportive, less emphasized, text.
*/
supportiveText?: string;
}
export type DailyTheme = {
colors: DailyThemeColors;
};
export type DailyThemeConfig =
| DailyTheme
| {
light: DailyTheme;
dark: DailyTheme;
};
export interface DailyCallOptions {

@@ -135,2 +189,3 @@ url?: string;

audioSource?: string | MediaStreamTrack;
theme?: DailyThemeConfig;
}

@@ -528,2 +583,7 @@

export interface DailyEventObjectThemeUpdated {
action: Extract<DailyEvent, 'theme-updated'>;
theme: DailyThemeConfig;
}
export type DailyEventObject<

@@ -569,2 +629,4 @@ T extends DailyEvent = any

? DailyEventObjectLangUpdated
: T extends DailyEventObjectThemeUpdated['action']
? DailyEventObjectThemeUpdated
: any;

@@ -728,2 +790,4 @@

setShowParticipantsBar(show: boolean): DailyCall;
theme(): DailyThemeConfig;
setTheme(theme: DailyThemeConfig): Promise<DailyThemeConfig>;
showLocalVideo(): boolean;

@@ -730,0 +794,0 @@ showParticipantsBar(): boolean;

2

package.json
{
"name": "@daily-co/daily-js",
"version": "0.15.0",
"version": "0.16.0-beta.0",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=10.0.0"

@@ -45,2 +45,6 @@ //

export const DAILY_EVENT_IFRAME_READY_FOR_LAUNCH_CONFIG =
'iframe-ready-for-launch-config';
export const DAILY_EVENT_IFRAME_LAUNCH_CONFIG = 'iframe-launch-config';
export const DAILY_EVENT_THEME_UPDATED = 'theme-updated';
export const DAILY_EVENT_LOADING = 'loading';

@@ -111,2 +115,3 @@ export const DAILY_EVENT_LOAD_ATTEMPT_FAILED = 'load-attempt-failed';

export const DAILY_METHOD_SET_THEME = 'set-theme';
export const DAILY_METHOD_START_CAMERA = 'start-camera';

@@ -113,0 +118,0 @@ export const DAILY_METHOD_SET_INPUT_DEVICES = 'set-input-devices';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc