@aura-stack/auth 0.1.0-rc.3 → 0.1.0-rc.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/dist/@types/index.d.cts +1 -1
- package/dist/@types/index.d.ts +1 -1
- package/dist/@types/router.d.d.cts +1 -1
- package/dist/@types/router.d.d.ts +1 -1
- package/dist/actions/callback/access-token.d.cts +1 -1
- package/dist/actions/callback/access-token.d.ts +1 -1
- package/dist/actions/callback/callback.d.cts +1 -1
- package/dist/actions/callback/callback.d.ts +1 -1
- package/dist/actions/callback/userinfo.d.cts +1 -1
- package/dist/actions/callback/userinfo.d.ts +1 -1
- package/dist/actions/index.d.cts +1 -1
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +4 -4
- package/dist/actions/signIn/authorization.d.cts +1 -1
- package/dist/actions/signIn/authorization.d.ts +1 -1
- package/dist/actions/signIn/signIn.d.cts +1 -1
- package/dist/actions/signIn/signIn.d.ts +1 -1
- package/dist/cookie.d.ts +1 -1
- package/dist/error.d.ts +1 -1
- package/dist/{index-BIop4-KU.d.ts → index-bhqqOq40.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/oauth/bitbucket.d.cts +1 -1
- package/dist/oauth/bitbucket.d.ts +1 -1
- package/dist/oauth/discord.d.cts +1 -1
- package/dist/oauth/discord.d.ts +1 -1
- package/dist/oauth/figma.d.cts +1 -1
- package/dist/oauth/figma.d.ts +1 -1
- package/dist/oauth/github.d.cts +1 -1
- package/dist/oauth/github.d.ts +1 -1
- package/dist/oauth/gitlab.d.cts +1 -1
- package/dist/oauth/gitlab.d.ts +1 -1
- package/dist/oauth/index.d.cts +1 -1
- package/dist/oauth/index.d.ts +1 -1
- package/dist/oauth/index.js +4 -4
- package/dist/oauth/spotify.d.cts +1 -1
- package/dist/oauth/spotify.d.ts +1 -1
- package/dist/oauth/x.d.cts +1 -1
- package/dist/oauth/x.d.ts +1 -1
- package/dist/secure.d.ts +1 -1
- package/package.json +1 -1
- package/dist/@types/module.cjs +0 -1
- package/dist/@types/module.d.cts +0 -16
- package/dist/@types/module.d.ts +0 -16
- package/dist/@types/module.js +0 -0
- package/dist/{chunk-NWSD4JNX.js → chunk-VFTYH33W.js} +3 -3
package/dist/@types/index.d.cts
CHANGED
|
@@ -4,6 +4,6 @@ import '../schemas.cjs';
|
|
|
4
4
|
import '@aura-stack/router';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
export { LiteralUnion, Prettify } from './utility.cjs';
|
|
7
|
-
export { y as AccessTokenError, c as AuthConfig, d as AuthInstance, A as AuthRuntimeConfig, w as AuthorizationError, C as CookieConfig, a as CookieConfigInternal, b as CookieName,
|
|
7
|
+
export { y as AccessTokenError, c as AuthConfig, d as AuthInstance, A as AuthRuntimeConfig, w as AuthorizationError, C as CookieConfig, a as CookieConfigInternal, b as CookieName, t as CookieStrategyOptions, E as ErrorType, H as HostCookie, J as JWTStandardClaims, u as JoseInstance, v as OAuthError, p as OAuthProvider, o as OAuthProviderConfig, O as OAuthProviderCredentials, R as RouterGlobalContext, q as SecureCookie, n as Session, r as StandardCookie, T as TokenRevocationError, U as User } from '../index-Bht8X2D9.cjs';
|
|
8
8
|
import '@aura-stack/jose/jose';
|
|
9
9
|
import 'zod/v4/core';
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ import '../schemas.js';
|
|
|
4
4
|
import '@aura-stack/router';
|
|
5
5
|
import 'cookie';
|
|
6
6
|
export { LiteralUnion, Prettify } from './utility.js';
|
|
7
|
-
export { y as AccessTokenError, c as AuthConfig, d as AuthInstance, A as AuthRuntimeConfig, w as AuthorizationError, C as CookieConfig, a as CookieConfigInternal, b as CookieName,
|
|
7
|
+
export { y as AccessTokenError, c as AuthConfig, d as AuthInstance, A as AuthRuntimeConfig, w as AuthorizationError, C as CookieConfig, a as CookieConfigInternal, b as CookieName, t as CookieStrategyOptions, E as ErrorType, H as HostCookie, J as JWTStandardClaims, u as JoseInstance, v as OAuthError, p as OAuthProvider, o as OAuthProviderConfig, O as OAuthProviderCredentials, R as RouterGlobalContext, q as SecureCookie, n as Session, r as StandardCookie, T as TokenRevocationError, U as User } from '../index-bhqqOq40.js';
|
|
8
8
|
import '@aura-stack/jose/jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
|
-
import { A as AuthRuntimeConfig } from '../../index-
|
|
2
|
+
import { A as AuthRuntimeConfig } from '../../index-Bht8X2D9.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../../jose.cjs';
|
|
5
5
|
import '@aura-stack/jose/jose';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
|
-
import { A as AuthRuntimeConfig } from '../../index-
|
|
2
|
+
import { A as AuthRuntimeConfig } from '../../index-bhqqOq40.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../../jose.js';
|
|
5
5
|
import '@aura-stack/jose/jose';
|
package/dist/actions/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { sessionAction } from './session/session.cjs';
|
|
|
4
4
|
export { signOutAction } from './signOut/signOut.cjs';
|
|
5
5
|
export { csrfTokenAction } from './csrfToken/csrfToken.cjs';
|
|
6
6
|
import '@aura-stack/router';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-Bht8X2D9.cjs';
|
|
8
8
|
import 'zod/v4';
|
|
9
9
|
import '../jose.cjs';
|
|
10
10
|
import '@aura-stack/jose/jose';
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { sessionAction } from './session/session.js';
|
|
|
4
4
|
export { signOutAction } from './signOut/signOut.js';
|
|
5
5
|
export { csrfTokenAction } from './csrfToken/csrfToken.js';
|
|
6
6
|
import '@aura-stack/router';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-bhqqOq40.js';
|
|
8
8
|
import 'zod/v4';
|
|
9
9
|
import '../jose.js';
|
|
10
10
|
import '@aura-stack/jose/jose';
|
package/dist/actions/index.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import "../chunk-ITQ7352M.js";
|
|
2
|
-
import {
|
|
3
|
-
callbackAction
|
|
4
|
-
} from "../chunk-HGJ4TXY4.js";
|
|
5
|
-
import "../chunk-RLT4RFKV.js";
|
|
6
2
|
import {
|
|
7
3
|
csrfTokenAction
|
|
8
4
|
} from "../chunk-SMQO5WD7.js";
|
|
@@ -16,6 +12,10 @@ import {
|
|
|
16
12
|
signOutAction
|
|
17
13
|
} from "../chunk-SJPDVKUS.js";
|
|
18
14
|
import "../chunk-CAKJT3KS.js";
|
|
15
|
+
import {
|
|
16
|
+
callbackAction
|
|
17
|
+
} from "../chunk-HGJ4TXY4.js";
|
|
18
|
+
import "../chunk-RLT4RFKV.js";
|
|
19
19
|
import "../chunk-UJJ7R56J.js";
|
|
20
20
|
import "../chunk-ZV4BH47P.js";
|
|
21
21
|
import "../chunk-6SM22VVJ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
|
-
import { A as AuthRuntimeConfig } from '../../index-
|
|
2
|
+
import { A as AuthRuntimeConfig } from '../../index-Bht8X2D9.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../../jose.cjs';
|
|
5
5
|
import '@aura-stack/jose/jose';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
|
-
import { A as AuthRuntimeConfig } from '../../index-
|
|
2
|
+
import { A as AuthRuntimeConfig } from '../../index-bhqqOq40.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../../jose.js';
|
|
5
5
|
import '@aura-stack/jose/jose';
|
package/dist/cookie.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SerializeOptions } from 'cookie';
|
|
2
2
|
export { parse } from 'cookie';
|
|
3
3
|
import { JWTPayload } from '@aura-stack/jose/jose';
|
|
4
|
-
import { C as CookieConfig, a as CookieConfigInternal, b as CookieName, A as AuthRuntimeConfig } from './index-
|
|
4
|
+
import { C as CookieConfig, a as CookieConfigInternal, b as CookieName, A as AuthRuntimeConfig } from './index-bhqqOq40.js';
|
|
5
5
|
import { LiteralUnion } from './@types/utility.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import './jose.js';
|
package/dist/error.d.ts
CHANGED
|
@@ -527,7 +527,7 @@ type AccessTokenError = OAuthError<z.infer<typeof OAuthAccessTokenErrorResponse>
|
|
|
527
527
|
type TokenRevocationError = OAuthError<"invalid_session_token" | "invalid_csrf_token" | "invalid_redirect_to">;
|
|
528
528
|
type ErrorType = AuthorizationError["error"] | AccessTokenError["error"] | TokenRevocationError["error"];
|
|
529
529
|
interface RouterGlobalContext {
|
|
530
|
-
oauth:
|
|
530
|
+
oauth: Record<LiteralUnion<BuiltInOAuthProvider>, OAuthProviderCredentials>;
|
|
531
531
|
jose: JoseInstance;
|
|
532
532
|
basePath: string;
|
|
533
533
|
cookies: CookieConfig;
|
|
@@ -552,4 +552,4 @@ interface AuthInstance {
|
|
|
552
552
|
jose: JoseInstance;
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
-
export { type AuthRuntimeConfig as A, type BitbucketProfile as B, type CookieConfig as C, type DiscordProfile as D, type ErrorType as E, type FigmaProfile as F, type GitLabProfile as G, type HostCookie as H, type
|
|
555
|
+
export { type AuthRuntimeConfig as A, type BitbucketProfile as B, type CookieConfig as C, type DiscordProfile as D, type ErrorType as E, type FigmaProfile as F, type GitLabProfile as G, type HostCookie as H, type JWTStandardClaims as J, type Nameplate as N, type OAuthProviderCredentials as O, type RouterGlobalContext as R, type SpotifyProfile as S, type TokenRevocationError as T, type User as U, type XProfile as X, type CookieConfigInternal as a, type CookieName as b, type AuthConfig as c, type AuthInstance as d, discord as e, figma as f, gitlab as g, bitbucket as h, type GitHubProfile as i, github as j, builtInOAuthProviders as k, createBuiltInOAuthProviders as l, type BuiltInOAuthProvider as m, type Session as n, type OAuthProviderConfig as o, type OAuthProvider as p, type SecureCookie as q, type StandardCookie as r, spotify as s, type CookieStrategyOptions as t, type JoseInstance as u, type OAuthError as v, type AuthorizationError as w, x, type AccessTokenError as y };
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBuiltInOAuthProviders
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-EBPE35JT.js";
|
|
3
|
+
} from "./chunk-VFTYH33W.js";
|
|
5
4
|
import "./chunk-FKRDCWBF.js";
|
|
6
5
|
import "./chunk-IKHPGFCW.js";
|
|
7
6
|
import "./chunk-KRNOMBXQ.js";
|
|
8
7
|
import "./chunk-E3OXBRYF.js";
|
|
9
8
|
import "./chunk-42XB3YCW.js";
|
|
10
9
|
import "./chunk-ITQ7352M.js";
|
|
11
|
-
import {
|
|
12
|
-
callbackAction
|
|
13
|
-
} from "./chunk-HGJ4TXY4.js";
|
|
14
|
-
import "./chunk-RLT4RFKV.js";
|
|
15
10
|
import {
|
|
16
11
|
csrfTokenAction
|
|
17
12
|
} from "./chunk-SMQO5WD7.js";
|
|
@@ -25,8 +20,13 @@ import {
|
|
|
25
20
|
signOutAction
|
|
26
21
|
} from "./chunk-SJPDVKUS.js";
|
|
27
22
|
import "./chunk-CAKJT3KS.js";
|
|
23
|
+
import {
|
|
24
|
+
callbackAction
|
|
25
|
+
} from "./chunk-HGJ4TXY4.js";
|
|
26
|
+
import "./chunk-RLT4RFKV.js";
|
|
28
27
|
import "./chunk-UJJ7R56J.js";
|
|
29
28
|
import "./chunk-FIPU4MLT.js";
|
|
29
|
+
import "./chunk-EBPE35JT.js";
|
|
30
30
|
import {
|
|
31
31
|
defaultCookieConfig
|
|
32
32
|
} from "./chunk-ZV4BH47P.js";
|
package/dist/oauth/discord.d.cts
CHANGED
package/dist/oauth/discord.d.ts
CHANGED
package/dist/oauth/figma.d.cts
CHANGED
package/dist/oauth/figma.d.ts
CHANGED
package/dist/oauth/github.d.cts
CHANGED
package/dist/oauth/github.d.ts
CHANGED
package/dist/oauth/gitlab.d.cts
CHANGED
package/dist/oauth/gitlab.d.ts
CHANGED
package/dist/oauth/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BitbucketProfile, m as BuiltInOAuthProvider, D as DiscordProfile, F as FigmaProfile,
|
|
1
|
+
export { B as BitbucketProfile, m as BuiltInOAuthProvider, D as DiscordProfile, F as FigmaProfile, i as GitHubProfile, G as GitLabProfile, N as Nameplate, S as SpotifyProfile, X as XProfile, h as bitbucket, k as builtInOAuthProviders, l as createBuiltInOAuthProviders, e as discord, f as figma, j as github, g as gitlab, s as spotify, x } from '../index-Bht8X2D9.cjs';
|
|
2
2
|
import '../@types/utility.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../jose.cjs';
|
package/dist/oauth/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BitbucketProfile, m as BuiltInOAuthProvider, D as DiscordProfile, F as FigmaProfile,
|
|
1
|
+
export { B as BitbucketProfile, m as BuiltInOAuthProvider, D as DiscordProfile, F as FigmaProfile, i as GitHubProfile, G as GitLabProfile, N as Nameplate, S as SpotifyProfile, X as XProfile, h as bitbucket, k as builtInOAuthProviders, l as createBuiltInOAuthProviders, e as discord, f as figma, j as github, g as gitlab, s as spotify, x } from '../index-bhqqOq40.js';
|
|
2
2
|
import '../@types/utility.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../jose.js';
|
package/dist/oauth/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
builtInOAuthProviders,
|
|
3
3
|
createBuiltInOAuthProviders
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import {
|
|
6
|
-
discord
|
|
7
|
-
} from "../chunk-EBPE35JT.js";
|
|
4
|
+
} from "../chunk-VFTYH33W.js";
|
|
8
5
|
import {
|
|
9
6
|
figma
|
|
10
7
|
} from "../chunk-FKRDCWBF.js";
|
|
@@ -23,6 +20,9 @@ import {
|
|
|
23
20
|
import {
|
|
24
21
|
bitbucket
|
|
25
22
|
} from "../chunk-FIPU4MLT.js";
|
|
23
|
+
import {
|
|
24
|
+
discord
|
|
25
|
+
} from "../chunk-EBPE35JT.js";
|
|
26
26
|
export {
|
|
27
27
|
bitbucket,
|
|
28
28
|
builtInOAuthProviders,
|
package/dist/oauth/spotify.d.cts
CHANGED
package/dist/oauth/spotify.d.ts
CHANGED
package/dist/oauth/x.d.cts
CHANGED
package/dist/oauth/x.d.ts
CHANGED
package/dist/secure.d.ts
CHANGED
package/package.json
CHANGED
package/dist/@types/module.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/@types/module.d.cts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { c as AuthConfig, e as createBuiltInOAuthProviders, J as JoseInstance } from '../index-DtsgAA4Y.cjs';
|
|
2
|
-
import 'zod/v4';
|
|
3
|
-
import '../jose.cjs';
|
|
4
|
-
import '@aura-stack/jose/jose';
|
|
5
|
-
import '../schemas.cjs';
|
|
6
|
-
import 'zod/v4/core';
|
|
7
|
-
import '@aura-stack/router';
|
|
8
|
-
import 'cookie';
|
|
9
|
-
import './utility.cjs';
|
|
10
|
-
|
|
11
|
-
declare module "@aura-stack/router" {
|
|
12
|
-
interface GlobalContext extends Required<Omit<AuthConfig, "secret" | "oauth">> {
|
|
13
|
-
oauth: ReturnType<typeof createBuiltInOAuthProviders>;
|
|
14
|
-
jose: JoseInstance;
|
|
15
|
-
}
|
|
16
|
-
}
|
package/dist/@types/module.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { c as AuthConfig, e as createBuiltInOAuthProviders, J as JoseInstance } from '../index-BIop4-KU.js';
|
|
2
|
-
import 'zod/v4';
|
|
3
|
-
import '../jose.js';
|
|
4
|
-
import '@aura-stack/jose/jose';
|
|
5
|
-
import '../schemas.js';
|
|
6
|
-
import 'zod/v4/core';
|
|
7
|
-
import '@aura-stack/router';
|
|
8
|
-
import 'cookie';
|
|
9
|
-
import './utility.js';
|
|
10
|
-
|
|
11
|
-
declare module "@aura-stack/router" {
|
|
12
|
-
interface GlobalContext extends Required<Omit<AuthConfig, "secret" | "oauth">> {
|
|
13
|
-
oauth: ReturnType<typeof createBuiltInOAuthProviders>;
|
|
14
|
-
jose: JoseInstance;
|
|
15
|
-
}
|
|
16
|
-
}
|
package/dist/@types/module.js
DELETED
|
File without changes
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
discord
|
|
3
|
-
} from "./chunk-EBPE35JT.js";
|
|
4
1
|
import {
|
|
5
2
|
figma
|
|
6
3
|
} from "./chunk-FKRDCWBF.js";
|
|
@@ -19,6 +16,9 @@ import {
|
|
|
19
16
|
import {
|
|
20
17
|
bitbucket
|
|
21
18
|
} from "./chunk-FIPU4MLT.js";
|
|
19
|
+
import {
|
|
20
|
+
discord
|
|
21
|
+
} from "./chunk-EBPE35JT.js";
|
|
22
22
|
|
|
23
23
|
// src/oauth/index.ts
|
|
24
24
|
var builtInOAuthProviders = {
|