@singi-labs/sifa-sdk 0.19.88 → 0.19.90
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/{follow-profile-CcMgQDsh.d.ts → follow-profile-CVcA2w1v.d.ts} +1 -1
- package/dist/{follow-profile-D3zDoDll.d.cts → follow-profile-CgLLLQtJ.d.cts} +1 -1
- package/dist/{index-LxGL5I-J.d.ts → index-BEAuoL6l.d.ts} +1 -1
- package/dist/{index-C2n-GjH2.d.cts → index-DU0pYHch.d.cts} +1 -1
- package/dist/index.cjs +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +2 -2
- package/dist/jsonld/index.d.ts +2 -2
- package/dist/{network-map-k2QxGpGf.d.ts → network-map-Bx5ohCEV.d.ts} +4 -4
- package/dist/{network-map-CFZx_xXE.d.cts → network-map-D39CQj9J.d.cts} +4 -4
- package/dist/{profile-summary-CwJD0-wo.d.cts → profile-summary-D56VII1x.d.cts} +1 -1
- package/dist/{profile-summary-2pFtukEK.d.ts → profile-summary-DPNTzeDv.d.ts} +1 -1
- package/dist/query/fetchers/index.d.cts +8 -8
- package/dist/query/fetchers/index.d.ts +8 -8
- package/dist/query/hooks/index.d.cts +6 -6
- package/dist/query/hooks/index.d.ts +6 -6
- package/dist/query/index.d.cts +11 -11
- package/dist/query/index.d.ts +11 -11
- package/dist/resume/export-contact.js +57 -0
- package/dist/resume/export-contact.js.map +1 -0
- package/dist/resume/funder-cv.js +3 -2
- package/dist/resume/funder-cv.js.map +1 -1
- package/dist/resume/index.cjs +63 -3
- package/dist/resume/index.cjs.map +1 -1
- package/dist/resume/index.d.cts +90 -5
- package/dist/resume/index.d.ts +90 -5
- package/dist/resume/index.js +12 -0
- package/dist/resume/index.js.map +1 -1
- package/dist/resume/json-resume.js +8 -1
- package/dist/resume/json-resume.js.map +1 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +2 -2
- package/dist/schemas/index.d.ts +2 -2
- package/dist/taxonomy/index.js +6 -2
- package/dist/taxonomy/index.js.map +1 -1
- package/dist/taxonomy/verification-providers.js +19 -1
- package/dist/taxonomy/verification-providers.js.map +1 -1
- package/dist/tokens/colors.js +6 -1
- package/dist/tokens/colors.js.map +1 -1
- package/dist/tokens/index.cjs +5 -0
- package/dist/tokens/index.cjs.map +1 -1
- package/dist/tokens/index.d.cts +17 -1
- package/dist/tokens/index.d.ts +17 -1
- package/dist/tokens/index.js +3 -2
- package/dist/tokens/index.js.map +1 -1
- package/dist/{types-CICITVJa.d.ts → types-BqxbmLY6.d.ts} +2 -2
- package/dist/{types-DkrZo5eF.d.cts → types-Dd7UMXIz.d.cts} +2 -2
- package/dist/{use-user-settings-Azxf51V9.d.cts → use-user-settings-CBH1CeDP.d.cts} +4 -4
- package/dist/{use-user-settings-DQNz9PYA.d.ts → use-user-settings-CFhaGcAq.d.ts} +4 -4
- package/dist/{user-settings-BDZ9i-Pk.d.cts → user-settings-ChPm0BFN.d.cts} +4 -4
- package/dist/{user-settings-DvqRXhdC.d.ts → user-settings-D1zKOWa2.d.ts} +4 -4
- package/dist/{verification-providers-BPdY3KyH.d.cts → verification-providers-DeyGqaoC.d.cts} +24 -4
- package/dist/{verification-providers-BPdY3KyH.d.ts → verification-providers-DeyGqaoC.d.ts} +24 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as AccountVerification } from './verification-providers-
|
|
2
|
+
import { a as AccountVerification } from './verification-providers-DeyGqaoC.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A single typeahead row. Discriminated on `source`: a curated `entity` row
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as AccountVerification } from './verification-providers-
|
|
2
|
+
import { a as AccountVerification } from './verification-providers-DeyGqaoC.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A single typeahead row. Discriminated on `source`: a curated `entity` row
|
package/dist/index.cjs
CHANGED
|
@@ -2646,6 +2646,22 @@ function primaryVerification(verifications) {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
return best;
|
|
2648
2648
|
}
|
|
2649
|
+
var MAX_LABEL_LENGTH = 64;
|
|
2650
|
+
function verificationLabel(v) {
|
|
2651
|
+
const name = v.issuerName?.trim();
|
|
2652
|
+
if (name) {
|
|
2653
|
+
const chars = [...name];
|
|
2654
|
+
return chars.length > MAX_LABEL_LENGTH ? `${chars.slice(0, MAX_LABEL_LENGTH - 1).join("")}\u2026` : name;
|
|
2655
|
+
}
|
|
2656
|
+
return getVerificationProvider(v.provider)?.label ?? v.provider;
|
|
2657
|
+
}
|
|
2658
|
+
function resolveVerificationBadges(input) {
|
|
2659
|
+
const badges = input.verificationBadges;
|
|
2660
|
+
if (badges && badges.length === 0) return [];
|
|
2661
|
+
const known = (badges ?? []).filter((b) => isKnownVerificationProvider(b.provider));
|
|
2662
|
+
if (known.length > 0) return known;
|
|
2663
|
+
return input.blueskyVerified ? [{ provider: "bluesky", verifiedAt: input.blueskyVerifiedAt ?? null }] : [];
|
|
2664
|
+
}
|
|
2649
2665
|
|
|
2650
2666
|
// src/taxonomy/investment.ts
|
|
2651
2667
|
var INVESTMENT_ROLE_OPTIONS = [
|
|
@@ -7676,7 +7692,7 @@ function describeSifaRecord(collection, value) {
|
|
|
7676
7692
|
}
|
|
7677
7693
|
|
|
7678
7694
|
// src/index.ts
|
|
7679
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
7695
|
+
var SIFA_SDK_VERSION = "0.19.90";
|
|
7680
7696
|
|
|
7681
7697
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
7682
7698
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -7982,6 +7998,7 @@ exports.resolveCardHealth = resolveCardHealth;
|
|
|
7982
7998
|
exports.resolveCardUrl = resolveCardUrl;
|
|
7983
7999
|
exports.resolveEmbed = resolveEmbed;
|
|
7984
8000
|
exports.resolveEmploymentVerification = resolveEmploymentVerification;
|
|
8001
|
+
exports.resolveVerificationBadges = resolveVerificationBadges;
|
|
7985
8002
|
exports.resolveVerifierProvider = resolveVerifierProvider;
|
|
7986
8003
|
exports.rgbToString = rgbToString;
|
|
7987
8004
|
exports.roadmapIssueUrl = roadmapIssueUrl;
|
|
@@ -8032,6 +8049,7 @@ exports.truncateGraphemes = truncateGraphemes;
|
|
|
8032
8049
|
exports.uriSchema = uriSchema;
|
|
8033
8050
|
exports.validateTalksImport = validateTalksImport;
|
|
8034
8051
|
exports.verbForCollection = verbForCollection;
|
|
8052
|
+
exports.verificationLabel = verificationLabel;
|
|
8035
8053
|
exports.visibleItems = visibleItems;
|
|
8036
8054
|
exports.youtubeThumbnailUrl = youtubeThumbnailUrl;
|
|
8037
8055
|
exports.youtubeVideoId = youtubeVideoId;
|