next-tinacms-s3 24.0.0 → 24.0.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -179,7 +179,7 @@ export default createMediaHandler({
179
179
  return true;
180
180
  }
181
181
  try {
182
- const user = await isAuthorized(req);
182
+ const user = await isAuthorized(req, process.env.NEXT_PUBLIC_TINA_CLIENT_ID);
183
183
  return user && user.verified;
184
184
  } catch (e) {
185
185
  console.error(e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "next-tinacms-s3",
3
3
  "type": "module",
4
- "version": "24.0.0",
4
+ "version": "24.0.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "files": [
@@ -28,10 +28,10 @@
28
28
  "react-dom": "^18.3.1",
29
29
  "typescript": "^5.7.3",
30
30
  "@tinacms/scripts": "1.6.2",
31
- "tinacms": "3.10.0"
31
+ "tinacms": "3.11.0"
32
32
  },
33
33
  "peerDependencies": {
34
- "tinacms": "3.10.0"
34
+ "tinacms": "^3.11.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "registry": "https://registry.npmjs.org"