next-tinacms-dos 23.0.4 → 24.0.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/README.md +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ export default createMediaHandler({
|
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
124
|
try {
|
|
125
|
-
const user = await isAuthorized(req);
|
|
125
|
+
const user = await isAuthorized(req, process.env.NEXT_PUBLIC_TINA_CLIENT_ID);
|
|
126
126
|
return user && user.verified;
|
|
127
127
|
} catch (e) {
|
|
128
128
|
console.error(e);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-tinacms-dos",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "24.0.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"tinacms": "3.
|
|
22
|
+
"tinacms": "3.10.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/crypto-js": "^3.1.47",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"react": "^18.3.1",
|
|
30
30
|
"react-dom": "^18.3.1",
|
|
31
31
|
"typescript": "^5.7.3",
|
|
32
|
-
"tinacms": "
|
|
33
|
-
"
|
|
32
|
+
"@tinacms/scripts": "1.6.2",
|
|
33
|
+
"tinacms": "3.10.1"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"registry": "https://registry.npmjs.org"
|