@forzalabs/remora 0.0.53-nasco.3 → 0.0.54-nasco.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.
package/Constants.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const CONSTANTS = {
4
- cliVersion: '0.0.53-nasco',
4
+ cliVersion: '0.0.54-nasco',
5
5
  lambdaVersion: 1,
6
6
  port: 5069,
7
7
  defaults: {
@@ -695,6 +695,8 @@ class Dataset {
695
695
  for (let i = 0; i < fields.length; i++) {
696
696
  const { cField } = fields[i];
697
697
  const currentMatch = structuredClone(this._dimensions.find(x => x.name === cField.key));
698
+ if (!currentMatch && !cField.fixed)
699
+ throw new Error(`The requested field "${cField.key}" from the consumer is not present in the underlying dataset "${this._name}" (${this._dimensions.map(x => x.name).join(', ')})`);
698
700
  updates.push({
699
701
  currentDimension: currentMatch,
700
702
  newName: (_a = cField.alias) !== null && _a !== void 0 ? _a : cField.key,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forzalabs/remora",
3
- "version": "0.0.53-nasco.3",
3
+ "version": "0.0.54-nasco.3",
4
4
  "description": "A powerful CLI tool for seamless data translation.",
5
5
  "main": "index.js",
6
6
  "private": false,