Previously, the initializeRoutes function took both an endpoint to host offline-directline and a port to host it on. This led to redundant code, and presented issues for the command line utility introduced in the last version.
This PR removes the serviceUrl param on initializeRoutes and replaces it with the port representing the port on localhost you wish to host directline on. This PR also makes appropriate changes to the README/package version and fixes some linting issues.
Previously, the
initializeRoutes
function took both an endpoint to hostoffline-directline
and a port to host it on. This led to redundant code, and presented issues for the command line utility introduced in the last version.This PR removes the
serviceUrl
param oninitializeRoutes
and replaces it with theport
representing the port on localhost you wish to host directline on. This PR also makes appropriate changes to the README/package version and fixes some linting issues.