- Now you can access the params used in a method directly from the callback function (
on('method', (params) => ...)
). You can also add types to the params in theon
method (on('method', (params: string) => ...)
). Note that you can't pass interfaces in this case, just types. - There is a new method
requestParams
that returns the array of parameters of the current method. The methodparams
is now deprecated, as it would return just the first parameter as a string. However, it is highly recommended to get the current params via theparams
argument in the callback function, as mentioned above. - When a method that does not exist is called, an error will be thrown, indicating the misspelled method.
- Result score.
- More types to the parameters.
dontHideAfterAction
: prevents the query window from closing when the action is fired (useful when using the methodFlow.Launcher.ChangeQuery
with therequery
parameter set totrue
).
- An error caused by sending empty parameters to Flow. Now, by default, if no param is provided, sends an empty array.
- The
flow
function is now a classFlow
. - It is now possible to type the methods.
- Support for plugin settings
"flow" has no call signatures
error
"flow" is not a function
error
- Initial release 🎉