sanity-plugin-mux-input 2.2.0 → 2.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-mux-input",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "An input component that integrates Sanity Studio with Mux video encoding/hosting service.",
5
5
  "keywords": [
6
6
  "sanity",
@@ -74,7 +74,7 @@
74
74
  "scroll-into-view-if-needed": "^3",
75
75
  "suspend-react": "^0.1.0",
76
76
  "swr": "^2.1.0",
77
- "type-fest": "^3.6.1",
77
+ "type-fest": "^4.0.0",
78
78
  "use-error-boundary": "^2.0.6"
79
79
  },
80
80
  "devDependencies": {
@@ -94,16 +94,16 @@
94
94
  "eslint-config-react-app": "^7.0.1",
95
95
  "eslint-config-sanity": "^6.0.0",
96
96
  "eslint-plugin-import": "^2.28.0",
97
- "eslint-plugin-prettier": "^4.2.1",
97
+ "eslint-plugin-prettier": "^5.0.0",
98
98
  "eslint-plugin-react": "^7.33.1",
99
99
  "eslint-plugin-react-hooks": "^4.6.0",
100
100
  "eslint-plugin-simple-import-sort": "^10.0.0",
101
101
  "husky": "^8.0.3",
102
102
  "lint-staged": "^13.2.3",
103
103
  "next": "^13.4.12",
104
- "next-sanity": "^4.3.3",
104
+ "next-sanity": "^5.1.3",
105
105
  "npm-run-all": "^4.1.5",
106
- "prettier": "^2.8.8",
106
+ "prettier": "^3.0.1",
107
107
  "prettier-plugin-packagejson": "^2.4.5",
108
108
  "react": "^18.2.0",
109
109
  "react-dom": "^18.2.0",
@@ -123,7 +123,8 @@
123
123
  "node": ">=14"
124
124
  },
125
125
  "publishConfig": {
126
- "access": "public"
126
+ "access": "public",
127
+ "provenance": true
127
128
  },
128
129
  "sanityExchangeUrl": "https://www.sanity.io/plugins/sanity-plugin-mux-input"
129
130
  }
@@ -45,7 +45,7 @@ export default function useAssets() {
45
45
  ({
46
46
  ...(collated.draft || collated.published || {}),
47
47
  _id: collated.id,
48
- } as VideoAssetDocument)
48
+ }) as VideoAssetDocument
49
49
  ),
50
50
  [assetDocuments]
51
51
  )