Skip to content

Commit 39a2ca1

Browse files
Re-add original User alongside UserClass (#20)
1 parent 9809f65 commit 39a2ca1

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"url": "https://github.com/PropelAuth/javascript"
77
},
8-
"version": "2.0.7",
8+
"version": "2.0.8",
99
"keywords": [
1010
"auth",
1111
"user",

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
export type { AccessHelper, AccessHelperWithOrg } from "./access_helper"
2-
export type { AuthenticationInfo } from "./api"
2+
export type { AuthenticationInfo, User } from "./api"
33
export { createClient } from "./client"
44
export type { IAuthClient, IAuthOptions, RedirectToLoginOptions, RedirectToSignupOptions } from "./client"
55
export { getActiveOrgId, setActiveOrgId } from "./org"
66
export type { OrgIdToOrgMemberInfo, OrgMemberInfo } from "./org"
77
export type { OrgHelper } from "./org_helper"
8+
export type { OrgIdToUserOrgInfo } from "./user"
89
export { UserClass, UserOrgInfo } from "./user"
10+

src/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class UserClass {
164164
}
165165
}
166166

167-
interface OrgIdToUserOrgInfo {
167+
export interface OrgIdToUserOrgInfo {
168168
[orgId: string]: UserOrgInfo
169169
}
170170

0 commit comments

Comments
 (0)