ochre-sdk 1.0.0-beta.2 → 1.0.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3218,7 +3218,10 @@ const XMLItemLinks = v.object({
3218
3218
  text: v.optional(v.array(XMLText, "XMLItemLinks: text is array of XMLText")),
3219
3219
  set: v.optional(v.array(XMLSet, "XMLItemLinks: set is array of XMLSet"))
3220
3220
  }, "XMLItemLinks: Shape error");
3221
- const XMLItemLinksData = v.object({ result: v.object({ ochre: v.object({ items: XMLItemLinks }, "XMLItemLinksData: ochre") }) }, "XMLItemLinksData: Shape error");
3221
+ const XMLItemLinksData = v.object({ result: v.object({ ochre: v.object({
3222
+ payload: v.optional(v.string("XMLItemLinksData: payload is string and optional")),
3223
+ items: v.optional(XMLItemLinks)
3224
+ }, "XMLItemLinksData: ochre") }) }, "XMLItemLinksData: Shape error");
3222
3225
  const XMLGallery = v.object({
3223
3226
  payload: v.optional(v.string("XMLGallery: payload is string and optional")),
3224
3227
  project: v.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ochre-sdk",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",