@twin.org/data-json-ld 0.0.1-next.24 → 0.0.1-next.25

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.
@@ -1777,7 +1777,7 @@ class JsonLdProcessor {
1777
1777
  }
1778
1778
  else if (core.Is.object(err) &&
1779
1779
  err.name.startsWith("jsonld.")) {
1780
- throw new core.GeneralError(JsonLdProcessor._CLASS_NAME, "jsonldError", err.details, err);
1780
+ throw new core.GeneralError(JsonLdProcessor._CLASS_NAME, "jsonLdError", err.details, err);
1781
1781
  }
1782
1782
  }
1783
1783
  }
@@ -1775,7 +1775,7 @@ class JsonLdProcessor {
1775
1775
  }
1776
1776
  else if (Is.object(err) &&
1777
1777
  err.name.startsWith("jsonld.")) {
1778
- throw new GeneralError(JsonLdProcessor._CLASS_NAME, "jsonldError", err.details, err);
1778
+ throw new GeneralError(JsonLdProcessor._CLASS_NAME, "jsonLdError", err.details, err);
1779
1779
  }
1780
1780
  }
1781
1781
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/data-json-ld - Changelog
2
2
 
3
- ## v0.0.1-next.24
3
+ ## v0.0.1-next.25
4
4
 
5
5
  - Initial Release
package/locales/en.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
- "jsonLdProcessor": {
3
- "compact": "The JSON-LD compaction failed",
4
- "expand": "The JSON-LD expansion failed",
5
- "canonize": "The JSON-LD canonization failed",
6
- "invalidUrl": "The JSON-LD processing failed to retrieve from the following url \"{url}\"",
7
- "jsonldError": "The JSON-LD processing failed due to the following error: \"{code}\""
2
+ "error": {
3
+ "jsonLdProcessor": {
4
+ "compact": "The JSON-LD compaction failed",
5
+ "expand": "The JSON-LD expansion failed",
6
+ "canonize": "The JSON-LD canonization failed",
7
+ "invalidUrl": "The JSON-LD processing failed to retrieve from the following url \"{url}\"",
8
+ "jsonLdError": "The JSON-LD processing failed due to the following error: \"{code}\""
9
+ }
8
10
  }
9
- }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/data-json-ld",
3
- "version": "0.0.1-next.24",
3
+ "version": "0.0.1-next.25",
4
4
  "description": "Models which define the structure of JSON LD",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
- "@twin.org/data-core": "0.0.1-next.24",
18
+ "@twin.org/data-core": "0.0.1-next.25",
19
19
  "@twin.org/entity": "next",
20
20
  "@twin.org/nameof": "next",
21
21
  "@twin.org/web": "next",