@logto/sveltekit 0.2.3 → 0.2.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/index.d.ts +1 -1
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import LogtoClient, { type LogtoConfig, type CookieConfig } from '@logto/node';
|
|
2
2
|
import { type Handle, type RequestEvent } from '@sveltejs/kit';
|
|
3
|
-
export type { IdTokenClaims, LogtoErrorCode, LogtoConfig, LogtoClientErrorCode, Storage, StorageKey, InteractionMode, ClientAdapter, JwtVerifier, UserInfoResponse, CookieConfig, } from '@logto/node';
|
|
3
|
+
export type { AccessTokenClaims, IdTokenClaims, LogtoErrorCode, LogtoConfig, LogtoClientErrorCode, Storage, StorageKey, InteractionMode, ClientAdapter, JwtVerifier, UserInfoResponse, CookieConfig, } from '@logto/node';
|
|
4
4
|
export { LogtoError, LogtoRequestError, LogtoClientError, OidcError, Prompt, ReservedScope, ReservedResource, UserScope, organizationUrnPrefix, buildOrganizationUrn, getOrganizationIdFromUrn, PersistKey, CookieStorage, StandardLogtoClient, default as LogtoClient, } from '@logto/node';
|
|
5
5
|
export type HookConfig = {
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/sveltekit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@types/cookie": "^0.6.0",
|
|
29
29
|
"@types/node": "^20.11.19",
|
|
30
30
|
"@vitest/coverage-v8": "^1.4.0",
|
|
31
|
-
"eslint": "^8.
|
|
31
|
+
"eslint": "^8.57.0",
|
|
32
32
|
"lint-staged": "^15.0.0",
|
|
33
33
|
"prettier": "^3.0.0",
|
|
34
34
|
"typescript": "^5.3.3",
|
|
35
|
-
"vitest": "^1.
|
|
35
|
+
"vitest": "^1.4.0"
|
|
36
36
|
},
|
|
37
37
|
"eslintConfig": {
|
|
38
38
|
"extends": "@silverhand"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@sveltejs/kit": "^2.0.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@logto/node": "^2.4.
|
|
48
|
+
"@logto/node": "^2.4.3"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"dev:tsc": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
|