@workos-inc/node 6.4.0 → 6.5.0
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.
|
@@ -3,15 +3,15 @@ import { User, UserResponse } from './user.interface';
|
|
|
3
3
|
export interface AuthenticationResponse {
|
|
4
4
|
user: User;
|
|
5
5
|
organizationId?: string;
|
|
6
|
-
accessToken
|
|
7
|
-
refreshToken
|
|
6
|
+
accessToken: string;
|
|
7
|
+
refreshToken: string;
|
|
8
8
|
impersonator?: Impersonator;
|
|
9
9
|
}
|
|
10
10
|
export interface AuthenticationResponseResponse {
|
|
11
11
|
user: UserResponse;
|
|
12
12
|
organization_id?: string;
|
|
13
|
-
access_token
|
|
14
|
-
refresh_token
|
|
13
|
+
access_token: string;
|
|
14
|
+
refresh_token: string;
|
|
15
15
|
impersonator?: ImpersonatorResponse;
|
|
16
16
|
}
|
|
17
17
|
export interface RefreshAuthenticationResponse {
|
package/lib/workos.js
CHANGED
|
@@ -24,7 +24,7 @@ const audit_logs_1 = require("./audit-logs/audit-logs");
|
|
|
24
24
|
const user_management_1 = require("./user-management/user-management");
|
|
25
25
|
const bad_request_exception_1 = require("./common/exceptions/bad-request.exception");
|
|
26
26
|
const fetch_client_1 = require("./common/utils/fetch-client");
|
|
27
|
-
const VERSION = '6.
|
|
27
|
+
const VERSION = '6.5.0';
|
|
28
28
|
const DEFAULT_HOSTNAME = 'api.workos.com';
|
|
29
29
|
class WorkOS {
|
|
30
30
|
constructor(key, options = {}) {
|
package/package.json
CHANGED