@singi-labs/sifa-sdk 0.11.1 → 0.11.2

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.
@@ -168,6 +168,10 @@ interface ProfileCourse {
168
168
  name: string;
169
169
  institution?: string;
170
170
  number?: string;
171
+ /** rkey of the associated certification, resolved from the course's
172
+ * `credential` at-uri. Used to join the course to a certification in the
173
+ * same profile payload (for the linked-credential date and link). */
174
+ credentialRkey?: string;
171
175
  hidden?: boolean;
172
176
  }
173
177
  interface TrustStat {
@@ -168,6 +168,10 @@ interface ProfileCourse {
168
168
  name: string;
169
169
  institution?: string;
170
170
  number?: string;
171
+ /** rkey of the associated certification, resolved from the course's
172
+ * `credential` at-uri. Used to join the course to a certification in the
173
+ * same profile payload (for the linked-credential date and link). */
174
+ credentialRkey?: string;
171
175
  hidden?: boolean;
172
176
  }
173
177
  interface TrustStat {
package/dist/index.cjs CHANGED
@@ -2235,6 +2235,9 @@ var ProfileCourseRecordSchema = zod.z.object({
2235
2235
  number: zod.z.string().refine(maxGraphemes(50)).max(500).optional(),
2236
2236
  institution: zod.z.string().refine(maxGraphemes(100)).max(1e3).optional(),
2237
2237
  education: strongRefSchema.optional(),
2238
+ // AT-URI of the associated id.sifa.profile.certification record. Plain
2239
+ // at-uri (not a strongRef) so the link tracks the live certification.
2240
+ credential: atUriSchema.optional(),
2238
2241
  createdAt: datetimeSchema
2239
2242
  });
2240
2243
  var ProfileEducationRecordSchema = zod.z.object({
@@ -2340,7 +2343,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
2340
2343
  });
2341
2344
 
2342
2345
  // src/index.ts
2343
- var SIFA_SDK_VERSION = "0.11.1";
2346
+ var SIFA_SDK_VERSION = "0.11.2";
2344
2347
 
2345
2348
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
2346
2349
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;