@singi-labs/sifa-sdk 0.19.23 → 0.19.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.
package/dist/index.cjs CHANGED
@@ -2520,6 +2520,11 @@ function normalizeCompanyKey(name) {
2520
2520
  }
2521
2521
 
2522
2522
  // src/format/format-time.ts
2523
+ function formatIsoTitle(dateString) {
2524
+ const date = new Date(dateString);
2525
+ if (isNaN(date.getTime())) return "";
2526
+ return date.toISOString();
2527
+ }
2523
2528
  function formatRelativeTime(dateString) {
2524
2529
  const date = new Date(dateString);
2525
2530
  if (isNaN(date.getTime())) return "";
@@ -6637,7 +6642,7 @@ function describeSifaRecord(collection, value) {
6637
6642
  }
6638
6643
 
6639
6644
  // src/index.ts
6640
- var SIFA_SDK_VERSION = "0.19.23";
6645
+ var SIFA_SDK_VERSION = "0.19.25";
6641
6646
 
6642
6647
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6643
6648
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
@@ -6787,6 +6792,7 @@ exports.formatDateRange = formatDateRange;
6787
6792
  exports.formatDisplayUrl = formatDisplayUrl;
6788
6793
  exports.formatDistanceToNow = formatDistanceToNow;
6789
6794
  exports.formatEventDate = formatEventDate;
6795
+ exports.formatIsoTitle = formatIsoTitle;
6790
6796
  exports.formatLocation = formatLocation;
6791
6797
  exports.formatPresentationDuration = formatPresentationDuration;
6792
6798
  exports.formatRelationship = formatRelationship;