@prismatic-io/spectral 8.0.2 → 8.0.3

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.
@@ -215,8 +215,9 @@ const codeNativeIntegrationComponent = ({ name, iconPath, description, flows = [
215
215
  if (!(0, types_1.isDataSourceConfigVar)(configVar)) {
216
216
  return result;
217
217
  }
218
+ const camelKey = (0, lodash_1.camelCase)(key);
218
219
  const dataSource = (0, lodash_1.pick)(configVar, ["perform", "dataSourceType"]);
219
- return Object.assign(Object.assign({}, result), { [key]: Object.assign(Object.assign({}, dataSource), { key: (0, lodash_1.camelCase)(key), display: {
220
+ return Object.assign(Object.assign({}, result), { [camelKey]: Object.assign(Object.assign({}, dataSource), { key: camelKey, display: {
220
221
  label: key,
221
222
  description: key,
222
223
  }, inputs: [] }) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"