Comparing version 4.1.4 to 4.1.5
@@ -0,1 +1,2 @@ | ||
import { type Nullable } from 'vitest'; | ||
import { type IdTokenClaims } from '../index.js'; | ||
@@ -7,7 +8,13 @@ import type { Requester } from '../types/index.js'; | ||
}; | ||
type OrganizationData = { | ||
id: string; | ||
name: string; | ||
description: Nullable<string>; | ||
}; | ||
export type UserInfoResponse = IdTokenClaims & { | ||
custom_data?: unknown; | ||
identities?: Record<string, Identity>; | ||
organization_data?: OrganizationData[]; | ||
}; | ||
export declare const fetchUserInfo: (userInfoEndpoint: string, accessToken: string, requester: Requester) => Promise<UserInfoResponse>; | ||
export {}; |
{ | ||
"name": "@logto/js", | ||
"version": "4.1.4", | ||
"version": "4.1.5", | ||
"type": "module", | ||
@@ -31,3 +31,3 @@ "main": "./lib/index.cjs", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"angular-auth-oidc-client": "^17.0.0", | ||
"angular-auth-oidc-client": "^18.0.0", | ||
"eslint": "^8.57.0", | ||
@@ -34,0 +34,0 @@ "happy-dom": "^14.0.0", |
77159
1817