@livepeer/core
Advanced tools
Comparing version 1.8.7 to 1.8.8
@@ -27,3 +27,3 @@ import { StoreApi } from 'zustand/vanilla'; | ||
export type ClipLength = 90 | 60 | 45 | 30 | 15 | 10; | ||
declare const omittedKeys: readonly ["_lastInteraction", "_requestSeekDiff", "_requestedFullscreenLastTime", "_requestedPictureInPictureLastTime", "_requestedPlayPauseLastTime", "_requestedRangeToSeekTo", "_playLastTime", "_setVolume", "_updateBuffered", "_updateLastInteraction", "_updateMediaStream", "_updateSource", "setIsVolumeChangeSupported", "setError", "setWebsocketMetadata", "setStalled", "setWaiting", "onProgress", "onDurationChange", "onPlay", "onPause", "onClipCreated", "onClipError", "_updatePlaybackOffsetMs"]; | ||
declare const omittedKeys: readonly ["_lastInteraction", "_requestSeekDiff", "_requestedFullscreenLastTime", "_requestedPictureInPictureLastTime", "_requestedPlayPauseLastTime", "_requestedRangeToSeekTo", "_playLastTime", "_setVolume", "_updateBuffered", "_updateLastInteraction", "_updateMediaStream", "_updateSource", "setIsVolumeChangeSupported", "setError", "setWebsocketMetadata", "setStalled", "setWaiting", "onProgress", "onDurationChange", "onPlay", "onPause", "onClipCreated", "onClipError", "onClipStarted", "_updatePlaybackOffsetMs"]; | ||
export declare const sanitizeMediaControllerState: <TElement, TMediaStream>(state: MediaControllerState<TElement, TMediaStream>) => MediaControllerCallbackState<TElement, TMediaStream>; | ||
@@ -65,2 +65,4 @@ export type MediaControllerCallbackState<TElement = HTMLMediaElement, TMediaStream = MediaStream> = Omit<MediaControllerState<TElement, TMediaStream>, typeof omittedKeys[number]>; | ||
/** Callback when a clip is created from the clip button. */ | ||
onClipStarted?: () => Promise<any> | any; | ||
/** Callback when a clip is created from the clip button. */ | ||
onClipCreated?: (asset: Asset) => Promise<any> | any; | ||
@@ -190,2 +192,3 @@ /** Callback when a clip fails to be created from the clip button. */ | ||
clipLength?: ClipLength; | ||
onClipStarted?: () => Promise<any> | any; | ||
onClipCreated?: (asset: Asset) => Promise<any> | any; | ||
@@ -192,0 +195,0 @@ onClipError?: (error: any) => Promise<any> | any; |
export declare const version: { | ||
readonly core: "@livepeer/core@1.8.7"; | ||
readonly react: "@livepeer/react@2.8.7"; | ||
readonly reactNative: "@livepeer/react-native@1.8.6"; | ||
readonly core: "@livepeer/core@1.8.8"; | ||
readonly react: "@livepeer/react@2.8.8"; | ||
readonly reactNative: "@livepeer/react-native@1.8.7"; | ||
}; |
@@ -7,7 +7,7 @@ 'use strict'; | ||
var client = require('./client-7e4fd284.cjs.dev.js'); | ||
var version = require('./version-c58aaea1.cjs.dev.js'); | ||
var version = require('./version-699d3fd3.cjs.dev.js'); | ||
var updateStream = require('./updateStream-26465265.cjs.dev.js'); | ||
var getStream = require('./getStream-a1e88460.cjs.dev.js'); | ||
var provider = require('./provider-56b1ec78.cjs.dev.js'); | ||
var controller = require('./controller-f4159f4a.cjs.dev.js'); | ||
var controller = require('./controller-3e1ecbbf.cjs.dev.js'); | ||
var string = require('./string-0759efb1.cjs.dev.js'); | ||
@@ -14,0 +14,0 @@ var deepMerge = require('./deepMerge-cb091110.cjs.dev.js'); |
@@ -7,7 +7,7 @@ 'use strict'; | ||
var client = require('./client-b49d615d.cjs.prod.js'); | ||
var version = require('./version-1ff05b39.cjs.prod.js'); | ||
var version = require('./version-5d7aa124.cjs.prod.js'); | ||
var updateStream = require('./updateStream-7eba57a6.cjs.prod.js'); | ||
var getStream = require('./getStream-03a26cdc.cjs.prod.js'); | ||
var provider = require('./provider-68cbe4e6.cjs.prod.js'); | ||
var controller = require('./controller-569ce9b5.cjs.prod.js'); | ||
var controller = require('./controller-462c42ad.cjs.prod.js'); | ||
var string = require('./string-7bb3bb00.cjs.prod.js'); | ||
@@ -14,0 +14,0 @@ var deepMerge = require('./deepMerge-87fd8395.cjs.prod.js'); |
export { ACCESS_CONTROL_ERROR_MESSAGE, BFRAMES_ERROR_MESSAGE, HttpError, NOT_ACCEPTABLE_ERROR_MESSAGE, STREAM_OFFLINE_ERROR_MESSAGE, STREAM_OPEN_ERROR_MESSAGE, isAccessControlError, isBframesError, isNotAcceptableError, isStreamOfflineError } from '../errors/dist/livepeer-core-errors.esm.js'; | ||
export { C as Client, c as clearClient, a as createClient, b as createStorage, n as noopStorage } from './client-8a4dc167.esm.js'; | ||
export { v as version } from './version-b9222696.esm.js'; | ||
export { v as version } from './version-cfa8f10e.esm.js'; | ||
export { c as createAsset, a as createClip, b as createStream, g as getAsset, d as getAssetMetrics, e as getPlaybackInfo, f as getStreamSession, h as getStreamSessions, u as updateAsset, i as updateStream, w as watchLivepeerProvider } from './updateStream-c0096efd.esm.js'; | ||
export { g as getLivepeerProvider, a as getStream } from './getStream-fd5ec1b5.esm.js'; | ||
export { d as defaultStudioConfig, a as defaultTranscodingProfiles } from './provider-a18dabb6.esm.js'; | ||
export { c as createControllerStore, g as getMediaSourceType, s as sanitizeMediaControllerState } from './controller-05a1176b.esm.js'; | ||
export { c as createControllerStore, g as getMediaSourceType, s as sanitizeMediaControllerState } from './controller-d419b627.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 } from './deepMerge-577dcbf6.esm.js'; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var controller = require('../../dist/controller-f4159f4a.cjs.dev.js'); | ||
var controller = require('../../dist/controller-3e1ecbbf.cjs.dev.js'); | ||
var fetch = require('cross-fetch'); | ||
@@ -8,0 +8,0 @@ require('zustand/middleware'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var controller = require('../../dist/controller-569ce9b5.cjs.prod.js'); | ||
var controller = require('../../dist/controller-462c42ad.cjs.prod.js'); | ||
var fetch = require('cross-fetch'); | ||
@@ -8,0 +8,0 @@ require('zustand/middleware'); |
@@ -1,2 +0,2 @@ | ||
export { D as DEFAULT_AUTOHIDE_TIME, a as DEFAULT_VOLUME_LEVEL, c as createControllerStore, g as getMediaSourceType, s as sanitizeMediaControllerState } from '../../dist/controller-05a1176b.esm.js'; | ||
export { D as DEFAULT_AUTOHIDE_TIME, a as DEFAULT_VOLUME_LEVEL, c as createControllerStore, g as getMediaSourceType, s as sanitizeMediaControllerState } from '../../dist/controller-d419b627.esm.js'; | ||
import fetch from 'cross-fetch'; | ||
@@ -3,0 +3,0 @@ import 'zustand/middleware'; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.8.7", | ||
"version": "1.8.8", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var errors_dist_livepeerCoreErrors = require('../../../errors/dist/livepeer-core-errors.cjs.dev.js'); | ||
var version = require('../../../dist/version-c58aaea1.cjs.dev.js'); | ||
var version = require('../../../dist/version-699d3fd3.cjs.dev.js'); | ||
var provider = require('../../../dist/provider-56b1ec78.cjs.dev.js'); | ||
@@ -11,0 +11,0 @@ |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var errors_dist_livepeerCoreErrors = require('../../../errors/dist/livepeer-core-errors.cjs.prod.js'); | ||
var version = require('../../../dist/version-1ff05b39.cjs.prod.js'); | ||
var version = require('../../../dist/version-5d7aa124.cjs.prod.js'); | ||
var provider = require('../../../dist/provider-68cbe4e6.cjs.prod.js'); | ||
@@ -11,0 +11,0 @@ |
import * as tus from 'tus-js-client'; | ||
import fetch from 'cross-fetch'; | ||
import { HttpError } from '../../../errors/dist/livepeer-core-errors.esm.js'; | ||
import { v as version } from '../../../dist/version-b9222696.esm.js'; | ||
import { v as version } from '../../../dist/version-cfa8f10e.esm.js'; | ||
import { d as defaultStudioConfig } from '../../../dist/provider-a18dabb6.esm.js'; | ||
@@ -6,0 +6,0 @@ |
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
880350
34704