useStateMachineInput breaks in 4.19.0 (@rive-app/react-canvas)

Hello hello,

  useStateMachineInput(
    rive,
    "GameInterfaceStateMachine",
    "NumberOfQuestions",
    numberOfQuestions,
  );

This works fine in 4.17.8 but breaks when updating to 4.19.0.