Skip to content

Commit

Permalink
chore: add deprecated jsdoc for notify (#72)
Browse files Browse the repository at this point in the history
* add deprecated jsdoc

* format

* bump version number
  • Loading branch information
JEverhart383 authored May 15, 2024
1 parent 617333d commit 2f87180
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@knocklabs/node",
"version": "0.6.11",
"version": "0.6.12",
"description": "Library for interacting with the Knock API",
"homepage": "https://github.com/knocklabs/knock-node",
"author": "@knocklabs",
Expand Down Expand Up @@ -45,4 +45,4 @@
"engines": {
"node": ">=17.5.0"
}
}
}
6 changes: 5 additions & 1 deletion src/knock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ class Knock {
});
}

// Delegate the notify function to the workflows trigger
/**
* Delegate the notify function to the workflows trigger
*
* @deprecated use workflows.trigger instead.
*/
async notify(
workflowKey: string,
properties: TriggerWorkflowProperties,
Expand Down

0 comments on commit 2f87180

Please sign in to comment.