@byline/auth 0.10.2 → 0.10.3

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.
@@ -75,4 +75,3 @@ export declare class AbilityRegistry {
75
75
  /** Drop every registered ability. Primarily for tests. */
76
76
  clear(): void;
77
77
  }
78
- //# sourceMappingURL=abilities.d.ts.map
package/dist/abilities.js CHANGED
@@ -52,4 +52,3 @@ export class AbilityRegistry {
52
52
  this.#abilities.clear();
53
53
  }
54
54
  }
55
- //# sourceMappingURL=abilities.js.map
package/dist/actor.d.ts CHANGED
@@ -65,4 +65,3 @@ export type Actor = AdminAuth | UserAuth | null;
65
65
  export declare function isAdminAuth(actor: Actor): actor is AdminAuth;
66
66
  /** Narrow an `Actor` to the end-user realm. */
67
67
  export declare function isUserAuth(actor: Actor): actor is UserAuth;
68
- //# sourceMappingURL=actor.d.ts.map
package/dist/actor.js CHANGED
@@ -119,4 +119,3 @@ export function isAdminAuth(actor) {
119
119
  export function isUserAuth(actor) {
120
120
  return actor instanceof UserAuth;
121
121
  }
122
- //# sourceMappingURL=actor.js.map
package/dist/context.d.ts CHANGED
@@ -60,4 +60,3 @@ export declare function createSuperAdminContext(params?: {
60
60
  requestId?: string;
61
61
  locale?: string;
62
62
  }): RequestContext;
63
- //# sourceMappingURL=context.d.ts.map
package/dist/context.js CHANGED
@@ -38,4 +38,3 @@ export function createSuperAdminContext(params) {
38
38
  locale: params?.locale,
39
39
  };
40
40
  }
41
- //# sourceMappingURL=context.js.map
package/dist/errors.d.ts CHANGED
@@ -63,4 +63,3 @@ export declare const ERR_REVOKED_TOKEN: (options: AuthErrorOptions) => AuthError
63
63
  * disabled (`is_enabled = false`).
64
64
  */
65
65
  export declare const ERR_ACCOUNT_DISABLED: (options: AuthErrorOptions) => AuthError;
66
- //# sourceMappingURL=errors.d.ts.map
package/dist/errors.js CHANGED
@@ -65,4 +65,3 @@ export const ERR_REVOKED_TOKEN = createAuthErrorType(AuthErrorCodes.REVOKED_TOKE
65
65
  * disabled (`is_enabled = false`).
66
66
  */
67
67
  export const ERR_ACCOUNT_DISABLED = createAuthErrorType(AuthErrorCodes.ACCOUNT_DISABLED);
68
- //# sourceMappingURL=errors.js.map
package/dist/index.d.ts CHANGED
@@ -10,4 +10,3 @@ export { type Actor, AdminAuth, isAdminAuth, isUserAuth, UserAuth, } from './act
10
10
  export { createRequestContext, createSuperAdminContext, type RequestContext, } from './context.js';
11
11
  export { AuthError, type AuthErrorCode, AuthErrorCodes, type AuthErrorOptions, ERR_ACCOUNT_DISABLED, ERR_FORBIDDEN, ERR_INVALID_CREDENTIALS, ERR_INVALID_TOKEN, ERR_REVOKED_TOKEN, ERR_UNAUTHENTICATED, } from './errors.js';
12
12
  export type { AccessTokenPayload, RefreshSessionArgs, SessionProvider, SessionProviderCapabilities, SessionTokens, SignInResult, SignInWithPasswordArgs, } from './session-provider.js';
13
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -9,4 +9,3 @@ export { AbilityRegistry, } from './abilities.js';
9
9
  export { AdminAuth, isAdminAuth, isUserAuth, UserAuth, } from './actor.js';
10
10
  export { createRequestContext, createSuperAdminContext, } from './context.js';
11
11
  export { AuthError, AuthErrorCodes, ERR_ACCOUNT_DISABLED, ERR_FORBIDDEN, ERR_INVALID_CREDENTIALS, ERR_INVALID_TOKEN, ERR_REVOKED_TOKEN, ERR_UNAUTHENTICATED, } from './errors.js';
12
- //# sourceMappingURL=index.js.map
@@ -118,4 +118,3 @@ export interface SessionProvider {
118
118
  /** Declarative capability flags. See `SessionProviderCapabilities`. */
119
119
  readonly capabilities: SessionProviderCapabilities;
120
120
  }
121
- //# sourceMappingURL=session-provider.d.ts.map
@@ -6,4 +6,3 @@
6
6
  * Copyright (c) Infonomic Company Limited
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=session-provider.js.map
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/auth",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "0.10.2",
5
+ "version": "0.10.3",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },