@scout9/app 1.0.0-alpha.0.1.83 → 1.0.0-alpha.0.1.84
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.
|
@@ -41174,7 +41174,7 @@ class Body {
|
|
|
41174
41174
|
}
|
|
41175
41175
|
const {
|
|
41176
41176
|
toFormData
|
|
41177
|
-
} = await Promise.resolve().then(function () { return require("./multipart-parser-
|
|
41177
|
+
} = await Promise.resolve().then(function () { return require("./multipart-parser-141ee5a8.cjs"); });
|
|
41178
41178
|
return toFormData(this.body, ct);
|
|
41179
41179
|
}
|
|
41180
41180
|
|
|
@@ -81230,7 +81230,7 @@ function _loadUserPackageJson$1() {
|
|
|
81230
81230
|
targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
|
|
81231
81231
|
_context2.t0 = JSON;
|
|
81232
81232
|
_context2.next = 10;
|
|
81233
|
-
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-
|
|
81233
|
+
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-5ad64876.js', document.baseURI).href))), 'utf-8');
|
|
81234
81234
|
case 10:
|
|
81235
81235
|
_context2.t1 = _context2.sent;
|
|
81236
81236
|
pkg = _context2.t0.parse.call(_context2.t0, _context2.t1);
|
|
@@ -82075,7 +82075,7 @@ function _loadUserPackageJson() {
|
|
|
82075
82075
|
targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
|
|
82076
82076
|
_context.t0 = JSON;
|
|
82077
82077
|
_context.next = 10;
|
|
82078
|
-
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-
|
|
82078
|
+
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-5ad64876.js', document.baseURI).href))), 'utf-8');
|
|
82079
82079
|
case 10:
|
|
82080
82080
|
_context.t1 = _context.sent;
|
|
82081
82081
|
pkg = _context.t0.parse.call(_context.t0, _context.t1);
|
|
@@ -88316,7 +88316,7 @@ function report(config, logger) {
|
|
|
88316
88316
|
logger.primary("Run ".concat(cyan('scout9 dev'), " to test your project locally"));
|
|
88317
88317
|
}
|
|
88318
88318
|
|
|
88319
|
-
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-
|
|
88319
|
+
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-5ad64876.js', document.baseURI).href)));
|
|
88320
88320
|
var __dirname$1 = path__default["default"].dirname(__filename$1);
|
|
88321
88321
|
|
|
88322
88322
|
/**
|
|
@@ -88559,7 +88559,7 @@ function _buildApp() {
|
|
|
88559
88559
|
case 11:
|
|
88560
88560
|
_context4.t0 = JSON;
|
|
88561
88561
|
_context4.next = 14;
|
|
88562
|
-
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-
|
|
88562
|
+
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('exports-5ad64876.js', document.baseURI).href))), 'utf-8');
|
|
88563
88563
|
case 14:
|
|
88564
88564
|
_context4.t1 = _context4.sent;
|
|
88565
88565
|
packageTemplate = _context4.t0.parse.call(_context4.t0, _context4.t1);
|
|
@@ -91241,6 +91241,7 @@ var Scout9Test = /*#__PURE__*/function () {
|
|
|
91241
91241
|
_message,
|
|
91242
91242
|
result,
|
|
91243
91243
|
_result$conversation$,
|
|
91244
|
+
_result$conversation$2,
|
|
91244
91245
|
_args4 = arguments;
|
|
91245
91246
|
return spirits._regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
91246
91247
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -91359,7 +91360,7 @@ var Scout9Test = /*#__PURE__*/function () {
|
|
|
91359
91360
|
this.conversation.forwarded = new Date().toString();
|
|
91360
91361
|
this.conversation.forwardNote = result.conversation.forwardNote || '';
|
|
91361
91362
|
this.conversation.locked = true;
|
|
91362
|
-
this.conversation.lockedReason = result.conversation.forwardNote
|
|
91363
|
+
this.conversation.lockedReason = (_result$conversation$2 = result.conversation.forwardNote) !== null && _result$conversation$2 !== void 0 ? _result$conversation$2 : 'Forwarded to ' + this.conversation.forwardedTo;
|
|
91363
91364
|
}
|
|
91364
91365
|
if (!result.messages.after.find(function (m) {
|
|
91365
91366
|
return m.id === result.message.after.id;
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var exports$1 = require("./exports-
|
|
5
|
+
var exports$1 = require("./exports-5ad64876.cjs");
|
|
6
6
|
var spirits = require("./spirits-643c422a.cjs");
|
|
7
7
|
require('node:readline');
|
|
8
8
|
require('fs');
|
package/dist/testing-tools.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var exports$1 = require("./exports-
|
|
5
|
+
var exports$1 = require("./exports-5ad64876.cjs");
|
|
6
6
|
var spirits = require("./spirits-643c422a.cjs");
|
|
7
7
|
require('node:readline');
|
|
8
8
|
require('fs');
|
package/package.json
CHANGED
package/src/testing-tools/dev.js
CHANGED
|
@@ -273,7 +273,7 @@ export class Scout9Test {
|
|
|
273
273
|
this.conversation.forwarded = new Date().toString();
|
|
274
274
|
this.conversation.forwardNote = result.conversation.forwardNote || '';
|
|
275
275
|
this.conversation.locked = true;
|
|
276
|
-
this.conversation.lockedReason = result.conversation.forwardNote
|
|
276
|
+
this.conversation.lockedReason = result.conversation.forwardNote ?? ('Forwarded to ' + this.conversation.forwardedTo);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
if (!result.messages.after.find(m => m.id === result.message.after.id)) {
|