@clerk/nuxt 1.10.1-canary.v20251007163912 → 1.10.1-canary.v20251007170333
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/dist/module.js
CHANGED
package/dist/runtime/plugin.js
CHANGED
@@ -14,7 +14,7 @@ var plugin_default = defineNuxtPlugin((nuxtApp) => {
|
|
14
14
|
...runtimeConfig.public.clerk ?? {},
|
15
15
|
sdkMetadata: {
|
16
16
|
name: "@clerk/nuxt",
|
17
|
-
version: "1.10.1-canary.
|
17
|
+
version: "1.10.1-canary.v20251007170333",
|
18
18
|
environment: process.env.NODE_ENV
|
19
19
|
},
|
20
20
|
routerPush: (to) => navigateTo(to),
|
@@ -17,10 +17,10 @@ function clerkClient(event) {
|
|
17
17
|
disabled: isTruthy(runtimeConfig.public.clerk.telemetry?.disabled),
|
18
18
|
debug: isTruthy(runtimeConfig.public.clerk.telemetry?.debug)
|
19
19
|
},
|
20
|
-
userAgent: `${"@clerk/nuxt"}@${"1.10.1-canary.
|
20
|
+
userAgent: `${"@clerk/nuxt"}@${"1.10.1-canary.v20251007170333"}`,
|
21
21
|
sdkMetadata: {
|
22
22
|
name: "@clerk/nuxt",
|
23
|
-
version: "1.10.1-canary.
|
23
|
+
version: "1.10.1-canary.v20251007170333",
|
24
24
|
environment: process.env.NODE_ENV
|
25
25
|
}
|
26
26
|
});
|
@@ -1,38 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
import { TokenType, AuthenticateRequestOptions, InferAuthObjectFromTokenArray, SessionTokenType, InferAuthObjectFromToken } from '@clerk/backend/internal';
|
1
|
+
import { GetAuthFnNoRequest, AuthenticateRequestOptions } from '@clerk/backend/internal';
|
3
2
|
import { PendingSessionOptions } from '@clerk/types';
|
4
3
|
|
5
4
|
type AuthOptions = PendingSessionOptions & Pick<AuthenticateRequestOptions, 'acceptsToken'>;
|
6
5
|
/**
|
7
6
|
* @internal This type is used to define the `auth` function in the event context.
|
8
7
|
*/
|
9
|
-
|
10
|
-
/**
|
11
|
-
* @example
|
12
|
-
* const auth = event.context.auth({ acceptsToken: ['session_token', 'api_key'] })
|
13
|
-
*/
|
14
|
-
<T extends TokenType[]>(options: AuthOptions & {
|
15
|
-
acceptsToken: T;
|
16
|
-
}): InferAuthObjectFromTokenArray<T, SessionAuthObject, MachineAuthObject<Exclude<T[number], SessionTokenType>>> | InvalidTokenAuthObject;
|
17
|
-
/**
|
18
|
-
* @example
|
19
|
-
* const auth = event.context.auth({ acceptsToken: 'session_token' })
|
20
|
-
*/
|
21
|
-
<T extends TokenType>(options: AuthOptions & {
|
22
|
-
acceptsToken: T;
|
23
|
-
}): InferAuthObjectFromToken<T, SessionAuthObject, MachineAuthObject<Exclude<T, SessionTokenType>>>;
|
24
|
-
/**
|
25
|
-
* @example
|
26
|
-
* const auth = event.context.auth({ acceptsToken: 'any' })
|
27
|
-
*/
|
28
|
-
(options: AuthOptions & {
|
29
|
-
acceptsToken: 'any';
|
30
|
-
}): AuthObject;
|
31
|
-
/**
|
32
|
-
* @example
|
33
|
-
* const auth = event.context.auth()
|
34
|
-
*/
|
35
|
-
(options?: PendingSessionOptions): SessionAuthObject;
|
36
|
-
}
|
8
|
+
type AuthFn = GetAuthFnNoRequest;
|
37
9
|
|
38
10
|
export type { AuthFn, AuthOptions };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@clerk/nuxt",
|
3
|
-
"version": "1.10.1-canary.
|
3
|
+
"version": "1.10.1-canary.v20251007170333",
|
4
4
|
"description": "Clerk SDK for Nuxt",
|
5
5
|
"keywords": [
|
6
6
|
"clerk",
|
@@ -60,10 +60,10 @@
|
|
60
60
|
"@nuxt/kit": "^4.1.2",
|
61
61
|
"@nuxt/schema": "^4.1.2",
|
62
62
|
"h3": "^1.15.4",
|
63
|
-
"@clerk/backend": "^2.17.3-canary.
|
64
|
-
"@clerk/shared": "^3.27.4-canary.
|
65
|
-
"@clerk/types": "^4.93.0-canary.
|
66
|
-
"@clerk/vue": "^1.14.4-canary.
|
63
|
+
"@clerk/backend": "^2.17.3-canary.v20251007170333",
|
64
|
+
"@clerk/shared": "^3.27.4-canary.v20251007170333",
|
65
|
+
"@clerk/types": "^4.93.0-canary.v20251007170333",
|
66
|
+
"@clerk/vue": "^1.14.4-canary.v20251007170333"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
69
|
"nuxt": "^4.1.2",
|