Skip to content

Commit

Permalink
Merge pull request #21 from inwx/add-set-cookie-method
Browse files Browse the repository at this point in the history
Add setCookie method to API client
  • Loading branch information
ddmler authored Jul 3, 2024
2 parents fd72cd5 + 66f42ba commit 8b1c3ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "domrobot-client",
"version": "3.2.0",
"version": "3.2.1",
"description": "INWX Domrobot Node.JS Client",
"author": "INWX Developer <[email protected]> (https://inwx.com)",
"main": "lib/index.js",
Expand Down
4 changes: 4 additions & 0 deletions src/domrobot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ export class ApiClient {
public getCookie(): string {
return this.cookie;
}

public setCookie(cookie: string) {
this.cookie = cookie;
}
}

/**
Expand Down

0 comments on commit 8b1c3ce

Please sign in to comment.