@excali-boards/boards-api-client 1.1.1-dev.29 → 1.1.1-dev.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ export declare class APISessions {
5
5
  constructor(web: BoardsManager);
6
6
  createSession({ auth, body }: SessionsFunctionsInput['createSession']): Promise<import("..").WebResponse<CreateSessionOutput>>;
7
7
  getAllSessions({ auth }: SessionsFunctionsInput['getAllSessions']): Promise<import("..").WebResponse<SessionsOutput>>;
8
- deleteSession({ auth, token }: SessionsFunctionsInput['deleteSession']): Promise<import("..").WebResponse<string>>;
8
+ deleteSession({ auth, dbId }: SessionsFunctionsInput['deleteSession']): Promise<import("..").WebResponse<string>>;
9
9
  deleteAllSessions({ auth }: SessionsFunctionsInput['deleteAllSessions']): Promise<import("..").WebResponse<string>>;
10
10
  }
11
11
  export type SessionsFunctionsInput = {
@@ -18,7 +18,7 @@ export type SessionsFunctionsInput = {
18
18
  };
19
19
  'deleteSession': {
20
20
  auth: string;
21
- token: string;
21
+ dbId: string;
22
22
  };
23
23
  'deleteAllSessions': {
24
24
  auth: string;
@@ -20,9 +20,9 @@ class APISessions {
20
20
  endpoint: this.web.qp('/sessions'),
21
21
  });
22
22
  }
23
- async deleteSession({ auth, token }) {
23
+ async deleteSession({ auth, dbId }) {
24
24
  return await this.web.request({
25
- method: 'DELETE', auth, body: { token },
25
+ method: 'DELETE', auth, body: { dbId },
26
26
  endpoint: this.web.qp('/sessions'),
27
27
  });
28
28
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.1-dev.29",
2
+ "version": "1.1.1-dev.30",
3
3
  "name": "@excali-boards/boards-api-client",
4
4
  "description": "A simple API client for the Boards API.",
5
5
  "repository": "https://github.com/Excali-Boards/boards-api-client",