@livepeer/core
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,4 +1,4 @@ | ||
import { GetLivepeerProviderResult } from './getLivepeerProvider'; | ||
import { LivepeerProvider } from '../../types'; | ||
import { GetLivepeerProviderResult } from './getLivepeerProvider'; | ||
export type WatchLivepeerProviderCallback<TLivepeerProvider extends LivepeerProvider = LivepeerProvider> = (provider: GetLivepeerProviderResult<TLivepeerProvider>) => void; | ||
export declare function watchLivepeerProvider<TLivepeerProvider extends LivepeerProvider = LivepeerProvider>(callback: WatchLivepeerProviderCallback<TLivepeerProvider>): () => void; |
@@ -25,11 +25,11 @@ import { Address } from '../types'; | ||
export type TestnetLivepeerChain = keyof typeof testnetChainId; | ||
export type TestnetLivepeerChainId = typeof testnetChainId[TestnetLivepeerChain]; | ||
export type TestnetLivepeerChainId = (typeof testnetChainId)[TestnetLivepeerChain]; | ||
export type MainnetLivepeerChain = keyof typeof mainnetChainId; | ||
export type MainnetLivepeerChainId = typeof mainnetChainId[MainnetLivepeerChain]; | ||
export type MainnetLivepeerChainId = (typeof mainnetChainId)[MainnetLivepeerChain]; | ||
export type L1LivepeerChain = keyof typeof l1ChainId; | ||
export type L1LivepeerChainId = typeof l1ChainId[L1LivepeerChain]; | ||
export type L1LivepeerChainId = (typeof l1ChainId)[L1LivepeerChain]; | ||
export type L2LivepeerChain = keyof typeof l2ChainId; | ||
export type L2LivepeerChainId = typeof l2ChainId[L2LivepeerChain]; | ||
export type L2LivepeerChainId = (typeof l2ChainId)[L2LivepeerChain]; | ||
export type LivepeerChain = keyof typeof allChainId; | ||
export type LivepeerChainId = typeof allChainId[LivepeerChain]; | ||
export type LivepeerChainId = (typeof allChainId)[LivepeerChain]; | ||
export type LivepeerAddressMetadata = { | ||
@@ -36,0 +36,0 @@ chainId: LivepeerChainId; |
@@ -109,3 +109,3 @@ import { StoreApi } from 'zustand/vanilla'; | ||
clearStorage: () => void; | ||
rehydrate: () => Promise<void>; | ||
rehydrate: () => void | Promise<void>; | ||
hasHydrated: () => boolean; | ||
@@ -112,0 +112,0 @@ onHydrate: (fn: (state: MediaControllerState<TElement>) => void) => () => void; |
export type MimeType = keyof typeof mime; | ||
export type MimeValue = typeof mime[MimeType][number]; | ||
export type MimeValue = (typeof mime)[MimeType][number]; | ||
export declare const getMimeType: (ending: string) => MimeType | null; | ||
@@ -4,0 +4,0 @@ declare const mime: { |
@@ -22,3 +22,3 @@ export declare const aspectRatios: readonly [{ | ||
}]; | ||
export type AspectRatio = typeof aspectRatios[number]['key']; | ||
export type AspectRatio = (typeof aspectRatios)[number]['key']; | ||
export type FontWeights = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; | ||
@@ -25,0 +25,0 @@ export type ThemeConfig = Partial<{ |
@@ -0,4 +1,4 @@ | ||
import { StudioPlaybackInfo, StudioStream, StudioViewsMetrics } from './types'; | ||
import { Asset, CreateAssetArgs, CreateAssetSourceType, CreateStreamArgs, GetAssetArgs, GetAssetMetricsArgs, GetPlaybackInfoArgs, GetStreamArgs, GetStreamSessionArgs, GetStreamSessionsArgs, LivepeerProviderConfig, Metrics, MirrorSizeArray, PlaybackInfo, Stream, StreamSession, UpdateAssetArgs, UpdateStreamArgs, ViewsMetrics } from '../../types'; | ||
import { BaseLivepeerProvider, LivepeerProviderFn } from '../base'; | ||
import { StudioPlaybackInfo, StudioStream, StudioViewsMetrics } from './types'; | ||
export type StudioLivepeerProviderConfig = LivepeerProviderConfig & { | ||
@@ -5,0 +5,0 @@ apiKey: string; |
@@ -1,3 +0,3 @@ | ||
export declare const core = "@livepeer/core@1.1.0"; | ||
export declare const react = "@livepeer/react-native@2.1.0"; | ||
export declare const reactNative = "@livepeer/react@1.1.0"; | ||
export declare const core = "@livepeer/core@1.1.1"; | ||
export declare const react = "@livepeer/react@2.1.1"; | ||
export declare const reactNative = "@livepeer/react-native@1.1.1"; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.1.0`; | ||
const react = `@livepeer/react-native@2.1.0`; | ||
const reactNative = `@livepeer/react@1.1.0`; | ||
const core = `@livepeer/core@1.1.1`; | ||
const react = `@livepeer/react@2.1.1`; | ||
const reactNative = `@livepeer/react-native@1.1.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.1.0`; | ||
const react = `@livepeer/react-native@2.1.0`; | ||
const reactNative = `@livepeer/react@1.1.0`; | ||
const core = `@livepeer/core@1.1.1`; | ||
const react = `@livepeer/react@2.1.1`; | ||
const reactNative = `@livepeer/react-native@1.1.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -6,5 +6,5 @@ import * as tus from 'tus-js-client'; | ||
const core = `@livepeer/core@1.1.0`; | ||
const react = `@livepeer/react-native@2.1.0`; | ||
const reactNative = `@livepeer/react@1.1.0`; | ||
const core = `@livepeer/core@1.1.1`; | ||
const react = `@livepeer/react@2.1.1`; | ||
const reactNative = `@livepeer/react-native@1.1.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
830241