@singi-labs/sifa-sdk 0.11.12 → 0.11.13
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 +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1754,7 +1754,17 @@ function normalizePresentationRole(value) {
|
|
|
1754
1754
|
const v = clean(value).toLowerCase();
|
|
1755
1755
|
if (!v) return void 0;
|
|
1756
1756
|
if (v.startsWith("id.sifa.defs#")) return v;
|
|
1757
|
-
|
|
1757
|
+
const exact = ROLE_TOKENS[v];
|
|
1758
|
+
if (exact) return exact;
|
|
1759
|
+
if (v.includes("keynote")) return ROLE_TOKENS.keynote;
|
|
1760
|
+
if (v.includes("workshop") || v.includes("masterclass") || v.includes("training"))
|
|
1761
|
+
return ROLE_TOKENS.workshop;
|
|
1762
|
+
if (v.includes("panel")) return ROLE_TOKENS.panelist;
|
|
1763
|
+
if (v.includes("host") || v.includes("moderat") || v.includes("emcee") || v.includes("chair"))
|
|
1764
|
+
return ROLE_TOKENS.host;
|
|
1765
|
+
if (v.includes("speaker") || v.includes("present") || v.includes("talk"))
|
|
1766
|
+
return ROLE_TOKENS.presenter;
|
|
1767
|
+
return void 0;
|
|
1758
1768
|
}
|
|
1759
1769
|
var MODE_FRAGMENTS = {
|
|
1760
1770
|
inperson: "#inperson",
|
|
@@ -2695,7 +2705,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2695
2705
|
});
|
|
2696
2706
|
|
|
2697
2707
|
// src/index.ts
|
|
2698
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2708
|
+
var SIFA_SDK_VERSION = "0.11.13";
|
|
2699
2709
|
|
|
2700
2710
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2701
2711
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|