@pie-players/pie-tool-theme 0.3.56 → 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"));
@@ -3463,7 +3463,7 @@ function jo(e, t, r) {
3463
3463
  }
3464
3464
  var rd = class {
3465
3465
  constructor() {
3466
- m(this, "providerId", "desmos-calculator"), m(this, "providerName", "Desmos Calculator"), m(this, "category", "calculator"), m(this, "version", "1.10"), m(this, "requiresAuth", !0), m(this, "desmosProvider", null), m(this, "config", null);
3466
+ m(this, "providerId", "desmos-calculator"), m(this, "providerName", "Desmos Calculator"), m(this, "category", "calculator"), m(this, "version", "1.12"), m(this, "requiresAuth", !0), m(this, "desmosProvider", null), m(this, "config", null);
3467
3467
  }
3468
3468
  async emitTelemetry(e, t) {
3469
3469
  try {
@@ -3486,7 +3486,7 @@ var rd = class {
3486
3486
  });
3487
3487
  const r = await (async () => {
3488
3488
  try {
3489
- const n = await import("./dist-Dns3leWh.js");
3489
+ const n = await import("./dist-DF-5k7aB.js");
3490
3490
  return await this.emitTelemetry("pie-tool-library-load-success", {
3491
3491
  toolId: "calculator",
3492
3492
  operation: "desmos-provider-module-import",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-tool-theme",
3
- "version": "0.3.56",
3
+ "version": "0.3.57",
4
4
  "type": "module",
5
5
  "description": "Theme tool for PIE assessment player - provides accessible themes and color schemes",
6
6
  "repository": {
@@ -36,10 +36,10 @@
36
36
  "unpkg": "./dist/tool-color-scheme.js",
37
37
  "jsdelivr": "./dist/tool-color-scheme.js",
38
38
  "dependencies": {
39
- "@pie-players/pie-assessment-toolkit": "0.3.56",
40
- "@pie-players/pie-context": "0.3.56",
41
- "@pie-players/pie-players-shared": "0.3.56",
42
- "@pie-players/pie-theme": "0.3.56"
39
+ "@pie-players/pie-assessment-toolkit": "0.3.57",
40
+ "@pie-players/pie-context": "0.3.57",
41
+ "@pie-players/pie-players-shared": "0.3.57",
42
+ "@pie-players/pie-theme": "0.3.57"
43
43
  },
44
44
  "types": "./dist/index.d.ts",
45
45
  "scripts": {