@logto/next 3.3.2 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/edge/index.d.ts +1 -1
- package/lib/src/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/edge/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type GetContextParameters, type InteractionMode } from '@logto/node';
|
|
|
2
2
|
import { type NextRequest } from 'next/server';
|
|
3
3
|
import BaseClient from '../src/client';
|
|
4
4
|
import type { LogtoNextConfig } from '../src/types.js';
|
|
5
|
-
export type { AccessTokenClaims, IdTokenClaims, LogtoContext, InteractionMode, LogtoErrorCode, } from '@logto/node';
|
|
5
|
+
export type { AccessTokenClaims, IdTokenClaims, LogtoContext, InteractionMode, LogtoErrorCode, UserInfoResponse, } from '@logto/node';
|
|
6
6
|
export default class LogtoClient extends BaseClient {
|
|
7
7
|
constructor(config: LogtoNextConfig);
|
|
8
8
|
handleSignIn: (redirectUri?: string, interactionMode?: InteractionMode) => (request: Request) => Promise<Response>;
|
package/lib/src/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import LogtoNextBaseClient from './client.js';
|
|
|
7
7
|
import type { LogtoNextConfig } from './types.js';
|
|
8
8
|
export type { LogtoNextConfig } from './types.js';
|
|
9
9
|
export { LogtoError, LogtoRequestError, LogtoClientError, OidcError, Prompt, ReservedScope, ReservedResource, UserScope, organizationUrnPrefix, buildOrganizationUrn, getOrganizationIdFromUrn, PersistKey, } from '@logto/node';
|
|
10
|
-
export type { AccessTokenClaims, IdTokenClaims, LogtoContext, InteractionMode, LogtoErrorCode, } from '@logto/node';
|
|
10
|
+
export type { AccessTokenClaims, IdTokenClaims, LogtoContext, InteractionMode, LogtoErrorCode, UserInfoResponse, } from '@logto/node';
|
|
11
11
|
export default class LogtoClient extends LogtoNextBaseClient {
|
|
12
12
|
constructor(config: LogtoNextConfig);
|
|
13
13
|
handleSignIn: (redirectUri?: string, interactionMode?: InteractionMode) => NextApiHandler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/next",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/src/index.cjs",
|
|
6
6
|
"module": "./lib/src/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@edge-runtime/cookies": "^4.0.0",
|
|
49
|
-
"@logto/node": "^2.5.
|
|
49
|
+
"@logto/node": "^2.5.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@silverhand/eslint-config": "^6.0.1",
|