@learnpack/learnpack 5.0.296 → 5.0.298

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.processImage = exports.createLearnJson = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ require("newrelic");
5
6
  const command_1 = require("@oclif/command");
6
7
  const buffer_1 = require("buffer");
7
8
  const express = require("express");
@@ -18678,7 +18678,11 @@ const FP = async (e) => {
18678
18678
  var r;
18679
18679
  try {
18680
18680
  const l = kj(15),
18681
- u = `https://1gm40gnb-3000.use2.devtunnels.ms/notifications/${l}`;
18681
+ u = `${
18682
+ tV
18683
+ ? "https://1gm40gnb-3000.use2.devtunnels.ms"
18684
+ : window.location.origin
18685
+ }/notifications/${l}`;
18682
18686
  return (
18683
18687
  console.log("WEBHOOK URL to send to Rigo", u),
18684
18688
  {
@@ -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-CwOHnpZp.js"></script>
13
+ <script type="module" crossorigin src="/creator/assets/index-D25zkBaN.js"></script>
14
14
  <link rel="stylesheet" crossorigin href="/creator/assets/index-DTjdV1LF.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.296",
4
+ "version": "5.0.298",
5
5
  "author": "Alejandro Sanchez @alesanchezr",
6
6
  "contributors": [
7
7
  {
@@ -1,4 +1,5 @@
1
- import * as newrelic from "newrelic"
1
+ require("newrelic")
2
+
2
3
  import { flags } from "@oclif/command"
3
4
 
4
5
  import { Buffer } from "buffer"
@@ -19,8 +19,8 @@ export const publicInteractiveCreation = async (
19
19
  const webhookUrl = `${
20
20
  DEV_MODE
21
21
  ? "https://1gm40gnb-3000.use2.devtunnels.ms"
22
- : // : window.location.orPigin
23
- "https://1gm40gnb-3000.use2.devtunnels.ms"
22
+ : window.location.origin
23
+ // "https://1gm40gnb-3000.use2.devtunnels.ms"
24
24
  }/notifications/${randomUID}`;
25
25
 
26
26
  console.log("WEBHOOK URL to send to Rigo", webhookUrl);
@@ -18678,7 +18678,11 @@ const FP = async (e) => {
18678
18678
  var r;
18679
18679
  try {
18680
18680
  const l = kj(15),
18681
- u = `https://1gm40gnb-3000.use2.devtunnels.ms/notifications/${l}`;
18681
+ u = `${
18682
+ tV
18683
+ ? "https://1gm40gnb-3000.use2.devtunnels.ms"
18684
+ : window.location.origin
18685
+ }/notifications/${l}`;
18682
18686
  return (
18683
18687
  console.log("WEBHOOK URL to send to Rigo", u),
18684
18688
  {
@@ -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-CwOHnpZp.js"></script>
13
+ <script type="module" crossorigin src="/creator/assets/index-D25zkBaN.js"></script>
14
14
  <link rel="stylesheet" crossorigin href="/creator/assets/index-DTjdV1LF.css">
15
15
  </head>
16
16
  <body>