@livepeer/core
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -1,2 +0,2 @@ | ||
import { Asset, CreateStreamArgs, MultistreamTargetRef, Stream, StreamSession, TranscodingProfile, ViewsMetrics } from '../../types'; | ||
import { Asset, CreateAssetCreatorId, CreateStreamArgs, MultistreamTargetRef, Stream, StreamSession, TranscodingProfile, ViewsMetrics } from '../../types'; | ||
/** | ||
@@ -72,2 +72,4 @@ * Studio ffmpeg profile for transcoding. | ||
storage?: StudioStorageConfig; | ||
/** The creator ID for the asset */ | ||
creatorId?: CreateAssetCreatorId; | ||
}; | ||
@@ -83,2 +85,4 @@ export type StudioCreateAssetUrlArgs = { | ||
storage?: StudioStorageConfig; | ||
/** The creator ID for the asset */ | ||
creatorId?: CreateAssetCreatorId; | ||
}; | ||
@@ -85,0 +89,0 @@ export interface StudioCreateStreamArgs extends CreateStreamArgs { |
@@ -1,3 +0,3 @@ | ||
export declare const core = "@livepeer/core@1.4.3"; | ||
export declare const react = "@livepeer/react@2.4.3"; | ||
export declare const reactNative = "@livepeer/react-native@1.4.3"; | ||
export declare const core = "@livepeer/core@1.4.4"; | ||
export declare const react = "@livepeer/react@2.4.4"; | ||
export declare const reactNative = "@livepeer/react-native@1.4.4"; |
@@ -11,2 +11,2 @@ export type Address = `0x${string}`; | ||
}; | ||
export type { Asset, CreateAssetArgs, CreateAssetFileProgress, CreateAssetProgress, CreateAssetProgressBase, CreateAssetSource, CreateAssetSourceBase, CreateAssetSourceFile, CreateAssetSourceType, CreateAssetSourceUrl, CreateAssetUrlProgress, CreateStreamArgs, GetAssetArgs, GetAssetMetricsArgs, GetPlaybackInfoArgs, GetStreamArgs, GetStreamSessionArgs, GetStreamSessionsArgs, JwtOrPublicPlaybackPolicy, LivepeerProvider, LivepeerProviderConfig, Metrics, MultistreamTarget, MultistreamTargetRef, NativeFile, PlaybackAccessControlRequest, PlaybackInfo, PlaybackPolicy, Stream, StreamSession, TranscodingProfile, UpdateAssetArgs, UpdateStreamArgs, ViewsMetrics, WebhookPlaybackPolicy, } from './provider'; | ||
export type { Asset, CreateAssetArgs, CreateAssetCreatorId, CreateAssetFileProgress, CreateAssetProgress, CreateAssetProgressBase, CreateAssetSource, CreateAssetSourceBase, CreateAssetSourceFile, CreateAssetSourceType, CreateAssetSourceUrl, CreateAssetUrlProgress, CreateStreamArgs, GetAssetArgs, GetAssetMetricsArgs, GetPlaybackInfoArgs, GetStreamArgs, GetStreamSessionArgs, GetStreamSessionsArgs, JwtOrPublicPlaybackPolicy, LivepeerProvider, LivepeerProviderConfig, Metrics, MultistreamTarget, MultistreamTargetRef, NativeFile, PlaybackAccessControlRequest, PlaybackInfo, PlaybackPolicy, Stream, StreamSession, TranscodingProfile, UpdateAssetArgs, UpdateStreamArgs, ViewsMetrics, WebhookPlaybackPolicy, } from './provider'; |
@@ -207,2 +207,13 @@ /// <reference types="node" /> | ||
}; | ||
export type CreateAssetCreatorId = { | ||
/** | ||
* The `type` of the identifier - unverified means that the value is not signed, and is an address | ||
* that is blindly trusted. | ||
*/ | ||
type: 'unverified'; | ||
/** | ||
* Developer-managed ID of the user who created the asset. | ||
*/ | ||
value: string; | ||
} | string; | ||
export type CreateAssetSourceBase = { | ||
@@ -219,2 +230,6 @@ /** Name for the new asset */ | ||
playbackPolicy?: PlaybackPolicy; | ||
/** | ||
* Sets the creator ID for the asset that is created. | ||
*/ | ||
creatorId?: CreateAssetCreatorId; | ||
}; | ||
@@ -468,2 +483,9 @@ export type CreateAssetSourceUrl = CreateAssetSourceBase & { | ||
}[]; | ||
creatorId?: { | ||
type: 'unverified'; | ||
/** | ||
* Developer-managed ID of the user who created the asset. | ||
*/ | ||
value: string; | ||
}; | ||
/** Detailed information about the video in the asset */ | ||
@@ -470,0 +492,0 @@ videoSpec?: { |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.4.3`; | ||
const react = `@livepeer/react@2.4.3`; | ||
const reactNative = `@livepeer/react-native@1.4.3`; | ||
const core = `@livepeer/core@1.4.4`; | ||
const react = `@livepeer/react@2.4.4`; | ||
const reactNative = `@livepeer/react-native@1.4.4`; | ||
@@ -213,2 +213,5 @@ class BaseLivepeerProvider { | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -235,2 +238,5 @@ }, | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -237,0 +243,0 @@ }, |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.4.3`; | ||
const react = `@livepeer/react@2.4.3`; | ||
const reactNative = `@livepeer/react-native@1.4.3`; | ||
const core = `@livepeer/core@1.4.4`; | ||
const react = `@livepeer/react@2.4.4`; | ||
const reactNative = `@livepeer/react-native@1.4.4`; | ||
@@ -213,2 +213,5 @@ class BaseLivepeerProvider { | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -235,2 +238,5 @@ }, | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -237,0 +243,0 @@ }, |
@@ -6,5 +6,5 @@ import * as tus from 'tus-js-client'; | ||
const core = `@livepeer/core@1.4.3`; | ||
const react = `@livepeer/react@2.4.3`; | ||
const reactNative = `@livepeer/react-native@1.4.3`; | ||
const core = `@livepeer/core@1.4.4`; | ||
const react = `@livepeer/react@2.4.4`; | ||
const reactNative = `@livepeer/react-native@1.4.4`; | ||
@@ -186,2 +186,5 @@ class BaseLivepeerProvider { | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -208,2 +211,5 @@ }, | ||
playbackPolicy | ||
} : {}), | ||
...(source.creatorId ? { | ||
creatorId: source.creatorId | ||
} : {}) | ||
@@ -210,0 +216,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
849429
34050