@pie-players/pie-tool-line-reader 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.
|
|
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-line-reader.js
CHANGED
|
@@ -3268,7 +3268,7 @@ function zr(e, t, n) {
|
|
|
3268
3268
|
}
|
|
3269
3269
|
var Ec = class {
|
|
3270
3270
|
constructor() {
|
|
3271
|
-
g(this, "providerId", "desmos-calculator"), g(this, "providerName", "Desmos Calculator"), g(this, "category", "calculator"), g(this, "version", "1.
|
|
3271
|
+
g(this, "providerId", "desmos-calculator"), g(this, "providerName", "Desmos Calculator"), g(this, "category", "calculator"), g(this, "version", "1.12"), g(this, "requiresAuth", !0), g(this, "desmosProvider", null), g(this, "config", null);
|
|
3272
3272
|
}
|
|
3273
3273
|
async emitTelemetry(e, t) {
|
|
3274
3274
|
try {
|
|
@@ -3291,7 +3291,7 @@ var Ec = class {
|
|
|
3291
3291
|
});
|
|
3292
3292
|
const n = await (async () => {
|
|
3293
3293
|
try {
|
|
3294
|
-
const r = await import("./dist-
|
|
3294
|
+
const r = await import("./dist-DF-5k7aB.js");
|
|
3295
3295
|
return await this.emitTelemetry("pie-tool-library-load-success", {
|
|
3296
3296
|
toolId: "calculator",
|
|
3297
3297
|
operation: "desmos-provider-module-import",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-line-reader",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.57",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Reading guide overlay tool for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"unpkg": "./dist/tool-line-reader.js",
|
|
35
35
|
"jsdelivr": "./dist/tool-line-reader.js",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
38
|
-
"@pie-players/pie-context": "0.3.
|
|
39
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
37
|
+
"@pie-players/pie-assessment-toolkit": "0.3.57",
|
|
38
|
+
"@pie-players/pie-context": "0.3.57",
|
|
39
|
+
"@pie-players/pie-players-shared": "0.3.57"
|
|
40
40
|
},
|
|
41
41
|
"types": "./dist/index.d.ts",
|
|
42
42
|
"scripts": {
|