agency-lang 0.0.74 → 0.0.75

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.
@@ -427,7 +427,7 @@ export class TypeScriptGenerator extends BaseGenerator {
427
427
  else {
428
428
  // must be a builtin function or imported function
429
429
  argsString = parts.join(", ");
430
- const awaitStr = node.async ? "await " : "";
430
+ const awaitStr = node.async || context === "valueAccess" ? "" : "await ";
431
431
  return `${awaitStr}${functionName}(${argsString})\n`;
432
432
  }
433
433
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agency-lang",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "The Agency language",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {