@ball-lang/engine 1.5.7 → 1.5.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ball-lang/engine",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "description": "Ball language engine — interprets Ball programs in TypeScript/JavaScript. Runs in Node.js and browsers.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2213,6 +2213,12 @@ export class BallEngine {
2213
2213
  instance[p] = val;
2214
2214
  }
2215
2215
  }
2216
+ for (const entry of inputMap.entries) {
2217
+ if (entry.key.startsWith('arg')) {
2218
+ continue;
2219
+ }
2220
+ instance[entry.key] = entry.value;
2221
+ }
2216
2222
  } else {
2217
2223
  if (__ball_eq(params.length, 1)) {
2218
2224
  resolvedParams[__ball_index(params, 0)] = input;