lucid-package 0.0.65 → 0.0.66

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-package",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -72,11 +72,11 @@ async function createImageShapeLibrary(name, imagePath, config) {
72
72
  strokeWidth: 0,
73
73
  rounding: 0,
74
74
  },
75
- locked: lockedArray,
76
75
  };
77
76
  shapes.push(manifestShape);
78
77
  // create shape file
79
78
  const shapeFile = {
79
+ locked: lockedArray,
80
80
  images: {
81
81
  imageReference: {
82
82
  path: file,
@@ -168,7 +168,7 @@ async function getShapeListJson(name, packagePath, port = 9901) {
168
168
  'lcszVersion': '1',
169
169
  'name': shapeName,
170
170
  'i18n': {},
171
- 'locked': shapeManifest['locked'],
171
+ 'locked': shapeData['locked'],
172
172
  'sourcePackage': {
173
173
  'packageId': (_a = packageManifest['id']) !== null && _a !== void 0 ? _a : '__local__',
174
174
  'version': packageManifest['version'],
@@ -212,7 +212,7 @@ async function getShapeListJson(name, packagePath, port = 9901) {
212
212
  properties[outName] = shapeManifest['defaults'][key];
213
213
  }
214
214
  }
215
- if (((_c = shapeManifest['locked']) === null || _c === void 0 ? void 0 : _c.includes('aspectRatio')) && !properties['AspectRatio']) {
215
+ if (((_c = shapeData['locked']) === null || _c === void 0 ? void 0 : _c.includes('aspectRatio')) && !properties['AspectRatio']) {
216
216
  properties['AspectRatio'] =
217
217
  (_d = shapeManifest['defaults']['width'] / shapeManifest['defaults']['height']) !== null && _d !== void 0 ? _d : 1;
218
218
  }