@pluto-budgeting/api-client 0.4.83 → 0.4.84

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.
@@ -1,7 +1,8 @@
1
1
  import type { ProfileModel } from '../profiles/profile-model.js';
2
2
  import type { WorkspaceModel } from '../workspaces/workspace-model.js';
3
3
  export type AuthenticatedUserModel = {
4
- token: string;
4
+ accessToken: string;
5
+ refreshToken: string;
5
6
  user: ProfileModel;
6
7
  workspaces: WorkspaceModel[];
7
8
  };
@@ -1,3 +1,4 @@
1
1
  export type AuthenticateOneTimePasswordResult = {
2
- token: string;
2
+ accessToken: string;
3
+ refreshToken: string;
3
4
  };
@@ -3,7 +3,8 @@ type FailedAuthenticationResult = {
3
3
  };
4
4
  type SuccessfulAuthenticationResult = {
5
5
  ok: true;
6
- token: string;
6
+ accessToken: string;
7
+ refreshToken: string;
7
8
  };
8
9
  export type AuthenticatePasskeyResult = FailedAuthenticationResult | SuccessfulAuthenticationResult;
9
10
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluto-budgeting/api-client",
3
- "version": "0.4.83",
3
+ "version": "0.4.84",
4
4
  "description": "Models and methods to access the Pluto Budgeting API via Redux Toolkit Query",
5
5
  "author": "Josh Randall",
6
6
  "license": "ISC",
@@ -25,7 +25,7 @@
25
25
  "@typescript-eslint/eslint-plugin": "^8.46.2",
26
26
  "@typescript-eslint/parser": "^8.46.2",
27
27
  "qs": "^6.14.0",
28
- "@pluto-budgeting/core": "^0.4.83"
28
+ "@pluto-budgeting/core": "^0.4.84"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/qs": "^6.14.0"