@singi-labs/sifa-sdk 0.9.14 → 0.9.16

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.
@@ -121,6 +121,16 @@ interface ProfilePublication {
121
121
  orcidCorroborated?: boolean;
122
122
  pendingVerification?: boolean;
123
123
  appId?: string;
124
+ /**
125
+ * AT-URI of the parent `site.standard.publication` for Standard.site
126
+ * articles — the subscribable unit. Used to group articles by publication
127
+ * on the profile. Undefined for Sifa/ORCID publications.
128
+ */
129
+ publicationUri?: string | null;
130
+ /** Canonical publication origin — the subscribe / link-out target. */
131
+ publicationUrl?: string | null;
132
+ /** Publication display name for the group header (falls back to host). */
133
+ publicationName?: string | null;
124
134
  }
125
135
  interface ProfileVolunteering {
126
136
  rkey: string;
@@ -121,6 +121,16 @@ interface ProfilePublication {
121
121
  orcidCorroborated?: boolean;
122
122
  pendingVerification?: boolean;
123
123
  appId?: string;
124
+ /**
125
+ * AT-URI of the parent `site.standard.publication` for Standard.site
126
+ * articles — the subscribable unit. Used to group articles by publication
127
+ * on the profile. Undefined for Sifa/ORCID publications.
128
+ */
129
+ publicationUri?: string | null;
130
+ /** Canonical publication origin — the subscribe / link-out target. */
131
+ publicationUrl?: string | null;
132
+ /** Publication display name for the group header (falls back to host). */
133
+ publicationName?: string | null;
124
134
  }
125
135
  interface ProfileVolunteering {
126
136
  rkey: string;
package/dist/index.cjs CHANGED
@@ -1610,7 +1610,7 @@ function bookhiveHasOpinion(record) {
1610
1610
  return review.length > 0 || stars > 0;
1611
1611
  }
1612
1612
  function beaconbitsHasContent(record) {
1613
- return isNonEmptyString(record.shout) || record.postRef != null;
1613
+ return isNonEmptyString(record.shout) || record.post != null;
1614
1614
  }
1615
1615
  function marginBookmarkHasSource(record) {
1616
1616
  return isNonEmptyString(record.source);
@@ -1867,7 +1867,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
1867
1867
  });
1868
1868
 
1869
1869
  // src/index.ts
1870
- var SIFA_SDK_VERSION = "0.9.14";
1870
+ var SIFA_SDK_VERSION = "0.9.16";
1871
1871
 
1872
1872
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
1873
1873
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;