Skip to content

Commit

Permalink
Merge pull request #141 from getAlby/chore/rename-send-to-alby-account
Browse files Browse the repository at this point in the history
chore: add sendToAlbyAccount deprecation console warning
  • Loading branch information
rolznz authored Nov 17, 2023
2 parents 7ed7fe6 + 35d4690 commit 87cf725
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,15 @@ export class Client {
}

/**
* @deprecated please use sendBoostagramToAlbyAccount
* @deprecated please use sendBoostagramToAlbyAccount. Deprecated since v2.7.0. Will be removed in v3.0.0.
*/
sendToAlbyAccount(
args: SendBoostagramToAlbyRequestParams,
request_options?: Partial<RequestOptions>,
) {
console.warn(
"sendToAlbyAccount is deprecated. Please use sendBoostagramToAlbyAccount instead.",
);
return this.sendBoostagramToAlbyAccount(args, request_options);
}

Expand Down

0 comments on commit 87cf725

Please sign in to comment.