@learnpack/learnpack 5.0.254 → 5.0.256
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 +0 -1
- package/lib/creatorDist/assets/{index-CFM_Ypyi.js → index-DZq54NPa.js} +5 -1
- package/lib/creatorDist/index.html +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +0 -1
- package/src/creator/src/utils/rigo.ts +1 -3
- package/src/creatorDist/assets/{index-CFM_Ypyi.js → index-DZq54NPa.js} +5 -1
- package/src/creatorDist/index.html +1 -1
package/lib/commands/serve.js
CHANGED
@@ -75,7 +75,6 @@ const PARAMS = {
|
|
75
75
|
};
|
76
76
|
const processImage = async (url, description, rigoToken, courseSlug) => {
|
77
77
|
try {
|
78
|
-
// TODO: MAKE THIS ASYNC
|
79
78
|
const filename = (0, creatorUtilities_1.getFilenameFromUrl)(url);
|
80
79
|
const webhookUrl = `${process.env.HOST}/webhooks/${courseSlug}/images/${filename}`;
|
81
80
|
await (0, rigoActions_1.generateImage)(rigoToken, {
|
@@ -18250,7 +18250,11 @@ const d2 = async (e) => {
|
|
18250
18250
|
var a
|
18251
18251
|
try {
|
18252
18252
|
const l = Ku(15),
|
18253
|
-
u =
|
18253
|
+
u = `${
|
18254
|
+
L1
|
18255
|
+
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
18256
|
+
: window.location.origin
|
18257
|
+
}/notifications/${l}`
|
18254
18258
|
return (
|
18255
18259
|
console.log("WEBHOOK URL to send to Rigo", u),
|
18256
18260
|
{
|
@@ -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-DZq54NPa.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-DmpsXknz.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.256",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
package/src/commands/serve.ts
CHANGED
@@ -19,9 +19,7 @@ export const publicInteractiveCreation = async (
|
|
19
19
|
const webhookUrl = `${
|
20
20
|
DEV_MODE
|
21
21
|
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
22
|
-
:
|
23
|
-
// : window.location.origin
|
24
|
-
"https://9cw5zmww-3000.use2.devtunnels.ms"
|
22
|
+
: window.location.origin
|
25
23
|
}/notifications/${randomUID}`
|
26
24
|
|
27
25
|
console.log("WEBHOOK URL to send to Rigo", webhookUrl)
|
@@ -18250,7 +18250,11 @@ const d2 = async (e) => {
|
|
18250
18250
|
var a
|
18251
18251
|
try {
|
18252
18252
|
const l = Ku(15),
|
18253
|
-
u =
|
18253
|
+
u = `${
|
18254
|
+
L1
|
18255
|
+
? "https://9cw5zmww-3000.use2.devtunnels.ms"
|
18256
|
+
: window.location.origin
|
18257
|
+
}/notifications/${l}`
|
18254
18258
|
return (
|
18255
18259
|
console.log("WEBHOOK URL to send to Rigo", u),
|
18256
18260
|
{
|
@@ -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-DZq54NPa.js"></script>
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-DmpsXknz.css">
|
15
15
|
</head>
|
16
16
|
<body>
|