We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #272 the call from connect to setAuthtoken was removed:
connect
setAuthtoken
+/** + * + * @param {Object | string} opts + * @returns Promise<string> + */ async function connect(opts) { - opts = defaults(opts); - validate(opts); - if (opts.authtoken) { - await setAuthtoken(opts); - } + const { tunnelOpts, globalOpts } = defaults(opts); + validate(globalOpts); - processUrl = await getProcess(opts); + processUrl = await getProcess(globalOpts); ngrokClient = new NgrokClient(processUrl); - return connectRetry(opts); + return connectRetry(tunnelOpts); }
b351812#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346L17-L19
Which has broken this documented way of connecting:
await ngrok.connect({authtoken: token, ...});
https://github.com/bubenshchykov/ngrok/#auth-token
The text was updated successfully, but these errors were encountered:
Ah, no. It should be handled here, now:
ngrok/src/process.js
Line 39 in 94bfeee
I've probably misdiagnosed my problem.
Sorry, something went wrong.
No branches or pull requests
In #272 the call from
connect
tosetAuthtoken
was removed:b351812#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346L17-L19
Which has broken this documented way of connecting:
https://github.com/bubenshchykov/ngrok/#auth-token
The text was updated successfully, but these errors were encountered: