@pie-players/pie-tool-line-reader 0.3.55 → 0.3.57

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.
@@ -5,7 +5,7 @@ var n = class {
5
5
  "basic",
6
6
  "scientific",
7
7
  "graphing"
8
- ]), s(this, "version", "1.10"), s(this, "initialized", !1), s(this, "apiKey", void 0), s(this, "proxyEndpoint", void 0), s(this, "isDevelopment", !1), s(this, "onTelemetry", void 0);
8
+ ]), s(this, "version", "1.12"), s(this, "initialized", !1), s(this, "apiKey", void 0), s(this, "proxyEndpoint", void 0), s(this, "isDevelopment", !1), s(this, "onTelemetry", void 0);
9
9
  }
10
10
  async emitTelemetry(e, o) {
11
11
  try {
@@ -20,7 +20,7 @@ var n = class {
20
20
  async loadDesmosScript() {
21
21
  return new Promise((e, o) => {
22
22
  const t = document.createElement("script");
23
- t.src = this.apiKey ? `https://www.desmos.com/api/v1.10/calculator.js?apiKey=${this.apiKey}` : "https://www.desmos.com/api/v1.10/calculator.js", t.async = !0, t.onload = () => {
23
+ t.src = this.apiKey ? `https://www.desmos.com/api/v1.12/calculator.js?apiKey=${this.apiKey}` : "https://www.desmos.com/api/v1.12/calculator.js", t.async = !0, t.onload = () => {
24
24
  window.Desmos ? (console.log("[DesmosProvider] Desmos API loaded successfully"), e()) : o(/* @__PURE__ */ new Error("Desmos API loaded but window.Desmos is undefined"));
25
25
  }, t.onerror = () => {
26
26
  o(/* @__PURE__ */ new Error("Failed to load Desmos API from CDN"));