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

@types/chrome

Package Overview
Dependencies
Maintainers
1
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chrome - npm Package Compare versions

Comparing version 0.0.251 to 0.0.252

70

chrome/chrome-cast/index.d.ts

@@ -98,3 +98,3 @@ ////////////////////

*/
export var VERSION: Array<number>;
export var VERSION: number[];

@@ -160,3 +160,3 @@ /**

export function setCustomReceivers(
receivers: Array<chrome.cast.Receiver>,
receivers: chrome.cast.Receiver[],
successCallback: Function,

@@ -252,6 +252,6 @@ errorCallback: (error: chrome.cast.Error) => void,

*/
constructor(appId: string, capabilities?: Array<chrome.cast.Capability>, timeout?: number);
constructor(appId: string, capabilities?: chrome.cast.Capability[], timeout?: number);
appId: string;
capabilities: Array<chrome.cast.Capability>;
capabilities: chrome.cast.Capability[];
requestSessionTimeout: number;

@@ -274,3 +274,3 @@ language: string | null;

displayName: string,
appImages: Array<chrome.cast.Image>,
appImages: chrome.cast.Image[],
receiver: chrome.cast.Receiver,

@@ -282,7 +282,7 @@ );

displayName: string;
appImages: Array<chrome.cast.Image>;
appImages: chrome.cast.Image[];
receiver: chrome.cast.Receiver;
senderApps: Array<chrome.cast.SenderApplication>;
senderApps: chrome.cast.SenderApplication[];
namespaces: Array<{ name: string }>;
media: Array<chrome.cast.media.Media>;
media: chrome.cast.media.Media[];
status: chrome.cast.SessionStatus;

@@ -405,3 +405,3 @@ statusText: string | null;

friendlyName: string,
capabilities?: Array<chrome.cast.Capability>,
capabilities?: chrome.cast.Capability[],
volume?: chrome.cast.Volume,

@@ -412,3 +412,3 @@ );

friendlyName: string;
capabilities: Array<chrome.cast.Capability>;
capabilities: chrome.cast.Capability[];
volume: chrome.cast.Volume;

@@ -425,6 +425,6 @@ receiverType: chrome.cast.ReceiverType;

*/
constructor(statusText: string, appImages: Array<chrome.cast.Image>);
constructor(statusText: string, appImages: chrome.cast.Image[]);
statusText: string;
appImages: Array<chrome.cast.Image>;
appImages: chrome.cast.Image[];
}

@@ -523,3 +523,3 @@

activeTrackIds: Array<Number>;
activeTrackIds: Number[];
autoplay: boolean;

@@ -538,6 +538,6 @@ customData: Object;

*/
constructor(items: Array<chrome.cast.media.QueueItem>);
constructor(items: chrome.cast.media.QueueItem[]);
customData: Object;
items: Array<chrome.cast.media.QueueItem>;
items: chrome.cast.media.QueueItem[];
repeatMode: chrome.cast.media.RepeatMode;

@@ -552,7 +552,7 @@ startIndex: number;

*/
constructor(itemsToInsert: Array<chrome.cast.media.QueueItem>);
constructor(itemsToInsert: chrome.cast.media.QueueItem[]);
customData: Object;
insertBefore: number;
items: Array<chrome.cast.media.QueueItem>;
items: chrome.cast.media.QueueItem[];
}

@@ -565,6 +565,6 @@

*/
constructor(itemIdsToRemove: Array<number>);
constructor(itemIdsToRemove: number[]);
customData: Object;
itemIds: Array<number>;
itemIds: number[];
}

@@ -577,7 +577,7 @@

*/
constructor(itemIdsToReorder: Array<number>);
constructor(itemIdsToReorder: number[]);
customData: Object;
insertBefore: number;
itemIds: Array<number>;
itemIds: number[];
}

@@ -590,6 +590,6 @@

*/
constructor(itemsToUpdate: Array<chrome.cast.media.QueueItem>);
constructor(itemsToUpdate: chrome.cast.media.QueueItem[]);
customData: Object;
item: Array<chrome.cast.media.QueueItem>;
item: chrome.cast.media.QueueItem[];
}

@@ -725,3 +725,3 @@

activeTrackIds: Array<number>;
activeTrackIds: number[];
autoplay: boolean;

@@ -740,5 +740,5 @@ currentTime: number;

*/
constructor(activeTrackIds?: Array<number>, textTrackStyle?: chrome.cast.media.TextTrackStyle);
constructor(activeTrackIds?: number[], textTrackStyle?: chrome.cast.media.TextTrackStyle);
activeTrackIds: Array<number>;
activeTrackIds: number[];
textTrackStyle: chrome.cast.media.TextTrackStyle;

@@ -748,3 +748,3 @@ }

export class GenericMediaMetadata {
images: Array<chrome.cast.Image>;
images: chrome.cast.Image[];
metadataType: chrome.cast.media.MetadataType;

@@ -766,3 +766,3 @@ releaseDate: string;

images: Array<chrome.cast.Image>;
images: chrome.cast.Image[];
metadataType: chrome.cast.media.MetadataType;

@@ -790,3 +790,3 @@ releaseDate: string;

episode: number;
images: Array<chrome.cast.Image>;
images: chrome.cast.Image[];
originalAirdate: string;

@@ -821,3 +821,3 @@

discNumber: number;
images: Array<chrome.cast.Image>;
images: chrome.cast.Image[];
releaseDate: string;

@@ -843,3 +843,3 @@

location: string;
images: Array<chrome.cast.Image>;
images: chrome.cast.Image[];
latitude: number;

@@ -868,3 +868,3 @@ longitude: number;

duration: number;
tracks: Array<chrome.cast.media.Track>;
tracks: chrome.cast.media.Track[];
textTrackStyle: chrome.cast.media.TextTrackStyle;

@@ -882,7 +882,7 @@ customData: Object;

activeTrackIds: Array<number>;
activeTrackIds: number[];
currentItemId: number;
customData: Object;
idleReason: chrome.cast.media.IdleReason | null;
items: Array<chrome.cast.media.QueueItem>;
items: chrome.cast.media.QueueItem[];
liveSeekableRange?: chrome.cast.media.LiveSeekableRange | undefined;

@@ -897,3 +897,3 @@ loadingItemId: number;

sessionId: string;
supportedMediaCommands: Array<chrome.cast.media.MediaCommand>;
supportedMediaCommands: chrome.cast.media.MediaCommand[];
volume: chrome.cast.Volume;

@@ -900,0 +900,0 @@

{
"name": "@types/chrome",
"version": "0.0.251",
"version": "0.0.252",
"description": "TypeScript definitions for chrome",

@@ -96,4 +96,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",

},
"typesPublisherContentHash": "c573dbaafc6ec5b81d1e2706b1c732aaeb55cf9541939c5ff4ea29c521af1abb",
"typesPublisherContentHash": "dca1bd9e1bd607c199132d09e1051c5c05dd3351ac7400b5749a5775f7daf4e5",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 09 Nov 2023 17:36:25 GMT
* Last updated: Mon, 20 Nov 2023 23:36:23 GMT
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)

@@ -14,0 +14,0 @@

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