Skip to content

Commit

Permalink
chore: Deprecated create with argument option position based
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Deprecated create from argument in favor of CreateOptions
  • Loading branch information
edgardmessias committed Feb 26, 2021
1 parent 8a643a8 commit 020e71c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/initializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export async function create(createOption: CreateOptions): Promise<Whatsapp>;
* Start the bot
* You must pass a string type parameter, this parameter will be the name of the client's session. If the parameter is not passed, the section name will be "session".
* @returns Whatsapp page, with this parameter you will be able to access the bot functions
* @deprecated Deprecated in favor of create with {@link CreateOptions} (e.g., wppconnect.create({session: 'test'})).
*/
export async function create(
sessionName: string,
Expand Down

0 comments on commit 020e71c

Please sign in to comment.