tinacms 0.0.0-87b53d0-20241003010954 → 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,10 +4605,6 @@ var __publicField = (obj, key, value) => {
4605
4605
  edges: response.collection.documents.edges
4606
4606
  };
4607
4607
  } catch (e) {
4608
- console.error(
4609
- "Exception thrown while building and running GraphQL query: ",
4610
- e
4611
- );
4612
4608
  return {
4613
4609
  collection,
4614
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,10 +4628,6 @@ const useGetOptionSets = (cms, collections, collectionFilter) => {
4628
4628
  edges: response.collection.documents.edges
4629
4629
  };
4630
4630
  } catch (e) {
4631
- console.error(
4632
- "Exception thrown while building and running GraphQL query: ",
4633
- e
4634
- );
4635
4631
  return {
4636
4632
  collection,
4637
4633
  edges: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.0.0-87b53d0-20241003010954",
3
+ "version": "0.0.0-ad8dbc0-20241003000436",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {