sanity-plugin-mux-input 4.1.3 → 4.1.4
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.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ interface PluginConfig extends MuxInputConfig {
|
|
|
165
165
|
*/
|
|
166
166
|
allowedRolesForConfiguration: string[];
|
|
167
167
|
}
|
|
168
|
-
declare const SUPPORTED_MUX_LANGUAGES_VALUES: ("
|
|
168
|
+
declare const SUPPORTED_MUX_LANGUAGES_VALUES: ("bg" | "ca" | "cs" | "da" | "de" | "el" | "en" | "es" | "fi" | "fr" | "hr" | "it" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sv" | "tr" | "uk")[];
|
|
169
169
|
type SupportedMuxLanguage = (typeof SUPPORTED_MUX_LANGUAGES_VALUES)[number];
|
|
170
170
|
type PlaybackPolicy = 'signed' | 'public' | 'drm';
|
|
171
171
|
interface MuxErrors {
|
package/dist/index.js
CHANGED
|
@@ -176,7 +176,7 @@ function useDialogState() {
|
|
|
176
176
|
const PLUGIN_VERSION_QUERY = {
|
|
177
177
|
sanityVersion: (
|
|
178
178
|
// @ts-expect-error - this constant is search/replaced so must be exact, not accessed with an index signature
|
|
179
|
-
"4.1.
|
|
179
|
+
"4.1.4"
|
|
180
180
|
)
|
|
181
181
|
};
|
|
182
182
|
function saveSecrets(client, token, secretKey, enableSignedUrls, signingKeyId, signingKeyPrivate, drmConfigId) {
|
|
@@ -2764,7 +2764,7 @@ function VideoPlayer({
|
|
|
2764
2764
|
/* @__PURE__ */ jsx(MuxPlayer, { poster: isAudio ? void 0 : poster, ref: muxPlayer, ...props, playsInline: !0, playbackId, tokens, preload: "metadata", crossOrigin: "anonymous", metadata: {
|
|
2765
2765
|
player_name: "Sanity Admin Dashboard",
|
|
2766
2766
|
// @ts-expect-error - this constant is search/replaced so must be exact, not accessed with an index signature
|
|
2767
|
-
player_version: "4.1.
|
|
2767
|
+
player_version: "4.1.4",
|
|
2768
2768
|
page_type: "Preview Player"
|
|
2769
2769
|
}, audio: isAudio, _hlsConfig: hlsConfig, style: {
|
|
2770
2770
|
...!isAudio && {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-mux-input",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"description": "An input component that integrates Sanity Studio with Mux video encoding/hosting service.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"input",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@sanity/client": "^7.23.0",
|
|
56
56
|
"@sanity/pkg-utils": "^10.9.0",
|
|
57
|
+
"@sanity/tsconfig": "^2.1.0",
|
|
57
58
|
"@types/lodash": "^4.17.24",
|
|
58
59
|
"@types/node": "^24.13.2",
|
|
59
60
|
"@types/react": "^19.2.17",
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
"styled-components": "^6.4.3",
|
|
66
67
|
"typescript": "6.0.3",
|
|
67
68
|
"@repo/package.config": "0.0.0",
|
|
68
|
-
"@repo/tsconfig": "0.0.0",
|
|
69
69
|
"@sanity/plugin-kit": "6.0.3"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|