next-tinacms-cloudinary 3.5.0 → 3.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # next-tinacms-cloudinary
2
2
 
3
+ ## 3.5.4
4
+
5
+ ## 3.5.3
6
+
7
+ ## 3.5.2
8
+
9
+ ## 3.5.1
10
+
3
11
  ## 3.5.0
4
12
 
5
13
  ### Minor Changes
package/README.md CHANGED
@@ -34,7 +34,7 @@ Now, you can register the Cloudinary Media store with the instance of Tina in yo
34
34
 
35
35
  This is also where we can update our `mediaOptions` on the cms object.
36
36
 
37
- ```
37
+ ```tsx
38
38
  // Typically in the _app.js file of a Next.js project
39
39
 
40
40
  import dynamic from "next/dynamic";
@@ -52,7 +52,10 @@ const App = ({ Component, pageProps }) => {
52
52
  branch="main"
53
53
  clientId={NEXT_PUBLIC_TINA_CLIENT_ID}
54
54
  isLocalClient={Boolean(Number(NEXT_PUBLIC_USE_LOCAL_CLIENT))}
55
- mediaStore={TinaCloudCloudinaryMediaStore}
55
+ mediaStore={async () => {
56
+ const pack = await import("next-tinacms-cloudinary");
57
+ return pack.TinaCloudCloudinaryMediaStore;
58
+ }}
56
59
  {...pageProps}
57
60
  >
58
61
  {(livePageProps) => (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-tinacms-cloudinary",
3
- "version": "3.5.0",
3
+ "version": "3.5.4",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"
@@ -25,7 +25,7 @@
25
25
  "multer": "^1.4.2"
26
26
  },
27
27
  "devDependencies": {
28
- "@tinacms/toolkit": "0.56.6",
28
+ "@tinacms/toolkit": "0.56.10",
29
29
  "@types/crypto-js": "^3.1.47",
30
30
  "@types/js-cookie": "^2.2.6",
31
31
  "@types/node": "^13.13.1",
@@ -35,7 +35,7 @@
35
35
  "react": "16.14.0",
36
36
  "react-dom": "16.14.0",
37
37
  "styled-components": "^5.2.0",
38
- "tinacms": "0.64.0",
38
+ "tinacms": "0.66.0",
39
39
  "typescript": "^4.3.5"
40
40
  },
41
41
  "peerDependencies": {