@singi-labs/sifa-sdk 0.14.5 → 0.14.6
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 +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5086,6 +5086,15 @@ var sortCertifications = (items) => sortByDateDesc(items, certDateExtractor);
|
|
|
5086
5086
|
var sortHonors = (items) => sortByDateDesc(items, singleDateExtractor);
|
|
5087
5087
|
var sortLanguages = (items) => sortLanguagesByProficiency(items);
|
|
5088
5088
|
|
|
5089
|
+
// src/profile/headline-role-dedupe.ts
|
|
5090
|
+
function normalize(value) {
|
|
5091
|
+
return value.trim().replace(/\s+/g, " ").replace(/[.,;:·|]+$/, "").trim().toLowerCase();
|
|
5092
|
+
}
|
|
5093
|
+
function isRoleLineRedundant(headline, roleLine) {
|
|
5094
|
+
if (!headline || !roleLine) return false;
|
|
5095
|
+
return normalize(headline) === normalize(roleLine);
|
|
5096
|
+
}
|
|
5097
|
+
|
|
5089
5098
|
// src/profile/involvement-grouping.ts
|
|
5090
5099
|
var INVOLVEMENT_HEADING_ORDER = [
|
|
5091
5100
|
"Open Source",
|
|
@@ -5933,7 +5942,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5933
5942
|
}
|
|
5934
5943
|
|
|
5935
5944
|
// src/index.ts
|
|
5936
|
-
var SIFA_SDK_VERSION = "0.14.
|
|
5945
|
+
var SIFA_SDK_VERSION = "0.14.6";
|
|
5937
5946
|
|
|
5938
5947
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5939
5948
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -6132,6 +6141,7 @@ exports.isLinked = isLinked;
|
|
|
6132
6141
|
exports.isOnBehalfOfApplicable = isOnBehalfOfApplicable;
|
|
6133
6142
|
exports.isPseudoEmployer = isPseudoEmployer;
|
|
6134
6143
|
exports.isRegistrableDomainHandle = isRegistrableDomainHandle;
|
|
6144
|
+
exports.isRoleLineRedundant = isRoleLineRedundant;
|
|
6135
6145
|
exports.isSectionPopulated = isSectionPopulated;
|
|
6136
6146
|
exports.isValidRgbColor = isValidRgbColor;
|
|
6137
6147
|
exports.isVisibleActivityItem = isVisibleActivityItem;
|