@doenet/v06-to-v07 0.7.26-dev.580 → 0.7.26-dev.581
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/{index-hHELSM14.js → index-DGyduyFg.js} +11 -2
- package/{index-hHELSM14.js.map → index-DGyduyFg.js.map} +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{sha256-8sXzDnE0-BmygKT_E-BMLWWSgR.js → sha256-8sXzDnE0-CGiFZhfh-BBk7ox76.js} +2 -2
- package/{sha256-8sXzDnE0-BmygKT_E-BMLWWSgR.js.map → sha256-8sXzDnE0-CGiFZhfh-BBk7ox76.js.map} +1 -1
|
@@ -47916,7 +47916,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
47916
47916
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
47917
47917
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
47918
47918
|
} catch (e22) {
|
|
47919
|
-
const sha256 = (await import("./sha256-8sXzDnE0-
|
|
47919
|
+
const sha256 = (await import("./sha256-8sXzDnE0-CGiFZhfh-BBk7ox76.js").then((n2) => n2.s)).default;
|
|
47920
47920
|
digest = (data2) => sha256(data2, {
|
|
47921
47921
|
asBytes: true
|
|
47922
47922
|
});
|
|
@@ -113515,6 +113515,15 @@ class Point extends GraphicalComponent {
|
|
|
113515
113515
|
entryPrefixes: ["unconstrainedX"],
|
|
113516
113516
|
defaultValueByArrayKey: () => Context.fromAst(0),
|
|
113517
113517
|
hasEssential: true,
|
|
113518
|
+
// Restored saved state arrives as a bare tree, not a math
|
|
113519
|
+
// expression: persistence strips the class on the way out, to keep
|
|
113520
|
+
// the saved state small, and nothing on the way back in puts it
|
|
113521
|
+
// back. `set` is the declared place to coerce a value that came
|
|
113522
|
+
// from outside, and without it a reloaded point holds a raw number
|
|
113523
|
+
// here. `xs` converts before publishing a value, so the raw number
|
|
113524
|
+
// is invisible until the constraint machinery reads this variable
|
|
113525
|
+
// directly and calls a math-expression method on it (#1939).
|
|
113526
|
+
set: convertValueToMathExpression,
|
|
113518
113527
|
returnArraySizeDependencies: () => ({
|
|
113519
113528
|
numDimensions: {
|
|
113520
113529
|
dependencyType: "stateVariable",
|
|
@@ -248693,4 +248702,4 @@ export {
|
|
|
248693
248702
|
getDefaultExportFromCjs$1 as g,
|
|
248694
248703
|
updateSyntaxFromV06toV07 as u
|
|
248695
248704
|
};
|
|
248696
|
-
//# sourceMappingURL=index-
|
|
248705
|
+
//# sourceMappingURL=index-DGyduyFg.js.map
|