@livepeer/core
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -8,3 +8,3 @@ export { createAsset, createStream, getAsset, getAssetMetrics, getLivepeerProvider, getPlaybackInfo, getStream, getStreamSession, getStreamSessions, updateAsset, updateStream, watchLivepeerProvider, } from './actions'; | ||
export { createControllerStore, getMediaSourceType } from './media'; | ||
export type { AudioSrc, ControlsOptions, DeviceInformation, ElementSize, HlsSrc, MediaControllerState, MediaControllerStore, MediaMetrics, MediaSizing, MetricsStatus, PlaybackMonitor, PlayerPropsOptions, Src, VideoSrc, } from './media'; | ||
export type { AudioSrc, Base64Src, ControlsOptions, DeviceInformation, ElementSize, HlsSrc, MediaControllerState, MediaControllerStore, MediaMetrics, MediaSizing, MetricsStatus, PlaybackMonitor, PlayerPropsOptions, Src, VideoSrc, } from './media'; | ||
export { createStorage, noopStorage } from './storage'; | ||
@@ -11,0 +11,0 @@ export type { ClientStorage as Storage } from './storage'; |
@@ -6,4 +6,4 @@ export { createControllerStore, DEFAULT_AUTOHIDE_TIME, DEFAULT_VOLUME_LEVEL, } from './controller'; | ||
export { getMediaSourceType } from './src'; | ||
export type { AudioSrc, HlsSrc, Src, VideoSrc } from './src'; | ||
export type { AudioSrc, Base64Src, HlsSrc, Src, VideoSrc } from './src'; | ||
export { aspectRatios } from './theme'; | ||
export type { AspectRatio, FontWeights, ThemeConfig } from './theme'; |
@@ -19,2 +19,6 @@ import { MimeType } from './mime'; | ||
} | ||
export interface Base64Src extends BaseSrc { | ||
type: 'video'; | ||
src: `${string}`; | ||
} | ||
export interface HlsSrc extends BaseSrc { | ||
@@ -24,4 +28,4 @@ type: 'hls'; | ||
} | ||
export type Src = AudioSrc | HlsSrc | VideoSrc; | ||
export declare const getMediaSourceType: (src: string) => HlsSrc | AudioSrc | VideoSrc | null; | ||
export type Src = AudioSrc | HlsSrc | VideoSrc | Base64Src; | ||
export declare const getMediaSourceType: (src: string) => HlsSrc | AudioSrc | VideoSrc | Base64Src | null; | ||
export {}; |
@@ -1,3 +0,3 @@ | ||
export declare const core = "@livepeer/core@1.4.0"; | ||
export declare const react = "@livepeer/react@2.4.0"; | ||
export declare const reactNative = "@livepeer/react-native@1.4.0"; | ||
export declare const core = "@livepeer/core@1.4.1"; | ||
export declare const react = "@livepeer/react@2.4.1"; | ||
export declare const reactNative = "@livepeer/react-native@1.4.1"; |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var provider = require('./provider-838e9dd9.cjs.dev.js'); | ||
var src = require('./src-d1c903ff.cjs.dev.js'); | ||
var src = require('./src-e1446517.cjs.dev.js'); | ||
var string = require('./string-0759efb1.cjs.dev.js'); | ||
@@ -13,0 +13,0 @@ var omick = require('./omick-69c95136.cjs.dev.js'); |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var provider = require('./provider-f763db3e.cjs.prod.js'); | ||
var src = require('./src-7de7a5e4.cjs.prod.js'); | ||
var src = require('./src-58b9e5f1.cjs.prod.js'); | ||
var string = require('./string-7bb3bb00.cjs.prod.js'); | ||
@@ -13,0 +13,0 @@ var omick = require('./omick-088c0789.cjs.prod.js'); |
@@ -6,3 +6,3 @@ export { HttpError } from '../errors/dist/livepeer-core-errors.esm.js'; | ||
export { d as defaultStudioConfig, a as defaultTranscodingProfiles } from './provider-3254bb2f.esm.js'; | ||
export { c as createControllerStore, g as getMediaSourceType } from './src-c300ce89.esm.js'; | ||
export { c as createControllerStore, g as getMediaSourceType } from './src-36073946.esm.js'; | ||
export { b as b64Decode, a as b64Encode, c as b64UrlDecode, d as b64UrlEncode } from './string-9a973b0a.esm.js'; | ||
@@ -9,0 +9,0 @@ export { d as deepMerge, o as omit, p as pick } from './omick-f3e60faa.esm.js'; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var src = require('../../dist/src-d1c903ff.cjs.dev.js'); | ||
var src = require('../../dist/src-e1446517.cjs.dev.js'); | ||
var fetch = require('cross-fetch'); | ||
@@ -8,0 +8,0 @@ require('zustand/middleware'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var src = require('../../dist/src-7de7a5e4.cjs.prod.js'); | ||
var src = require('../../dist/src-58b9e5f1.cjs.prod.js'); | ||
var fetch = require('cross-fetch'); | ||
@@ -8,0 +8,0 @@ require('zustand/middleware'); |
@@ -1,3 +0,3 @@ | ||
import { g as getMediaSourceType } from '../../dist/src-c300ce89.esm.js'; | ||
export { D as DEFAULT_AUTOHIDE_TIME, a as DEFAULT_VOLUME_LEVEL, c as createControllerStore, g as getMediaSourceType } from '../../dist/src-c300ce89.esm.js'; | ||
import { g as getMediaSourceType } from '../../dist/src-36073946.esm.js'; | ||
export { D as DEFAULT_AUTOHIDE_TIME, a as DEFAULT_VOLUME_LEVEL, c as createControllerStore, g as getMediaSourceType } from '../../dist/src-36073946.esm.js'; | ||
import fetch from 'cross-fetch'; | ||
@@ -4,0 +4,0 @@ import 'zustand/middleware'; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.4.0`; | ||
const react = `@livepeer/react@2.4.0`; | ||
const reactNative = `@livepeer/react-native@1.4.0`; | ||
const core = `@livepeer/core@1.4.1`; | ||
const react = `@livepeer/react@2.4.1`; | ||
const reactNative = `@livepeer/react-native@1.4.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.4.0`; | ||
const react = `@livepeer/react@2.4.0`; | ||
const reactNative = `@livepeer/react-native@1.4.0`; | ||
const core = `@livepeer/core@1.4.1`; | ||
const react = `@livepeer/react@2.4.1`; | ||
const reactNative = `@livepeer/react-native@1.4.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -6,5 +6,5 @@ import * as tus from 'tus-js-client'; | ||
const core = `@livepeer/core@1.4.0`; | ||
const react = `@livepeer/react@2.4.0`; | ||
const reactNative = `@livepeer/react-native@1.4.0`; | ||
const core = `@livepeer/core@1.4.1`; | ||
const react = `@livepeer/react@2.4.1`; | ||
const reactNative = `@livepeer/react-native@1.4.1`; | ||
@@ -11,0 +11,0 @@ class BaseLivepeerProvider { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
846764
33969