@digipair/skill-web 0.127.0 → 0.127.2
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/dist/index.cjs.js
CHANGED
|
@@ -139,7 +139,7 @@ let WebService = class WebService {
|
|
|
139
139
|
return JSON.stringify(await engine.executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context), `${context.request.body.params.path}.execute`));
|
|
140
140
|
}
|
|
141
141
|
const path = context.protected.req.path.replace(/\/$/g, '');
|
|
142
|
-
const baseUrl = (context.
|
|
142
|
+
const baseUrl = (context.protected.req.headers['x-forwarded-proto'] ?? context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
|
|
143
143
|
await engine.executePinsList(factoryInitialize, context, `${context.__PATH__}.factoryInitialize`);
|
|
144
144
|
const html = `
|
|
145
145
|
<!DOCTYPE html>
|
package/dist/index.esm.js
CHANGED
|
@@ -22842,14 +22842,14 @@ function indent(str, spaces) {
|
|
|
22842
22842
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22843
22843
|
// match is required
|
|
22844
22844
|
if (!match) {
|
|
22845
|
-
return
|
|
22845
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
22846
22846
|
v: nextMatch1
|
|
22847
22847
|
};
|
|
22848
22848
|
}
|
|
22849
22849
|
var token = match.token, offset = match.offset;
|
|
22850
22850
|
i1 += offset;
|
|
22851
22851
|
if (token === ' ') {
|
|
22852
|
-
return
|
|
22852
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
22853
22853
|
}
|
|
22854
22854
|
tokens1 = _to_consumable_array$4(tokens1).concat([
|
|
22855
22855
|
token
|
|
@@ -22868,7 +22868,7 @@ function indent(str, spaces) {
|
|
|
22868
22868
|
if (contextKeys.some(function(el) {
|
|
22869
22869
|
return el.startsWith(name);
|
|
22870
22870
|
})) {
|
|
22871
|
-
return
|
|
22871
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
22872
22872
|
}
|
|
22873
22873
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22874
22874
|
return el === name;
|
|
@@ -22887,9 +22887,9 @@ function indent(str, spaces) {
|
|
|
22887
22887
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22888
22888
|
return el.startsWith(name);
|
|
22889
22889
|
})) {
|
|
22890
|
-
return
|
|
22890
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
22891
22891
|
}
|
|
22892
|
-
return
|
|
22892
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
22893
22893
|
v: nextMatch1
|
|
22894
22894
|
};
|
|
22895
22895
|
};
|
|
@@ -55648,7 +55648,7 @@ let WebService = class WebService {
|
|
|
55648
55648
|
return JSON.stringify(await executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context), `${context.request.body.params.path}.execute`));
|
|
55649
55649
|
}
|
|
55650
55650
|
const path = context.protected.req.path.replace(/\/$/g, '');
|
|
55651
|
-
const baseUrl = (context.
|
|
55651
|
+
const baseUrl = (context.protected.req.headers['x-forwarded-proto'] ?? context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
|
|
55652
55652
|
await executePinsList(factoryInitialize, context, `${context.__PATH__}.factoryInitialize`);
|
|
55653
55653
|
const html = `
|
|
55654
55654
|
<!DOCTYPE html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-web.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4C,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"skill-web.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4C,MAAM,kBAAkB,CAAC;AAuS1F,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACtB,CAAC"}
|