@motifx/compiler 1.2.0-rc.3 → 1.2.0-rc.4

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/dist/index.cjs CHANGED
@@ -457,7 +457,7 @@ const motifComponent = () => { return "_mc"; };
457
457
  const motifFragment = () => { return "_mf"; };
458
458
  const motifFunctionComponent = () => { return "_mfc"; };
459
459
  const motifCompiled = () => { return "_mv"; };
460
- const COMPILER_CONTRACT = 2;
460
+ const COMPILER_CONTRACT = 1;
461
461
 
462
462
  let active$1 = null;
463
463
  let seen = null;
@@ -3194,7 +3194,7 @@ class Compiler {
3194
3194
  return;
3195
3195
  if (!t__namespace.isArrowFunctionExpression(only.value) && !t__namespace.isFunctionExpression(only.value))
3196
3196
  return;
3197
- node.arguments[1] = only.value;
3197
+ node.arguments.push(t__namespace.numericLiteral(1));
3198
3198
  }
3199
3199
  });
3200
3200
  absorbGeneratedCoreImports(topLevel, coreImports);