@maximem/synap-js-sdk 0.5.7 → 0.5.8

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.cjs CHANGED
@@ -638,6 +638,8 @@ function matchedQueries(item = {}) {
638
638
  function normalizeTemporalFields(item = {}) {
639
639
  return {
640
640
  eventDate: pick(item["eventDate"], item.event_date, null),
641
+ eventEnd: pick(item["eventEnd"], item.event_end, null),
642
+ eventPrecision: pick(item["eventPrecision"], item.event_precision, null),
641
643
  saidAt: pick(item["saidAt"], item.said_at, null),
642
644
  validUntil: pick(item["validUntil"], item.valid_until, null),
643
645
  temporalCategory: pick(item["temporalCategory"], item.temporal_category, null),
@@ -698,6 +700,8 @@ function normalizeTemporalEvent(item = {}) {
698
700
  id: item.id || "",
699
701
  content: item.content || "",
700
702
  eventDate: pick(item["eventDate"], item.event_date, null),
703
+ eventEnd: pick(item["eventEnd"], item.event_end, null),
704
+ eventPrecision: pick(item["eventPrecision"], item.event_precision, null),
701
705
  saidAt: pick(item["saidAt"], item.said_at, null),
702
706
  validUntil: pick(item["validUntil"], item.valid_until, null),
703
707
  temporalCategory: pick(item["temporalCategory"], item.temporal_category, ""),
@@ -1686,7 +1690,7 @@ function createInstanceNamespace(credentials, cache, onTurn) {
1686
1690
  }
1687
1691
 
1688
1692
  // src/version.ts
1689
- var SDK_VERSION = "0.5.7";
1693
+ var SDK_VERSION = "0.5.8";
1690
1694
 
1691
1695
  // src/registry.ts
1692
1696
  var instances = /* @__PURE__ */ new Map();