next-tinacms-cloudinary 4.4.0 → 4.4.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.
package/dist/index.js CHANGED
@@ -134,7 +134,7 @@
134
134
  try {
135
135
  const url = input.toString();
136
136
  const query = `${url.includes("?") ? "&" : "?"}clientID=${client.clientId}`;
137
- const res = client.fetchWithToken(url + query, init);
137
+ const res = client.authProvider.fetchWithToken(url + query, init);
138
138
  return res;
139
139
  } catch (error) {
140
140
  console.error(error);
package/dist/index.mjs CHANGED
@@ -131,7 +131,7 @@ class TinaCloudCloudinaryMediaStore extends CloudinaryMediaStore {
131
131
  try {
132
132
  const url = input.toString();
133
133
  const query = `${url.includes("?") ? "&" : "?"}clientID=${client.clientId}`;
134
- const res = client.fetchWithToken(url + query, init);
134
+ const res = client.authProvider.fetchWithToken(url + query, init);
135
135
  return res;
136
136
  } catch (error) {
137
137
  console.error(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-tinacms-cloudinary",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -22,18 +22,18 @@
22
22
  "multer": "1.4.5-lts.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@tinacms/scripts": "1.1.2",
25
+ "@tinacms/scripts": "1.1.3",
26
26
  "@types/crypto-js": "^3.1.47",
27
27
  "@types/js-cookie": "^2.2.6",
28
28
  "@types/node": "^13.13.1",
29
29
  "next": "12.2.4",
30
30
  "react": "17.0.2",
31
31
  "react-dom": "17.0.2",
32
- "tinacms": "1.5.23",
32
+ "tinacms": "1.5.25",
33
33
  "typescript": "4.3.5"
34
34
  },
35
35
  "peerDependencies": {
36
- "tinacms": "1.5.23"
36
+ "tinacms": "1.5.25"
37
37
  },
38
38
  "publishConfig": {
39
39
  "registry": "https://registry.npmjs.org"