@pie-players/pie-tool-ruler 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-ruler.js
CHANGED
|
@@ -3212,7 +3212,7 @@ function Qa(t, e, r) {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
var i9 = class {
|
|
3214
3214
|
constructor() {
|
|
3215
|
-
$(this, "providerId", "desmos-calculator"), $(this, "providerName", "Desmos Calculator"), $(this, "category", "calculator"), $(this, "version", "1.
|
|
3215
|
+
$(this, "providerId", "desmos-calculator"), $(this, "providerName", "Desmos Calculator"), $(this, "category", "calculator"), $(this, "version", "1.12"), $(this, "requiresAuth", !0), $(this, "desmosProvider", null), $(this, "config", null);
|
|
3216
3216
|
}
|
|
3217
3217
|
async emitTelemetry(t, e) {
|
|
3218
3218
|
try {
|
|
@@ -3235,7 +3235,7 @@ var i9 = class {
|
|
|
3235
3235
|
});
|
|
3236
3236
|
const r = await (async () => {
|
|
3237
3237
|
try {
|
|
3238
|
-
const n = await import("./dist-
|
|
3238
|
+
const n = await import("./dist-DF-5k7aB.js");
|
|
3239
3239
|
return await this.emitTelemetry("pie-tool-library-load-success", {
|
|
3240
3240
|
toolId: "calculator",
|
|
3241
3241
|
operation: "desmos-provider-module-import",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-ruler",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.57",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruler measurement tool for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"unpkg": "./dist/tool-ruler.js",
|
|
39
39
|
"jsdelivr": "./dist/tool-ruler.js",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
42
|
-
"@pie-players/pie-context": "0.3.
|
|
43
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
41
|
+
"@pie-players/pie-assessment-toolkit": "0.3.57",
|
|
42
|
+
"@pie-players/pie-context": "0.3.57",
|
|
43
|
+
"@pie-players/pie-players-shared": "0.3.57",
|
|
44
44
|
"moveable": "^0.53.0"
|
|
45
45
|
},
|
|
46
46
|
"types": "./dist/index.d.ts",
|