@pie-players/pie-tool-graph 0.3.56 → 0.3.58
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.
|
|
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.
|
|
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"));
|
package/dist/tool-graph.js
CHANGED
|
@@ -3535,7 +3535,7 @@ function Mi(e, t, r) {
|
|
|
3535
3535
|
}
|
|
3536
3536
|
var du = class {
|
|
3537
3537
|
constructor() {
|
|
3538
|
-
y(this, "providerId", "desmos-calculator"), y(this, "providerName", "Desmos Calculator"), y(this, "category", "calculator"), y(this, "version", "1.
|
|
3538
|
+
y(this, "providerId", "desmos-calculator"), y(this, "providerName", "Desmos Calculator"), y(this, "category", "calculator"), y(this, "version", "1.12"), y(this, "requiresAuth", !0), y(this, "desmosProvider", null), y(this, "config", null);
|
|
3539
3539
|
}
|
|
3540
3540
|
async emitTelemetry(e, t) {
|
|
3541
3541
|
try {
|
|
@@ -3558,7 +3558,7 @@ var du = class {
|
|
|
3558
3558
|
});
|
|
3559
3559
|
const r = await (async () => {
|
|
3560
3560
|
try {
|
|
3561
|
-
const n = await import("./dist-
|
|
3561
|
+
const n = await import("./dist-DF-5k7aB.js");
|
|
3562
3562
|
return await this.emitTelemetry("pie-tool-library-load-success", {
|
|
3563
3563
|
toolId: "calculator",
|
|
3564
3564
|
operation: "desmos-provider-module-import",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-graph",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive coordinate grid graphing tool for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"unpkg": "./dist/tool-graph.js",
|
|
36
36
|
"jsdelivr": "./dist/tool-graph.js",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
39
|
-
"@pie-players/pie-context": "0.3.
|
|
40
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
38
|
+
"@pie-players/pie-assessment-toolkit": "0.3.58",
|
|
39
|
+
"@pie-players/pie-context": "0.3.58",
|
|
40
|
+
"@pie-players/pie-players-shared": "0.3.58"
|
|
41
41
|
},
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"scripts": {
|