@shware/security 3.3.0 → 3.3.1

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/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_oauth2_client = require("./oauth2/client.cjs");
3
+ const require_oauth2_error = require("./oauth2/error.cjs");
3
4
  const require_session_common = require("./session/common.cjs");
4
5
  const require_auth_index = require("./auth/index.cjs");
5
6
  const require_session_redis = require("./session/redis.cjs");
@@ -9,6 +10,7 @@ const require_oauth2_types = require("./oauth2/types.cjs");
9
10
  exports.Auth = require_auth_index.Auth;
10
11
  exports.DBIndexedSessionRepository = require_session_db.DBIndexedSessionRepository;
11
12
  exports.OAuth2Client = require_oauth2_client.OAuth2Client;
13
+ exports.OAuth2Error = require_oauth2_error.OAuth2Error;
12
14
  exports.OIDC_SCOPES = require_oauth2_types.OIDC_SCOPES;
13
15
  exports.PATH = require_auth_index.PATH;
14
16
  exports.PRINCIPAL_NAME_INDEX_NAME = require_session_common.PRINCIPAL_NAME_INDEX_NAME;
package/dist/index.d.cts CHANGED
@@ -4,7 +4,8 @@ import { NativeCredential, OAuth2Token, OIDC_SCOPES, OidcScope, OidcToken, Stand
4
4
  import { AuthConfig, AuthService } from "./auth/types.cjs";
5
5
  import { Auth, PATH } from "./auth/index.cjs";
6
6
  import { OAuth2Client, oauth2RedirectQuerySchema } from "./oauth2/client.cjs";
7
+ import { OAuth2Error, OAuth2ErrorType } from "./oauth2/error.cjs";
7
8
  import { RedisIndexedSessionRepository, RedisKVRepository } from "./session/redis.cjs";
8
9
  import { DBAdapter, DBIndexedSessionRepository } from "./session/db.cjs";
9
10
  import { PRINCIPAL_NAME_INDEX_NAME } from "./session/common.cjs";
10
- export { Auth, type AuthConfig, type AuthService, type CsrfToken, type DBAdapter, DBIndexedSessionRepository, type KVRepository, type Namespace, type NativeCredential, OAuth2Client, type OAuth2Token, OIDC_SCOPES, type OidcScope, type OidcToken, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, type Principal, type Provider, RedisIndexedSessionRepository, RedisKVRepository, type Session, type SessionRepository, type StandardClaims, type UserInfo, oauth2RedirectQuerySchema };
11
+ export { Auth, type AuthConfig, type AuthService, type CsrfToken, type DBAdapter, DBIndexedSessionRepository, type KVRepository, type Namespace, type NativeCredential, OAuth2Client, OAuth2Error, type OAuth2ErrorType, type OAuth2Token, OIDC_SCOPES, type OidcScope, type OidcToken, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, type Principal, type Provider, RedisIndexedSessionRepository, RedisKVRepository, type Session, type SessionRepository, type StandardClaims, type UserInfo, oauth2RedirectQuerySchema };
package/dist/index.d.mts CHANGED
@@ -4,7 +4,8 @@ import { NativeCredential, OAuth2Token, OIDC_SCOPES, OidcScope, OidcToken, Stand
4
4
  import { AuthConfig, AuthService } from "./auth/types.mjs";
5
5
  import { Auth, PATH } from "./auth/index.mjs";
6
6
  import { OAuth2Client, oauth2RedirectQuerySchema } from "./oauth2/client.mjs";
7
+ import { OAuth2Error, OAuth2ErrorType } from "./oauth2/error.mjs";
7
8
  import { RedisIndexedSessionRepository, RedisKVRepository } from "./session/redis.mjs";
8
9
  import { DBAdapter, DBIndexedSessionRepository } from "./session/db.mjs";
9
10
  import { PRINCIPAL_NAME_INDEX_NAME } from "./session/common.mjs";
10
- export { Auth, type AuthConfig, type AuthService, type CsrfToken, type DBAdapter, DBIndexedSessionRepository, type KVRepository, type Namespace, type NativeCredential, OAuth2Client, type OAuth2Token, OIDC_SCOPES, type OidcScope, type OidcToken, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, type Principal, type Provider, RedisIndexedSessionRepository, RedisKVRepository, type Session, type SessionRepository, type StandardClaims, type UserInfo, oauth2RedirectQuerySchema };
11
+ export { Auth, type AuthConfig, type AuthService, type CsrfToken, type DBAdapter, DBIndexedSessionRepository, type KVRepository, type Namespace, type NativeCredential, OAuth2Client, OAuth2Error, type OAuth2ErrorType, type OAuth2Token, OIDC_SCOPES, type OidcScope, type OidcToken, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, type Principal, type Provider, RedisIndexedSessionRepository, RedisKVRepository, type Session, type SessionRepository, type StandardClaims, type UserInfo, oauth2RedirectQuerySchema };
package/dist/index.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { OAuth2Client, oauth2RedirectQuerySchema } from "./oauth2/client.mjs";
2
+ import { OAuth2Error } from "./oauth2/error.mjs";
2
3
  import { PRINCIPAL_NAME_INDEX_NAME } from "./session/common.mjs";
3
4
  import { Auth, PATH } from "./auth/index.mjs";
4
5
  import { RedisIndexedSessionRepository, RedisKVRepository } from "./session/redis.mjs";
5
6
  import { DBIndexedSessionRepository } from "./session/db.mjs";
6
7
  import { PROVIDERS } from "./core/index.mjs";
7
8
  import { OIDC_SCOPES } from "./oauth2/types.mjs";
8
- export { Auth, DBIndexedSessionRepository, OAuth2Client, OIDC_SCOPES, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, RedisIndexedSessionRepository, RedisKVRepository, oauth2RedirectQuerySchema };
9
+ export { Auth, DBIndexedSessionRepository, OAuth2Client, OAuth2Error, OIDC_SCOPES, PATH, PRINCIPAL_NAME_INDEX_NAME, PROVIDERS, RedisIndexedSessionRepository, RedisKVRepository, oauth2RedirectQuerySchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/security",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",