@khanacademy/perseus-core 10.0.0 → 10.1.0

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.d.ts CHANGED
@@ -98,6 +98,7 @@ export { default as getCSProgramPublicWidgetOptions } from "./widgets/cs-program
98
98
  export { default as getExpressionPublicWidgetOptions } from "./widgets/expression/expression-util";
99
99
  export type { ExpressionPublicWidgetOptions } from "./widgets/expression/expression-util";
100
100
  export { default as getGrapherPublicWidgetOptions } from "./widgets/grapher/grapher-util";
101
+ export type { GrapherPublicWidgetOptions } from "./widgets/grapher/grapher-util";
101
102
  export { default as getGroupPublicWidgetOptions } from "./widgets/group/group-util";
102
103
  export { default as getInteractiveGraphPublicWidgetOptions, type InteractiveGraphPublicWidgetOptions, } from "./widgets/interactive-graph/interactive-graph-util";
103
104
  export { default as getLabelImagePublicWidgetOptions } from "./widgets/label-image/label-image-util";
package/dist/index.js CHANGED
@@ -205,7 +205,7 @@ const parsePerseusItem$1=object({question:parsePerseusRenderer,hints:defaulted(a
205
205
 
206
206
  function parsePerseusItem(json){if(isRealJSONParse(JSON.parse)){return JSON.parse(json)}throw new Error("Something went wrong.")}function parseAndMigratePerseusItem(json){throwErrorIfCheatingDetected();const object=JSON.parse(json);const result=parse(object,parsePerseusItem$1);if(isFailure(result)){return failure({message:result.detail,invalidObject:object})}return result}function parseAndMigratePerseusArticle(json){throwErrorIfCheatingDetected();const object=JSON.parse(json);const result=parse(object,parsePerseusArticle);if(isFailure(result)){return failure({message:result.detail,invalidObject:object})}return result}function throwErrorIfCheatingDetected(){if(!isRealJSONParse(JSON.parse)){throw new Error("Something went wrong.")}}
207
207
 
208
- const libName="@khanacademy/perseus-core";const libVersion="10.0.0";perseusUtils.addLibraryVersionToPerseusDebug(libName,libVersion);
208
+ const libName="@khanacademy/perseus-core";const libVersion="10.1.0";perseusUtils.addLibraryVersionToPerseusDebug(libName,libVersion);
209
209
 
210
210
  const Errors=Object.freeze({Unknown:"Unknown",Internal:"Internal",InvalidInput:"InvalidInput",NotAllowed:"NotAllowed",TransientService:"TransientService",Service:"Service"});
211
211