@shware/security 1.5.3 → 1.5.5

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Auth } from './auth/index';\nexport { OAuth2Client, oauth2RedirectQuerySchema } from './oauth2/client';\nexport { RedisIndexedSessionRepository, RedisKVRepository } from './session/redis';\nexport { DBIndexedSessionRepository } from './session/db';\nexport { PRINCIPAL_NAME_INDEX_NAME } from './session/common';\nexport { Provider, ALL_PROVIDERS } from './core/index';\n\nexport type { Principal, CsrfToken } from './core/index';\nexport type { DBAdapter } from './session/db';\nexport type { Namespace, SessionRepository, Session, KVRepository } from './session/types';\nexport type { StandardClaims, OAuth2Token, UserInfo, OidcToken, OidcScopes } from './oauth2/types';\nexport type { AuthConfig, AuthService } from './auth/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqB;AACrB,oBAAwD;AACxD,mBAAiE;AACjE,gBAA2C;AAC3C,oBAA0C;AAC1C,kBAAwC;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Auth } from './auth/index';\nexport { OAuth2Client, oauth2RedirectQuerySchema } from './oauth2/client';\nexport { RedisIndexedSessionRepository, RedisKVRepository } from './session/redis';\nexport { DBIndexedSessionRepository } from './session/db';\nexport { PRINCIPAL_NAME_INDEX_NAME } from './session/common';\nexport { Provider, ALL_PROVIDERS } from './core/index';\n\nexport type { Principal, CsrfToken } from './core/index';\nexport type { DBAdapter } from './session/db';\nexport type { Namespace, SessionRepository, Session, KVRepository } from './session/types';\nexport type {\n NativeCredential,\n OAuth2Token,\n OidcToken,\n OidcScopes,\n StandardClaims,\n UserInfo,\n} from './oauth2/types';\nexport type { AuthConfig, AuthService } from './auth/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqB;AACrB,oBAAwD;AACxD,mBAAiE;AACjE,gBAA2C;AAC3C,oBAA0C;AAC1C,kBAAwC;","names":[]}
package/dist/index.d.cts CHANGED
@@ -5,7 +5,7 @@ export { DBAdapter, DBIndexedSessionRepository } from './session/db.cjs';
5
5
  export { PRINCIPAL_NAME_INDEX_NAME } from './session/common.cjs';
6
6
  export { ALL_PROVIDERS, CsrfToken, Principal, Provider } from './core/index.cjs';
7
7
  export { KVRepository, Namespace, Session, SessionRepository } from './session/types.cjs';
8
- export { OAuth2Token, OidcScopes, OidcToken, StandardClaims, UserInfo } from './oauth2/types.cjs';
8
+ export { NativeCredential, OAuth2Token, OidcScopes, OidcToken, StandardClaims, UserInfo } from './oauth2/types.cjs';
9
9
  export { AuthConfig, AuthService } from './auth/types.cjs';
10
10
  import 'zod/v4/core';
11
11
  import 'zod/v4-mini';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { DBAdapter, DBIndexedSessionRepository } from './session/db.js';
5
5
  export { PRINCIPAL_NAME_INDEX_NAME } from './session/common.js';
6
6
  export { ALL_PROVIDERS, CsrfToken, Principal, Provider } from './core/index.js';
7
7
  export { KVRepository, Namespace, Session, SessionRepository } from './session/types.js';
8
- export { OAuth2Token, OidcScopes, OidcToken, StandardClaims, UserInfo } from './oauth2/types.js';
8
+ export { NativeCredential, OAuth2Token, OidcScopes, OidcToken, StandardClaims, UserInfo } from './oauth2/types.js';
9
9
  export { AuthConfig, AuthService } from './auth/types.js';
10
10
  import 'zod/v4/core';
11
11
  import 'zod/v4-mini';
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Auth } from './auth/index';\nexport { OAuth2Client, oauth2RedirectQuerySchema } from './oauth2/client';\nexport { RedisIndexedSessionRepository, RedisKVRepository } from './session/redis';\nexport { DBIndexedSessionRepository } from './session/db';\nexport { PRINCIPAL_NAME_INDEX_NAME } from './session/common';\nexport { Provider, ALL_PROVIDERS } from './core/index';\n\nexport type { Principal, CsrfToken } from './core/index';\nexport type { DBAdapter } from './session/db';\nexport type { Namespace, SessionRepository, Session, KVRepository } from './session/types';\nexport type { StandardClaims, OAuth2Token, UserInfo, OidcToken, OidcScopes } from './oauth2/types';\nexport type { AuthConfig, AuthService } from './auth/types';\n"],"mappings":";AAAA,SAAS,YAAY;AACrB,SAAS,cAAc,iCAAiC;AACxD,SAAS,+BAA+B,yBAAyB;AACjE,SAAS,kCAAkC;AAC3C,SAAS,iCAAiC;AAC1C,SAAS,UAAU,qBAAqB;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { Auth } from './auth/index';\nexport { OAuth2Client, oauth2RedirectQuerySchema } from './oauth2/client';\nexport { RedisIndexedSessionRepository, RedisKVRepository } from './session/redis';\nexport { DBIndexedSessionRepository } from './session/db';\nexport { PRINCIPAL_NAME_INDEX_NAME } from './session/common';\nexport { Provider, ALL_PROVIDERS } from './core/index';\n\nexport type { Principal, CsrfToken } from './core/index';\nexport type { DBAdapter } from './session/db';\nexport type { Namespace, SessionRepository, Session, KVRepository } from './session/types';\nexport type {\n NativeCredential,\n OAuth2Token,\n OidcToken,\n OidcScopes,\n StandardClaims,\n UserInfo,\n} from './oauth2/types';\nexport type { AuthConfig, AuthService } from './auth/types';\n"],"mappings":";AAAA,SAAS,YAAY;AACrB,SAAS,cAAc,iCAAiC;AACxD,SAAS,+BAA+B,yBAAyB;AACjE,SAAS,kCAAkC;AAC3C,SAAS,iCAAiC;AAC1C,SAAS,UAAU,qBAAqB;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/security",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "repository": {
@@ -24,22 +24,22 @@
24
24
  ],
25
25
  "devDependencies": {
26
26
  "@types/jest": "^30.0.0",
27
- "@types/node": "^24.3.3",
28
- "jest": "^30.1.3",
29
- "ts-jest": "^29.4.1",
27
+ "@types/node": "^24.6.2",
28
+ "jest": "^30.2.0",
29
+ "ts-jest": "^29.4.4",
30
30
  "ts-node": "^10.9.2",
31
- "typescript": "5.9.2",
32
- "@repo/eslint-config": "0.0.4",
31
+ "typescript": "5.9.3",
32
+ "@repo/eslint-config": "0.0.5",
33
33
  "@repo/typescript-config": "0.0.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "cookie": "^1.0.2",
37
- "ioredis": "^5.7.0",
37
+ "ioredis": "^5.8.0",
38
38
  "jose": "^6.1.0",
39
39
  "path-to-regexp": "^8.3.0",
40
40
  "tiny-invariant": "^1.3.3",
41
41
  "uuid": "^13.0.0",
42
- "zod": "^4.1.8"
42
+ "zod": "^4.1.11"
43
43
  },
44
44
  "scripts": {
45
45
  "dev": "tsc --watch",