@supernova-studio/model 1.10.1 → 1.10.3

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.mjs CHANGED
@@ -293,6 +293,7 @@ var ForgeChatMessage = z14.object({
293
293
  payload: z14.string(),
294
294
  createdAt: z14.coerce.date(),
295
295
  updatedAt: z14.coerce.date(),
296
+ opikSpanId: z14.string().optional(),
296
297
  sender: ForgeChatMessageSender
297
298
  });
298
299
 
@@ -1068,6 +1069,11 @@ function applyShallowObjectUpdate(object, update) {
1068
1069
  }
1069
1070
  return objectShallowCopy;
1070
1071
  }
1072
+ function pickDefined(obj) {
1073
+ return Object.fromEntries(
1074
+ Object.entries(obj).filter(([_, v]) => v !== void 0)
1075
+ );
1076
+ }
1071
1077
 
1072
1078
  // src/utils/content-loader-instruction.ts
1073
1079
  import { z as z40 } from "zod";
@@ -7232,6 +7238,7 @@ export {
7232
7238
  nonNullishFilter,
7233
7239
  nullishToOptional,
7234
7240
  parseUrl,
7241
+ pickDefined,
7235
7242
  pickLatestGroupSnapshots,
7236
7243
  pickLatestPageSnapshots,
7237
7244
  pickLatestSnapshots,