@supernova-studio/client 0.4.2 → 0.4.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.js CHANGED
@@ -4240,7 +4240,7 @@ function serializeTextSpan(span) {
4240
4240
  }
4241
4241
  );
4242
4242
  }
4243
- return interspersed;
4243
+ return interspersed.filter((t) => !!t.text);
4244
4244
  }
4245
4245
  function serializeTextSpanAttribute(spanAttribute) {
4246
4246
  switch (spanAttribute.type) {