@singi-labs/sifa-sdk 0.14.2 → 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/query/fetchers/index.cjs +1 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.js +1 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/index.cjs +1 -1
- package/dist/query/index.cjs.map +1 -1
- 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/package.json +1 -1
|
@@ -1542,7 +1542,7 @@ function removeOrgNotificationEmail(config, body, options = {}) {
|
|
|
1542
1542
|
// src/logic/primary-position.ts
|
|
1543
1543
|
function pickPrimaryPosition(positions) {
|
|
1544
1544
|
if (!positions || positions.length === 0) return void 0;
|
|
1545
|
-
const active = positions.filter((p) => !p.endedAt);
|
|
1545
|
+
const active = positions.filter((p) => !p.endedAt && !p.hidden);
|
|
1546
1546
|
if (active.length === 0) return void 0;
|
|
1547
1547
|
const flagged = active.find((p) => p.primary === true);
|
|
1548
1548
|
if (flagged) return flagged;
|