@singi-labs/sifa-sdk 0.18.3 → 0.18.5

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
@@ -5252,6 +5252,12 @@ function countRecentActivity(days, windowDays, now = /* @__PURE__ */ new Date())
5252
5252
  return days.reduce((sum, day) => day.date >= cutoff ? sum + day.total : sum, 0);
5253
5253
  }
5254
5254
 
5255
+ // src/logic/self-app.ts
5256
+ var SELF_APP_ID = "sifa";
5257
+ function excludeSelfApp(apps) {
5258
+ return apps.filter((app) => app.id !== SELF_APP_ID);
5259
+ }
5260
+
5255
5261
  // src/profile/range-sort.ts
5256
5262
  var hasValue = (date) => !!date;
5257
5263
  function sortByActiveDateRange(items) {
@@ -6144,7 +6150,7 @@ function describeSifaRecord(collection, value) {
6144
6150
  }
6145
6151
 
6146
6152
  // src/index.ts
6147
- var SIFA_SDK_VERSION = "0.18.3";
6153
+ var SIFA_SDK_VERSION = "0.18.5";
6148
6154
 
6149
6155
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6150
6156
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
@@ -6247,6 +6253,7 @@ exports.ROADMAP_ISSUES_REPO = ROADMAP_ISSUES_REPO;
6247
6253
  exports.ROADMAP_ITEM_META = ROADMAP_ITEM_META;
6248
6254
  exports.SECTION_GROUPS = SECTION_GROUPS;
6249
6255
  exports.SECTION_LABELS = SECTION_LABELS;
6256
+ exports.SELF_APP_ID = SELF_APP_ID;
6250
6257
  exports.SIFA_REPO_GROUPS = SIFA_REPO_GROUPS;
6251
6258
  exports.SIFA_SDK_VERSION = SIFA_SDK_VERSION;
6252
6259
  exports.SKILL_CATEGORIES = SKILL_CATEGORIES;
@@ -6281,6 +6288,7 @@ exports.durationFromMinutes = durationFromMinutes;
6281
6288
  exports.encodeFeedCursor = encodeFeedCursor;
6282
6289
  exports.entityDisambiguationLabel = entityDisambiguationLabel;
6283
6290
  exports.entityResultKey = entityResultKey;
6291
+ exports.excludeSelfApp = excludeSelfApp;
6284
6292
  exports.externalRecordRefSchema = externalRecordRefSchema;
6285
6293
  exports.filterHidden = filterHidden;
6286
6294
  exports.findIndustry = findIndustry;