@singi-labs/sifa-sdk 0.14.1 → 0.14.4
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/badge/index.cjs +1 -1
- package/dist/badge/index.cjs.map +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/badge/index.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.cjs +7 -5
- package/dist/jsonld/index.cjs.map +1 -1
- package/dist/jsonld/index.js +7 -5
- package/dist/jsonld/index.js.map +1 -1
- package/dist/{network-map-isNIwLjJ.d.ts → network-map-DZjcO7tM.d.ts} +1 -1
- package/dist/{network-map-BEcmDuQo.d.cts → network-map-Ds3OR7eJ.d.cts} +1 -1
- package/dist/{org-DCQ0CVhV.d.cts → org-DmtI6C4A.d.cts} +7 -0
- package/dist/{org-BmxWk5e5.d.ts → org-h8nhEeAJ.d.ts} +7 -0
- package/dist/query/fetchers/index.cjs +1 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js +1 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +1 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +1 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +13 -1
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +2 -0
- package/dist/schemas/write/index.d.ts +2 -0
- package/dist/schemas/write/index.js +13 -1
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{use-org-notification-emails-lU4L6aMl.d.cts → use-org-notification-emails-CkCQJhy8.d.cts} +1 -1
- package/dist/{use-org-notification-emails-CqoJgJKf.d.ts → use-org-notification-emails-Cz4cuTyg.d.ts} +1 -1
- package/package.json +5 -5
package/dist/query/index.cjs
CHANGED
|
@@ -167,7 +167,7 @@ async function fetchGetProfileView(config, actor, options = {}) {
|
|
|
167
167
|
// src/logic/primary-position.ts
|
|
168
168
|
function pickPrimaryPosition(positions) {
|
|
169
169
|
if (!positions || positions.length === 0) return void 0;
|
|
170
|
-
const active = positions.filter((p) => !p.endedAt);
|
|
170
|
+
const active = positions.filter((p) => !p.endedAt && !p.hidden);
|
|
171
171
|
if (active.length === 0) return void 0;
|
|
172
172
|
const flagged = active.find((p) => p.primary === true);
|
|
173
173
|
if (flagged) return flagged;
|