sanity-plugin-mux-input 4.1.5 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -342,7 +342,7 @@ function useAssets() {
|
|
|
342
342
|
function useDialogState() {
|
|
343
343
|
return useState(!1);
|
|
344
344
|
}
|
|
345
|
-
const PLUGIN_VERSION_QUERY = { sanityVersion: "4.1.
|
|
345
|
+
const PLUGIN_VERSION_QUERY = { sanityVersion: "4.1.7" };
|
|
346
346
|
function saveSecrets(client, token, secretKey, enableSignedUrls, signingKeyId, signingKeyPrivate, drmConfigId) {
|
|
347
347
|
let doc = {
|
|
348
348
|
_id: "secrets.mux",
|
|
@@ -3861,7 +3861,7 @@ function VideoPlayer({ asset, thumbnailWidth = 250, children, hlsConfig, ...prop
|
|
|
3861
3861
|
crossOrigin: "anonymous",
|
|
3862
3862
|
metadata: {
|
|
3863
3863
|
player_name: "Sanity Admin Dashboard",
|
|
3864
|
-
player_version: "4.1.
|
|
3864
|
+
player_version: "4.1.7",
|
|
3865
3865
|
page_type: "Preview Player"
|
|
3866
3866
|
},
|
|
3867
3867
|
audio: isAudio,
|
|
@@ -7585,7 +7585,7 @@ function Uploader(props) {
|
|
|
7585
7585
|
let events$ = new Subject();
|
|
7586
7586
|
return {
|
|
7587
7587
|
observable: events$.asObservable(),
|
|
7588
|
-
handleClick: (
|
|
7588
|
+
handleClick: (event) => events$.next(event)
|
|
7589
7589
|
};
|
|
7590
7590
|
})()).current, uploadRef = useRef(null), uploadingDocumentId = useRef(null), [state, dispatch] = useReducer((prev, action) => {
|
|
7591
7591
|
switch (action.action) {
|