@@ -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 {}; |
+2
-2
| { | ||
| "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", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
77159
0.24%1817
0.39%