tinacms 0.0.0-a690e47-20241003005744 → 0.0.0-ad8dbc0-20241003000436

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
@@ -4569,7 +4569,7 @@ var __publicField = (obj, key, value) => {
4569
4569
  const optionSets2 = await Promise.all(
4570
4570
  collections.map(async (collection) => {
4571
4571
  try {
4572
- const filter = (filters == null ? void 0 : filters[collection]) ? filterQueryBuilder(filters[collection], collection) : {};
4572
+ const filter = filters[collection] ? filterQueryBuilder(filters[collection], collection) : {};
4573
4573
  const response = await cms.api.tina.request(
4574
4574
  `#graphql
4575
4575
  query ($collection: String!, $filter: DocumentFilter) {
@@ -4605,7 +4605,6 @@ var __publicField = (obj, key, value) => {
4605
4605
  edges: response.collection.documents.edges
4606
4606
  };
4607
4607
  } catch (e) {
4608
- console.error("Unhandle exception:", e);
4609
4608
  return {
4610
4609
  collection,
4611
4610
  edges: []
package/dist/index.mjs CHANGED
@@ -4592,7 +4592,7 @@ const useGetOptionSets = (cms, collections, collectionFilter) => {
4592
4592
  const optionSets2 = await Promise.all(
4593
4593
  collections.map(async (collection) => {
4594
4594
  try {
4595
- const filter = (filters == null ? void 0 : filters[collection]) ? filterQueryBuilder(filters[collection], collection) : {};
4595
+ const filter = filters[collection] ? filterQueryBuilder(filters[collection], collection) : {};
4596
4596
  const response = await cms.api.tina.request(
4597
4597
  `#graphql
4598
4598
  query ($collection: String!, $filter: DocumentFilter) {
@@ -4628,7 +4628,6 @@ const useGetOptionSets = (cms, collections, collectionFilter) => {
4628
4628
  edges: response.collection.documents.edges
4629
4629
  };
4630
4630
  } catch (e) {
4631
- console.error("Unhandle exception:", e);
4632
4631
  return {
4633
4632
  collection,
4634
4633
  edges: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.0.0-a690e47-20241003005744",
3
+ "version": "0.0.0-ad8dbc0-20241003000436",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -127,9 +127,9 @@
127
127
  "webfontloader": "1.6.28",
128
128
  "yup": "^1.4.0",
129
129
  "zod": "^3.23.8",
130
+ "@tinacms/mdx": "1.4.4",
130
131
  "@tinacms/schema-tools": "1.6.4",
131
- "@tinacms/search": "1.0.31",
132
- "@tinacms/mdx": "1.4.4"
132
+ "@tinacms/search": "1.0.31"
133
133
  },
134
134
  "devDependencies": {
135
135
  "@graphql-tools/utils": "^10.5.4",