@aloma.io/integration-sdk 3.3.42 → 3.3.44

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.
@@ -78,5 +78,7 @@ declare function ${member.getName()}(${params}): ${retVal};
78
78
  };
79
79
  export default async (path) => {
80
80
  const parsed = await parseFromFiles([path]);
81
+ if (parsed.errors?.length)
82
+ throw new Error(path + ' ' + JSON.stringify(parsed.errors));
81
83
  return transform(parsed.project?.getModules() || []);
82
84
  };
@@ -272,7 +272,7 @@ ${text}
272
272
  const value = secrets[key];
273
273
  if (!value)
274
274
  continue;
275
- if (fields[key]?.plain) {
275
+ if (fields[key]?.plain || ['_endpointUrl'].includes(key)) {
276
276
  decrypted[key] = value;
277
277
  }
278
278
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.3.42",
3
+ "version": "3.3.44",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -101,5 +101,6 @@ declare function ${member.getName()}(${params}): ${retVal};
101
101
 
102
102
  export default async (path: string) => {
103
103
  const parsed = await parseFromFiles([path]);
104
+ if (parsed.errors?.length) throw new Error(path + ' ' + JSON.stringify(parsed.errors));
104
105
  return transform(parsed.project?.getModules() || []);
105
106
  };
@@ -342,7 +342,7 @@ ${text}
342
342
  const value = secrets[key];
343
343
  if (!value) continue;
344
344
 
345
- if (fields[key]?.plain) {
345
+ if (fields[key]?.plain || ['_endpointUrl'].includes(key)) {
346
346
  decrypted[key] = value;
347
347
  } else {
348
348
  try {