@pie-players/pie-calculator-cortex 0.3.75 → 1.0.0-beta.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.js CHANGED
@@ -26,7 +26,7 @@ var h = class {
26
26
  async createCalculator(e, r, s = {}) {
27
27
  if (this.initialized || await this.initialize(), !this.supportsType(e)) throw new t("unsupported-expression", `Cortex does not support calculator type: ${e}.`);
28
28
  if (!(r instanceof HTMLElement)) throw new t("invalid-state", "A valid HTML container is required.");
29
- const o = l(e, s), { createCortexCalculator: a } = await import("./chunks/runtime-wcU7KOFU.js"), i = a(this, r, o, this.onTelemetry, (n) => this.instances.delete(n));
29
+ const o = l(e, s), { createCortexCalculator: a } = await import("./chunks/runtime-YFqnU6ic.js"), i = a(this, r, o, this.onTelemetry, (n) => this.instances.delete(n));
30
30
  return this.instances.add(i), i;
31
31
  }
32
32
  supportsType(e) {
@@ -1,7 +1,5 @@
1
- import { ResolvedCortexSettings } from './settings.js';
2
1
  import { CortexGraphViewport } from './types.js';
3
2
  import { EvaluationResult, SampledSeries, WorkerEvaluationSettings } from './worker-protocol.js';
4
- export declare function workerSettingsToResolved(type: "basic" | "scientific" | "graphing", settings: WorkerEvaluationSettings): ResolvedCortexSettings;
5
3
  export declare function evaluateLatex(type: "basic" | "scientific" | "graphing", latex: string, settings: WorkerEvaluationSettings): EvaluationResult;
6
4
  export declare function sampleLatex(expressions: Array<{
7
5
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-calculator-cortex",
3
- "version": "0.3.75",
3
+ "version": "1.0.0-beta.0",
4
4
  "description": "Fully bundled open-source calculator provider for PIE assessment tools",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -47,20 +47,20 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@pie-players/pie-calculator": "0.3.75"
50
+ "@pie-players/pie-calculator": "1.0.0-beta.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@axe-core/playwright": "^4.13.0",
54
54
  "@biomejs/biome": "^2.5.15",
55
- "@cortex-js/compute-engine": "0.147.0",
55
+ "@cortex-js/compute-engine": "0.149.0",
56
56
  "@playwright/test": "^1.63.0",
57
57
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
58
- "jsxgraph": "1.13.3",
58
+ "jsxgraph": "1.14.0",
59
59
  "mathlive": "0.111.0",
60
60
  "svelte": "^5.57.1",
61
61
  "svelte-check": "^4.7.6",
62
62
  "typescript": "^5.9.3",
63
- "vite": "^8.3.2",
63
+ "vite": "^8.3.3",
64
64
  "vite-plugin-dts": "^5.1.2"
65
65
  },
66
66
  "sideEffects": false,