Skip to content

Commit

Permalink
feat: add get_server_environment call
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarreras committed Nov 12, 2024
1 parent 78a6b9b commit 3c8a996
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@ export class Client {
});
}

public async getServerEnvironment(
options?: RequestOptions,
): Promise<Record<string, string>> {
return await this._fetch({
service: "common",
payload: ["get_server_environment", true],
options,
});
}

public async getLoginMessage(options?: RequestOptions): Promise<string> {
const loginMessage = await this._fetch({
service: "common",
Expand Down

0 comments on commit 3c8a996

Please sign in to comment.