next-tinacms-cloudinary 3.4.4 → 3.4.5

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,11 @@
1
1
  # next-tinacms-cloudinary
2
2
 
3
+ ## 3.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 2a4a23b74: Fixed issue where folders could not have spaces
8
+
3
9
  ## 3.4.4
4
10
 
5
11
  ## 3.4.3
package/dist/handlers.js CHANGED
@@ -84,7 +84,7 @@ async function listMedia(req, res) {
84
84
  offset
85
85
  } = req.query;
86
86
  const useRootDirectory = !directory || directory === "/" || directory === '""';
87
- const query = useRootDirectory ? 'folder=""' : `folder=${directory}`;
87
+ const query = useRootDirectory ? 'folder=""' : `folder="${directory}"`;
88
88
  const response = await import_cloudinary.v2.search.expression(query).max_results(limit).next_cursor(offset).execute();
89
89
  const files = response.resources.map(cloudinaryToTina);
90
90
  import_cloudinary.v2.api.folders = (directory2 = '""') => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-tinacms-cloudinary",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
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.5",
28
+ "@tinacms/toolkit": "0.56.6",
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.62.0",
38
+ "tinacms": "0.63.0",
39
39
  "typescript": "^4.3.5"
40
40
  },
41
41
  "peerDependencies": {