Skip to content

Commit

Permalink
chore: deprecate method
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Feb 6, 2024
1 parent fd057ad commit 409213b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/webln/NostrWeblnProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,13 @@ export class NostrWebLNProvider implements WebLNProvider, Nip07Provider {
}
}

/**
* @deprecated please use client.getNostrWalletConnectUrl. Deprecated since v3.2.3. Will be removed in v4.0.0.
*/
getNostrWalletConnectUrl(includeSecret = true) {
console.warn(
"getNostrWalletConnectUrl is deprecated. Please use client.getNostrWalletConnectUrl instead.",
);
return this.client.getNostrWalletConnectUrl(includeSecret);
}

Expand Down

0 comments on commit 409213b

Please sign in to comment.