@learnpack/learnpack 5.0.268 → 5.0.270
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.
- package/lib/commands/serve.js +1 -1
- package/lib/creatorDist/assets/{index-CqjbIn8n.js → index-CQXTTbaZ.js} +5 -1
- package/lib/creatorDist/index.html +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +1 -1
- package/src/creator/src/utils/rigo.ts +2 -2
- package/src/creatorDist/assets/{index-CqjbIn8n.js → index-CQXTTbaZ.js} +5 -1
- package/src/creatorDist/index.html +1 -1
- package/src/ui/_app/app.js +243 -243
- package/src/ui/app.tar.gz +0 -0
package/lib/commands/serve.js
CHANGED
@@ -515,7 +515,7 @@ class ServeCommand extends SessionCommand_1.default {
|
|
515
515
|
if (lesson.id === exercise.id) {
|
516
516
|
return Object.assign(Object.assign({}, lesson), { generated: true, status: "DONE" });
|
517
517
|
}
|
518
|
-
if (nextExercise && nextExercise.id === lesson.id &&
|
518
|
+
if (nextExercise && nextExercise.id === lesson.id && nextStarted) {
|
519
519
|
return Object.assign(Object.assign({}, lesson), { generated: false, status: "GENERATING" });
|
520
520
|
}
|
521
521
|
return Object.assign({}, lesson);
|
@@ -18649,7 +18649,11 @@ const Cv = async (e) => {
|
|
18649
18649
|
var s
|
18650
18650
|
try {
|
18651
18651
|
const l = Qu(15),
|
18652
|
-
u =
|
18652
|
+
u = `${
|
18653
|
+
Bb
|
18654
|
+
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
18655
|
+
: window.location.origin
|
18656
|
+
}/notifications/${l}`
|
18653
18657
|
return (
|
18654
18658
|
console.log("WEBHOOK URL to send to Rigo", u),
|
18655
18659
|
{
|
@@ -10,7 +10,7 @@
|
|
10
10
|
/>
|
11
11
|
|
12
12
|
<title>Learnpack Creator: Craft tutorials in seconds!</title>
|
13
|
-
<script type="module" crossorigin src="/creator/assets/index-
|
13
|
+
<script type="module" crossorigin src="/creator/assets/index-CQXTTbaZ.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-B4khtb0r.css">
|
15
15
|
</head>
|
16
16
|
<body>
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@learnpack/learnpack",
|
3
3
|
"description": "Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.",
|
4
|
-
"version": "5.0.
|
4
|
+
"version": "5.0.270",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
package/src/commands/serve.ts
CHANGED
@@ -806,7 +806,7 @@ export default class ServeCommand extends SessionCommand {
|
|
806
806
|
return { ...lesson, generated: true, status: "DONE" }
|
807
807
|
}
|
808
808
|
|
809
|
-
if (nextExercise && nextExercise.id === lesson.id &&
|
809
|
+
if (nextExercise && nextExercise.id === lesson.id && nextStarted) {
|
810
810
|
return { ...lesson, generated: false, status: "GENERATING" }
|
811
811
|
}
|
812
812
|
|
@@ -19,8 +19,8 @@ export const publicInteractiveCreation = async (
|
|
19
19
|
const webhookUrl = `${
|
20
20
|
DEV_MODE
|
21
21
|
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
22
|
-
:
|
23
|
-
|
22
|
+
: window.location.origin
|
23
|
+
// "https://9cw5zmww-3000.use2.devtunnels.ms"
|
24
24
|
}/notifications/${randomUID}`
|
25
25
|
|
26
26
|
console.log("WEBHOOK URL to send to Rigo", webhookUrl)
|
@@ -18649,7 +18649,11 @@ const Cv = async (e) => {
|
|
18649
18649
|
var s
|
18650
18650
|
try {
|
18651
18651
|
const l = Qu(15),
|
18652
|
-
u =
|
18652
|
+
u = `${
|
18653
|
+
Bb
|
18654
|
+
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
18655
|
+
: window.location.origin
|
18656
|
+
}/notifications/${l}`
|
18653
18657
|
return (
|
18654
18658
|
console.log("WEBHOOK URL to send to Rigo", u),
|
18655
18659
|
{
|
@@ -10,7 +10,7 @@
|
|
10
10
|
/>
|
11
11
|
|
12
12
|
<title>Learnpack Creator: Craft tutorials in seconds!</title>
|
13
|
-
<script type="module" crossorigin src="/creator/assets/index-
|
13
|
+
<script type="module" crossorigin src="/creator/assets/index-CQXTTbaZ.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-B4khtb0r.css">
|
15
15
|
</head>
|
16
16
|
<body>
|