@singi-labs/sifa-sdk 0.19.95 → 0.19.96
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 +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/logic/index.js +5 -1
- package/dist/logic/index.js.map +1 -1
- package/dist/logic/profile-completeness.js +7 -1
- package/dist/logic/profile-completeness.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6047,6 +6047,10 @@ function completenessScore(c) {
|
|
|
6047
6047
|
function completenessPercent(c) {
|
|
6048
6048
|
return Math.round(completenessScore(c) / COMPLETENESS_MAX_SCORE * 100);
|
|
6049
6049
|
}
|
|
6050
|
+
var OPTIONAL_COMPLETENESS_SIGNALS = ["certification"];
|
|
6051
|
+
function isOptionalCompletenessSignal(signal) {
|
|
6052
|
+
return OPTIONAL_COMPLETENESS_SIGNALS.some((optional) => optional === signal);
|
|
6053
|
+
}
|
|
6050
6054
|
|
|
6051
6055
|
// src/logic/profile-dimensions.ts
|
|
6052
6056
|
var DIMENSIONS_MAX_SCORE = 6;
|
|
@@ -7692,7 +7696,7 @@ function describeSifaRecord(collection, value) {
|
|
|
7692
7696
|
}
|
|
7693
7697
|
|
|
7694
7698
|
// src/index.ts
|
|
7695
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
7699
|
+
var SIFA_SDK_VERSION = "0.19.96";
|
|
7696
7700
|
|
|
7697
7701
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
7698
7702
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -7774,6 +7778,7 @@ exports.OPEN_TO_TOKENS = OPEN_TO_TOKENS;
|
|
|
7774
7778
|
exports.OPEN_TO_TOKEN_LABELS = OPEN_TO_TOKEN_LABELS;
|
|
7775
7779
|
exports.OPEN_TO_TOKEN_TO_VALUE = OPEN_TO_TOKEN_TO_VALUE;
|
|
7776
7780
|
exports.OPEN_TO_VALUE_TO_TOKEN = OPEN_TO_VALUE_TO_TOKEN;
|
|
7781
|
+
exports.OPTIONAL_COMPLETENESS_SIGNALS = OPTIONAL_COMPLETENESS_SIGNALS;
|
|
7777
7782
|
exports.OrgEmploymentAttestationRecordSchema = OrgEmploymentAttestationRecordSchema;
|
|
7778
7783
|
exports.OrgProfileRecordSchema = OrgProfileRecordSchema;
|
|
7779
7784
|
exports.PLATFORM_LABELS = PLATFORM_LABELS;
|
|
@@ -7936,6 +7941,7 @@ exports.isKnownPlatform = isKnownPlatform;
|
|
|
7936
7941
|
exports.isKnownVerificationProvider = isKnownVerificationProvider;
|
|
7937
7942
|
exports.isLinked = isLinked;
|
|
7938
7943
|
exports.isOnBehalfOfApplicable = isOnBehalfOfApplicable;
|
|
7944
|
+
exports.isOptionalCompletenessSignal = isOptionalCompletenessSignal;
|
|
7939
7945
|
exports.isPseudoEmployer = isPseudoEmployer;
|
|
7940
7946
|
exports.isRegistrableDomainHandle = isRegistrableDomainHandle;
|
|
7941
7947
|
exports.isRelationalActivity = isRelationalActivity;
|