next-tinacms-azure 2.0.3 → 3.0.0

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
@@ -13,27 +13,27 @@
13
13
  const E_DEFAULT = new MediaListError({
14
14
  title: "An Error Occurred",
15
15
  message: "Something went wrong fetching your media from Azure Blob Storage.",
16
- docsLink: "https://tina.io/docs/reference/media/external/azure"
16
+ docsLink: "https://tina.io/docs/r/aws-s3-bucket"
17
17
  });
18
18
  const E_UNAUTHORIZED = new MediaListError({
19
19
  title: "Unauthorized",
20
20
  message: "You don't have access to this resource.",
21
- docsLink: "https://tina.io/docs/reference/media/external/cloudinary/#set-up-api-routes-nextjs-example"
21
+ docsLink: "https://tina.io/docs/r/cloudinary"
22
22
  });
23
23
  const E_CONFIG = new MediaListError({
24
24
  title: "Missing Credentials",
25
25
  message: "Unable to connect to Cloudinary because one or more environment variables are missing.",
26
- docsLink: "https://tina.io/docs/media-cloudinary/"
26
+ docsLink: "https://tina.io/docs/r/cloudinary/"
27
27
  });
28
28
  const E_KEY_FAIL = new MediaListError({
29
29
  title: "Bad Credentials",
30
30
  message: "Unable to connect to Cloudinary because one or more environment variables are misconfigured.",
31
- docsLink: "https://tina.io/docs/media-cloudinary/"
31
+ docsLink: "https://tina.io/docs/r/cloudinary/"
32
32
  });
33
33
  const E_BAD_ROUTE = new MediaListError({
34
34
  title: "Bad Route",
35
35
  message: "The Cloudinary API route is missing or misconfigured.",
36
- docsLink: "https://tina.io/docs/reference/media/external/cloudinary/#set-up-api-routes-nextjs-example"
36
+ docsLink: "https://tina.io/docs/r/cloudinary"
37
37
  });
38
38
  const interpretErrorMessage = (message) => {
39
39
  switch (message) {
package/dist/index.mjs CHANGED
@@ -10,27 +10,27 @@ class MediaListError extends Error {
10
10
  const E_DEFAULT = new MediaListError({
11
11
  title: "An Error Occurred",
12
12
  message: "Something went wrong fetching your media from Azure Blob Storage.",
13
- docsLink: "https://tina.io/docs/reference/media/external/azure"
13
+ docsLink: "https://tina.io/docs/r/aws-s3-bucket"
14
14
  });
15
15
  const E_UNAUTHORIZED = new MediaListError({
16
16
  title: "Unauthorized",
17
17
  message: "You don't have access to this resource.",
18
- docsLink: "https://tina.io/docs/reference/media/external/cloudinary/#set-up-api-routes-nextjs-example"
18
+ docsLink: "https://tina.io/docs/r/cloudinary"
19
19
  });
20
20
  const E_CONFIG = new MediaListError({
21
21
  title: "Missing Credentials",
22
22
  message: "Unable to connect to Cloudinary because one or more environment variables are missing.",
23
- docsLink: "https://tina.io/docs/media-cloudinary/"
23
+ docsLink: "https://tina.io/docs/r/cloudinary/"
24
24
  });
25
25
  const E_KEY_FAIL = new MediaListError({
26
26
  title: "Bad Credentials",
27
27
  message: "Unable to connect to Cloudinary because one or more environment variables are misconfigured.",
28
- docsLink: "https://tina.io/docs/media-cloudinary/"
28
+ docsLink: "https://tina.io/docs/r/cloudinary/"
29
29
  });
30
30
  const E_BAD_ROUTE = new MediaListError({
31
31
  title: "Bad Route",
32
32
  message: "The Cloudinary API route is missing or misconfigured.",
33
- docsLink: "https://tina.io/docs/reference/media/external/cloudinary/#set-up-api-routes-nextjs-example"
33
+ docsLink: "https://tina.io/docs/r/cloudinary"
34
34
  });
35
35
  const interpretErrorMessage = (message) => {
36
36
  switch (message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-tinacms-azure",
3
- "version": "2.0.3",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -38,11 +38,11 @@
38
38
  "react": "^18.3.1",
39
39
  "react-dom": "^18.3.1",
40
40
  "typescript": "^5.7.3",
41
- "@tinacms/scripts": "1.4.0",
42
- "tinacms": "2.8.3"
41
+ "tinacms": "2.9.0",
42
+ "@tinacms/scripts": "1.4.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "tinacms": "2.8.3",
45
+ "tinacms": "2.9.0",
46
46
  "@tinacms/auth": "1.1.0"
47
47
  },
48
48
  "publishConfig": {