@adonis-agora/authkit-server 0.66.1 → 0.66.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.
@@ -8,7 +8,7 @@
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
10
  <link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
11
- <script type="module" crossorigin src="/__AUTHKIT_BASE__/assets/index-CkCQ94la.js"></script>
11
+ <script type="module" crossorigin src="/__AUTHKIT_BASE__/assets/index-D9CYQnZR.js"></script>
12
12
  <link rel="stylesheet" crossorigin href="/__AUTHKIT_BASE__/assets/index-DTSmD4RU.css">
13
13
  </head>
14
14
  <body>
@@ -5,11 +5,11 @@ const AUTHKIT_TAG = 'lib:authkit';
5
5
  /** Default rolling window for the entry-backed providers (24h). */
6
6
  const DEFAULT_WINDOW_MS = 24 * 60 * 60 * 1000;
7
7
  /** Fetch captured `agora:authkit:*` audit entries from Telescope (newest-first). */
8
- async function fetchEntries(ctx, limit = 5_000) {
8
+ async function fetchEntries(ctx, size = 5_000) {
9
9
  return ctx.store.list({
10
10
  type: DIAGNOSTIC_TYPE,
11
11
  tag: AUTHKIT_TAG,
12
- limit,
12
+ size,
13
13
  });
14
14
  }
15
15
  /** The `AuditEventType` an entry carries (under `content.event`), or `''`. */
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@adonis-agora/authkit-server",
3
- "version": "0.66.1",
3
+ "version": "0.66.3",
4
4
  "description": "AdonisJS OIDC/OAuth2 provider (Identity Provider) toolkit: ejectable auth server with sessions, rate-limiting, MFA/TOTP, audit log, federated logout and OpenTelemetry metrics.",
5
5
  "license": "MIT",
6
6
  "author": "dudousxd",
7
- "homepage": "https://github.com/DavideCarvalho/adonis-agora-authkit/tree/main/packages/authkit-server#readme",
8
7
  "repository": {
9
8
  "type": "git",
10
9
  "url": "https://github.com/DavideCarvalho/adonis-agora-authkit.git",
11
10
  "directory": "packages/authkit-server"
12
11
  },
12
+ "homepage": "https://davidecarvalho.github.io/agora/docs/authkit",
13
13
  "bugs": {
14
14
  "url": "https://github.com/DavideCarvalho/adonis-agora-authkit/issues"
15
15
  },
@@ -60,17 +60,17 @@
60
60
  "@adonis-agora/durable": ">=0.7.0 <1.0.0",
61
61
  "@adonis-agora/media": ">=0.5.0 <1.0.0",
62
62
  "@adonis-agora/telescope": ">=0.1.0 <1.0.0",
63
- "@adonisjs/ally": "^6.3.0",
64
- "@adonisjs/auth": "^10.1.0",
65
- "@adonisjs/core": "^7.5.0",
66
- "@adonisjs/drive": "^4.0.0",
67
- "@adonisjs/lock": "^2.1.0",
68
- "@adonisjs/lucid": "^22.4.2",
69
- "@adonisjs/redis": "^9.2.0 || ^10.0.0 || ^11.0.0",
70
- "@adonisjs/session": "^8.1.0",
71
- "@adonisjs/shield": "^9.0.0",
72
- "@vinejs/vine": "^4.4.0",
73
- "edge.js": "^6.5.1"
63
+ "@adonisjs/ally": "6.3.0",
64
+ "@adonisjs/auth": "10.1.0",
65
+ "@adonisjs/core": "7.5.0",
66
+ "@adonisjs/drive": "4.0.0",
67
+ "@adonisjs/lock": "2.1.0",
68
+ "@adonisjs/lucid": "22.4.2",
69
+ "@adonisjs/redis": "11.0.0",
70
+ "@adonisjs/session": "8.1.0",
71
+ "@adonisjs/shield": "9.0.0",
72
+ "@vinejs/vine": "4.4.0",
73
+ "edge.js": "6.5.1"
74
74
  },
75
75
  "peerDependenciesMeta": {
76
76
  "@adonis-agora/durable": {
@@ -104,7 +104,7 @@
104
104
  "dependencies": {
105
105
  "@adonis-agora/authkit-core": "0.8.0",
106
106
  "@simplewebauthn/browser": "14.0.0",
107
- "@simplewebauthn/server": "14.0.1",
107
+ "@simplewebauthn/server": "14.0.2",
108
108
  "jose": "6.2.12",
109
109
  "koa": "3.2.1",
110
110
  "koa-mount": "4.2.0",
@@ -114,8 +114,8 @@
114
114
  },
115
115
  "devDependencies": {
116
116
  "@adonis-agora/authkit-react": "0.21.0",
117
- "@adonis-agora/durable": "0.39.0",
118
- "@adonis-agora/telescope": "0.20.0",
117
+ "@adonis-agora/durable": "0.40.0",
118
+ "@adonis-agora/telescope": "0.21.1",
119
119
  "@adonisjs/ally": "6.3.0",
120
120
  "@adonisjs/auth": "10.1.0",
121
121
  "@adonisjs/core": "7.5.0",
@@ -129,14 +129,14 @@
129
129
  "@japa/runner": "5.3.0",
130
130
  "@poppinss/ts-exec": "1.4.4",
131
131
  "@tailwindcss/cli": "4.3.3",
132
- "@tanstack/intent": "^0.4.0",
132
+ "@tanstack/intent": "0.4.0",
133
133
  "@tanstack/react-query": "5.102.8",
134
134
  "@types/better-sqlite3": "9.6.0",
135
135
  "@types/ioredis-mock": "8.2.8",
136
136
  "@types/koa": "3.0.3",
137
137
  "@types/koa-mount": "4.0.5",
138
138
  "@types/luxon": "3.7.5",
139
- "@types/node": "26.5.0",
139
+ "@types/node": "26.5.1",
140
140
  "@types/qrcode": "1.5.6",
141
141
  "@types/react": "19.2.18",
142
142
  "@types/react-dom": "19.2.7",
@@ -160,6 +160,7 @@
160
160
  "build": "node scripts/build_host_css.mjs && node scripts/build_webauthn.mjs && node scripts/build_ui.mjs && node -e \"const fs=require('node:fs');for(const d of ['build/stubs','build/host/views'])fs.rmSync(d,{recursive:true,force:true})\" && tsc && node -e \"require('node:fs').cpSync('src/host/assets','build/src/host/assets',{recursive:true})\" && node -e \"require('node:fs').cpSync('stubs','build/stubs',{recursive:true,filter:(s)=>!s.endsWith('.ts')})\" && node -e \"const fs=require('node:fs');if(fs.existsSync('assets'))fs.cpSync('assets','build/assets',{recursive:true})\" && node -e \"require('node:fs').cpSync('src/host/views','build/host/views',{recursive:true})\" && node -e \"const fs=require('node:fs');fs.mkdirSync('build/host/ui',{recursive:true});fs.readdirSync('src/host/ui').filter(f=>f.endsWith('.html')).forEach(f=>fs.copyFileSync('src/host/ui/'+f,'build/host/ui/'+f))\" && node -e \"require('node:fs').copyFileSync('commands/commands.json','build/commands/commands.json')\" && node -e \"const fs=require('node:fs');fs.mkdirSync('build/src/password',{recursive:true});fs.copyFileSync('src/password/common_passwords.txt','build/src/password/common_passwords.txt')\"",
161
161
  "build:ui": "node scripts/build_ui.mjs",
162
162
  "build:webauthn": "node scripts/build_webauthn.mjs",
163
+ "check:host-css": "node scripts/check_host_css.mjs",
163
164
  "check:webauthn-bundle": "node scripts/check_webauthn_bundle.mjs",
164
165
  "typecheck": "tsc --noEmit && node scripts/typecheck_ui.mjs && node scripts/typecheck_tests.mjs",
165
166
  "typecheck:tests": "node scripts/typecheck_tests.mjs",