@learnpack/learnpack 5.0.342 → 5.0.344
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 +895 -21
- package/lib/creatorDist/assets/{index-BhqDgBS9.js → index-DnthLsvb.js} +4731 -4730
- package/lib/creatorDist/index.html +1 -1
- package/lib/utils/api.d.ts +1 -1
- package/lib/utils/api.js +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +1312 -19
- package/src/creator/src/components/FileUploader.tsx +1 -2
- package/src/creator/src/utils/rigo.ts +1 -2
- package/src/creatorDist/assets/{index-BhqDgBS9.js → index-DnthLsvb.js} +4731 -4730
- package/src/creatorDist/index.html +1 -1
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +2103 -2101
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/api.ts +2 -1
|
@@ -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-DnthLsvb.js"></script>
|
|
14
14
|
<link rel="stylesheet" crossorigin href="/creator/assets/index-CjddKHB_.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
package/lib/utils/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const RIGOBOT_HOST
|
|
1
|
+
export declare const RIGOBOT_HOST: string;
|
|
2
2
|
export declare const RIGOBOT_REALTIME_HOST = "https://ai.4geeks.com";
|
|
3
3
|
type TConsumableSlug = "ai-conversation-message" | "ai-compilation" | "ai-tutorial-generation" | "ai-generation" | "learnpack-publish";
|
|
4
4
|
export declare const countConsumables: (consumables: any, consumableSlug?: TConsumableSlug) => any;
|
package/lib/utils/api.js
CHANGED
|
@@ -8,7 +8,7 @@ const axios_1 = require("axios");
|
|
|
8
8
|
const dotenv = require("dotenv");
|
|
9
9
|
dotenv.config();
|
|
10
10
|
const HOST = "https://breathecode.herokuapp.com";
|
|
11
|
-
exports.RIGOBOT_HOST = "https://rigobot.herokuapp.com";
|
|
11
|
+
exports.RIGOBOT_HOST = process.env.RIGOBOT_HOST || "https://rigobot.herokuapp.com";
|
|
12
12
|
exports.RIGOBOT_REALTIME_HOST = "https://ai.4geeks.com";
|
|
13
13
|
// export const RIGOBOT_REALTIME_HOST = "http://127.0.0.1:8003"
|
|
14
14
|
// export const RIGOBOT_HOST = "https://rigobot-test-cca7d841c9d8.herokuapp.com"
|
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.344",
|
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
|
6
6
|
"contributors": [
|
|
7
7
|
{
|