next-tinacms-dos 1.3.8 → 1.3.9
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
try {
|
|
120
120
|
const url = input.toString();
|
|
121
121
|
const query = `${url.includes("?") ? "&" : "?"}clientID=${client.clientId}`;
|
|
122
|
-
const res = client.fetchWithToken(url + query, init);
|
|
122
|
+
const res = client.authProvider.fetchWithToken(url + query, init);
|
|
123
123
|
return res;
|
|
124
124
|
} catch (error) {
|
|
125
125
|
console.error(error);
|
package/dist/index.mjs
CHANGED
|
@@ -116,7 +116,7 @@ class TinaCloudDOSMediaStore extends DOSMediaStore {
|
|
|
116
116
|
try {
|
|
117
117
|
const url = input.toString();
|
|
118
118
|
const query = `${url.includes("?") ? "&" : "?"}clientID=${client.clientId}`;
|
|
119
|
-
const res = client.fetchWithToken(url + query, init);
|
|
119
|
+
const res = client.authProvider.fetchWithToken(url + query, init);
|
|
120
120
|
return res;
|
|
121
121
|
} catch (error) {
|
|
122
122
|
console.error(error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-tinacms-dos",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"multer": "1.4.5-lts.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"tinacms": "1.5.
|
|
25
|
+
"tinacms": "1.5.24"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tinacms/scripts": "1.1.
|
|
28
|
+
"@tinacms/scripts": "1.1.3",
|
|
29
29
|
"@types/crypto-js": "^3.1.47",
|
|
30
30
|
"@types/js-cookie": "^2.2.6",
|
|
31
31
|
"@types/node": "^13.13.1",
|
|
32
32
|
"next": "12.2.4",
|
|
33
33
|
"react": "17.0.2",
|
|
34
34
|
"react-dom": "17.0.2",
|
|
35
|
-
"tinacms": "1.5.
|
|
35
|
+
"tinacms": "1.5.24",
|
|
36
36
|
"typescript": "4.3.5"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|