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