🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@logto/js

Package Overview
Dependencies
Maintainers
1
Versions
63
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
4.1.4
to
4.1.5
+7
-0
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 {};
+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",