@livepeer/core-react
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -137,6 +137,2 @@ import { ControlsOptions } from '@livepeer/core'; | ||
volumeRight?: string | undefined; | ||
/** | ||
* Poster image to show when the content is either loading (when autoplaying) or hasn't started yet (without autoplay). | ||
* It is highly recommended to also pass in a `title` attribute as well, for ARIA compatibility. | ||
*/ | ||
volumeThumb?: string | undefined; | ||
@@ -179,3 +175,4 @@ errorText?: string | undefined; | ||
space: { | ||
controlsBottomMarginX?: string | number | undefined; /** Custom controls passed in to override the default controls */ | ||
controlsBottomMarginX?: string | number | undefined; | ||
/** Custom controls passed in to override the default controls */ | ||
controlsBottomMarginY?: string | number | undefined; | ||
@@ -182,0 +179,0 @@ controlsTopMarginX?: string | number | undefined; |
@@ -5,3 +5,3 @@ import { HttpError } from '@livepeer/core'; | ||
export type UseInternalMutationOptions<TData, TVariables, TError = HttpError | Error, TContext = unknown> = (TVariables & { | ||
mutationConfig?: Partial<Pick<UseMutationOptions<TData, TError, TVariables, TContext>, (typeof useInternalMutationKeys)[number]>>; | ||
mutationConfig?: Partial<Pick<UseMutationOptions<TData, TError, TVariables, TContext>, typeof useInternalMutationKeys[number]>>; | ||
}) | undefined | null; | ||
@@ -8,0 +8,0 @@ export declare function useInternalMutation<TData, TVariables, TError = HttpError | Error, TContext = unknown>(options: UseInternalMutationOptions<TData, TVariables, TError, TContext> | undefined | null, mutationFn: MutationFunction<TData, TVariables>, mutationKey: UseMutationOptions<TData, TVariables, TError, TContext>['mutationKey']): { |
@@ -6,3 +6,3 @@ import { HttpError } from '@livepeer/core'; | ||
export declare const usePickQueryKeys: ReadonlyArray<keyof UseQueryOptions>; | ||
export type UsePickQueryOptions<TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = Pick<UseQueryOptions<TQueryFnData, InternalQueryError, TData, TQueryKey>, (typeof usePickQueryKeys)[number]>; | ||
export type UsePickQueryOptions<TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = Pick<UseQueryOptions<TQueryFnData, InternalQueryError, TData, TQueryKey>, typeof usePickQueryKeys[number]>; | ||
export declare function useInternalQuery<TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseQueryOptions<TQueryFnData, InternalQueryError, TData, TQueryKey>): { | ||
@@ -9,0 +9,0 @@ readonly data: TData | undefined; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"repository": { | ||
@@ -73,9 +73,9 @@ "type": "git", | ||
"dependencies": { | ||
"@livepeer/core": "^1.1.1", | ||
"@tanstack/query-async-storage-persister": "4.19.1", | ||
"@tanstack/query-core": "4.19.1", | ||
"@tanstack/react-query": "4.19.1", | ||
"@tanstack/react-query-persist-client": "4.19.1", | ||
"@livepeer/core": "^1.1.2", | ||
"@tanstack/query-async-storage-persister": "4.22.4", | ||
"@tanstack/query-core": "4.22.4", | ||
"@tanstack/react-query": "4.22.4", | ||
"@tanstack/react-query-persist-client": "4.22.4", | ||
"use-sync-external-store": "^1.2.0", | ||
"zustand": "^4.1.5" | ||
"zustand": "^4.3.2" | ||
}, | ||
@@ -85,4 +85,4 @@ "devDependencies": { | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"@types/react": "^18.0.26", | ||
"@types/react-dom": "^18.0.9", | ||
"@types/react": "^18.0.27", | ||
"@types/react-dom": "^18.0.10", | ||
"@types/use-sync-external-store": "^0.0.3", | ||
@@ -89,0 +89,0 @@ "react": "^18.2.0", |
191492
4878
+ Added@tanstack/query-async-storage-persister@4.22.4(transitive)
+ Added@tanstack/query-core@4.22.4(transitive)
+ Added@tanstack/query-persist-client-core@4.22.4(transitive)
+ Added@tanstack/react-query@4.22.4(transitive)
+ Added@tanstack/react-query-persist-client@4.22.4(transitive)
- Removed@tanstack/query-async-storage-persister@4.19.1(transitive)
- Removed@tanstack/query-core@4.19.1(transitive)
- Removed@tanstack/query-persist-client-core@4.19.1(transitive)
- Removed@tanstack/react-query@4.19.1(transitive)
- Removed@tanstack/react-query-persist-client@4.19.1(transitive)
Updated@livepeer/core@^1.1.2
Updated@tanstack/query-core@4.22.4
Updated@tanstack/react-query@4.22.4
Updatedzustand@^4.3.2