Skip to content

Commit

Permalink
feat: add ip to client context
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyTseng committed Sep 22, 2024
1 parent 094a0bd commit e21128c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/common/src/client-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export class ClientContext {
*/
pubkey: string | undefined;

/**
* IP address of the client.
*/
ip: string | undefined;

/**
* Create a new ClientContext instance. Usually you don't need to create this.
*
Expand Down

0 comments on commit e21128c

Please sign in to comment.