Socket
Socket
Sign inDemoInstall

@00-team/vito

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

lib/components/actions/FullScreen.d.ts

3

lib/BaseComponent.d.ts

@@ -11,5 +11,6 @@ import { PureComponent, ContextType } from 'react';

sources: import("./types").SourceObjectList;
changeSource: (s: import("./types").SourceObject) => void;
toasts: import("./types").Toast[] | undefined;
setToast: (t: string) => void;
}
export default BaseComponent;
//# sourceMappingURL=BaseComponent.d.ts.map
/// <reference types="react" />
import { Options, SourceObject, SourceObjectList } from '../types';
interface PlayerContextType {
import { SourceObject, SourceObjectList } from '../types';
import { BasePlayerModel } from '../types';
interface PlayerContextType extends BasePlayerModel {
video: HTMLVideoElement;
vito: HTMLDivElement;
options?: Options;
sources: SourceObjectList;
source: SourceObject;
changeSource: (s: SourceObject) => void;
setToast: (t: string) => void;
}

@@ -11,0 +11,0 @@ declare const PlayerContext: import("react").Context<PlayerContextType>;

import { PureComponent, ReactElement } from 'react';
import { Source, Options, SourceObject, SourceObjectList } from './types';
import { BasePlayerModel } from './types';
import { Source, Options } from './types';
import './style/player.scss';

@@ -8,8 +9,3 @@ interface PlayerProps {

}
interface PlayerState {
video?: HTMLVideoElement;
vito?: HTMLDivElement;
options?: Options;
sources?: SourceObjectList;
source?: SourceObject;
interface PlayerState extends BasePlayerModel {
}

@@ -19,3 +15,4 @@ declare class Player extends PureComponent<PlayerProps, PlayerState> {

componentDidMount(): void;
private changeSource;
private setToast;
private setToastPR;
render(): ReactElement;

@@ -22,0 +19,0 @@ }

@@ -1,2 +0,3 @@

import { PureComponent, ReactElement } from 'react';
import { ReactElement } from 'react';
import BaseComponent from 'BaseComponent';
import './style/controls.scss';

@@ -7,3 +8,3 @@ interface ControlsProps {

}
declare class Controls extends PureComponent<ControlsProps, ControlsState> {
declare class Controls extends BaseComponent<ControlsProps, ControlsState> {
state: ControlsState;

@@ -10,0 +11,0 @@ render(): ReactElement;

@@ -1,9 +0,16 @@

import { PureComponent, ReactElement } from 'react';
import { ReactElement } from 'react';
import './style/index.scss';
import BaseComponent from 'BaseComponent';
interface MobileProps {
}
interface MobileState {
hide: boolean;
}
declare class Mobile extends PureComponent<MobileProps, MobileState> {
declare class Mobile extends BaseComponent<MobileProps, MobileState> {
state: MobileState;
private HideCheck;
private HideCheckPR;
private UpdateHide;
componentDidMount(): void;
componentWillUnmount(): void;
render(): ReactElement;

@@ -10,0 +17,0 @@ }

@@ -12,5 +12,5 @@ import { ReactElement } from 'react';

private UpdateIsPlaying;
private UpdateIsPlayingPr;
private UpdateIsPlayingPR;
private UpdateIsLoading;
private UpdateIsLoadingPr;
private UpdateIsLoadingPR;
componentDidMount(): void;

@@ -17,0 +17,0 @@ componentWillUnmount(): void;

import { FC } from 'react';
import { SourceObject, SourceObjectList, Options } from '../types';
interface RootProps {
video?: HTMLVideoElement;
vito?: HTMLDivElement;
options?: Options;
sources?: SourceObjectList;
source?: SourceObject;
changeSource: (s: SourceObject) => void;
import { BasePlayerModel } from '../types';
interface RootProps extends BasePlayerModel {
setToast: (t: string) => void;
}

@@ -11,0 +6,0 @@ declare const Root: FC<RootProps>;

{
"name": "@00-team/vito",
"private": false,
"version": "0.0.3",
"version": "0.0.4",
"description": "00 Team React Video Player. Vito!",

@@ -59,2 +59,3 @@ "main": "./lib/index.js",

"ts-node": "^10.7.0",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.6.3",

@@ -61,0 +62,0 @@ "webpack": "^5.72.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc