🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@logto/js

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logto/js - npm Package Compare versions

Comparing version

to
4.1.5

7

lib/core/user-info.d.ts

@@ -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 {};

4

package.json
{
"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",