@singi-labs/sifa-sdk 0.18.8 → 0.18.10

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
@@ -2918,7 +2918,6 @@ var SECTION_GROUPS = [
2918
2918
  var ALL_SECTIONS = [
2919
2919
  { id: "about", labelKey: "about", ns: "profile", group: "overview" },
2920
2920
  { id: "career", labelKey: "career", ns: "sections", group: "experience" },
2921
- { id: "skills", labelKey: "skills", ns: "sections", group: "experience" },
2922
2921
  { id: "projects", labelKey: "projects", ns: "sections", group: "experience" },
2923
2922
  {
2924
2923
  id: "presentations",
@@ -2932,6 +2931,7 @@ var ALL_SECTIONS = [
2932
2931
  ns: "sections",
2933
2932
  group: "experience"
2934
2933
  },
2934
+ { id: "skills", labelKey: "skills", ns: "sections", group: "experience" },
2935
2935
  {
2936
2936
  id: "credentials",
2937
2937
  labelKey: "credentials",
@@ -5367,13 +5367,11 @@ function groupInvolvementByHeading(items) {
5367
5367
  bucket.push(item);
5368
5368
  byHeading.set(heading, bucket);
5369
5369
  }
5370
- const recency = (i) => i.endedAt ?? i.startedAt ?? "";
5371
5370
  const groups = [];
5372
5371
  for (const heading of INVOLVEMENT_HEADING_ORDER) {
5373
5372
  const bucket = byHeading.get(heading);
5374
5373
  if (!bucket?.length) continue;
5375
- const sorted = [...bucket].sort((a, b) => recency(b).localeCompare(recency(a)));
5376
- groups.push({ heading, items: sorted });
5374
+ groups.push({ heading, items: sortByDateDesc(bucket, lexiconDateExtractor) });
5377
5375
  }
5378
5376
  return groups;
5379
5377
  }
@@ -6198,7 +6196,7 @@ function describeSifaRecord(collection, value) {
6198
6196
  }
6199
6197
 
6200
6198
  // src/index.ts
6201
- var SIFA_SDK_VERSION = "0.18.8";
6199
+ var SIFA_SDK_VERSION = "0.18.10";
6202
6200
 
6203
6201
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6204
6202
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;