@khanacademy/perseus 6.4.2 → 6.4.4

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
@@ -2488,8 +2488,6 @@ const sendExpressionEvaluatedEvent = result => {
2488
2488
  getDependencies().analytics({
2489
2489
  type: "perseus:expression-evaluated",
2490
2490
  payload: {
2491
- virtualKeypadVersion: "PERSEUS_MATH_INPUT",
2492
- // STOPSHIP: Or do we push that onto host application?
2493
2491
  result
2494
2492
  }
2495
2493
  });
@@ -9141,12 +9139,13 @@ var Tex$1 = {
9141
9139
  // We use createElement instead of JSX here because we can't name this file tex.tsx;
9142
9140
  // that name is already taken.
9143
9141
  render( /*#__PURE__*/React__namespace.createElement(TeX, {
9144
- children: text
9145
- }), $katexHolder[0], () => {
9146
- if (callback) {
9147
- doCallback(elem, callback);
9142
+ children: text,
9143
+ onRender: () => {
9144
+ if (callback) {
9145
+ doCallback(elem, callback);
9146
+ }
9148
9147
  }
9149
- });
9148
+ }), $katexHolder[0]);
9150
9149
  }
9151
9150
  },
9152
9151
  // Function to restore a node to a non-math-processed state