lucid-package 0.0.66 → 0.0.68
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/package.json +1 -1
- package/src/cors.js +1 -1
- package/src/package.js +1 -1
package/package.json
CHANGED
package/src/cors.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.corsAllowLucid = void 0;
|
|
4
4
|
function corsAllowLucid(req, res, next) {
|
|
5
5
|
var _a, _b;
|
|
6
|
-
if ((_b = (_a = req.headers) === null || _a === void 0 ? void 0 : _a.origin) === null || _b === void 0 ? void 0 : _b.match(/.lucid(dev|staging|).app$/)) {
|
|
6
|
+
if ((_b = (_a = req.headers) === null || _a === void 0 ? void 0 : _a.origin) === null || _b === void 0 ? void 0 : _b.match(/.lucid(dev|staging|preprod|).app$/)) {
|
|
7
7
|
res.header('Access-Control-Allow-Origin', req.headers.origin);
|
|
8
8
|
res.header('Vary', 'Origin');
|
|
9
9
|
res.header('Access-Control-Allow-Methods', 'GET, OPTIONS');
|
package/src/package.js
CHANGED
|
@@ -19,7 +19,7 @@ function currentlyInPackage() {
|
|
|
19
19
|
return (fsOld.existsSync('editorextensions') && fsOld.existsSync('shapelibraries') && fsOld.existsSync('manifest.json'));
|
|
20
20
|
}
|
|
21
21
|
exports.currentlyInPackage = currentlyInPackage;
|
|
22
|
-
const allScopes = new Set(['DOWNLOAD', 'NETWORK', 'READ', 'SHOW_MODAL', 'CUSTOM_UI', 'WRITE']);
|
|
22
|
+
const allScopes = new Set(['DOWNLOAD', 'NETWORK', 'READ', 'SHOW_MODAL', 'CUSTOM_UI', 'WRITE', 'USER_INFO']);
|
|
23
23
|
const uuidRegex = /^[a-f\d]{8}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{12}$/i;
|
|
24
24
|
async function modifyManifest(callback, manifestOverrideEnv) {
|
|
25
25
|
const manifest = await (0, packagemanifest_1.readManifest)(manifestOverrideEnv);
|