@singi-labs/sifa-sdk 0.18.8 → 0.18.9
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 +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
6199
|
+
var SIFA_SDK_VERSION = "0.18.9";
|
|
6202
6200
|
|
|
6203
6201
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6204
6202
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|