@prismatic-io/spectral 10.5.4 → 10.5.5

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.
@@ -472,7 +472,8 @@ const convertConfigVar = (key, configVar, referenceKey, componentRegistry) => {
472
472
  }
473
473
  if ((0, types_1.isDataSourceReferenceConfigVar)(configVar)) {
474
474
  const { ref, inputs } = convertComponentReference(configVar.dataSource, componentRegistry, "dataSources");
475
- result.dataType = componentRegistry[ref.component.key].dataSources[ref.key].dataSourceType;
475
+ result.dataType =
476
+ componentRegistry[configVar.dataSource.component].dataSources[ref.key].dataSourceType;
476
477
  result.dataSource = ref;
477
478
  result.inputs = inputs;
478
479
  if (configVar.validationMode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.5.4",
3
+ "version": "10.5.5",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",