@adonis-agora/authkit-core 0.7.0 → 0.7.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.
|
@@ -18,7 +18,11 @@ export class InMemorySnapshot {
|
|
|
18
18
|
this.#updatedAt = Date.now();
|
|
19
19
|
}
|
|
20
20
|
read() {
|
|
21
|
-
return {
|
|
21
|
+
return {
|
|
22
|
+
counters: { ...this.#counters },
|
|
23
|
+
histograms: { ...this.#histograms },
|
|
24
|
+
updatedAt: this.#updatedAt,
|
|
25
|
+
};
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
/** No-op: usado quando observability está desligada. */
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonis-agora/authkit-core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Shared core types and utilities for AuthKit — the AdonisJS OIDC/OAuth2 server and client toolkits.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "dudousxd",
|
|
7
|
-
"homepage": "https://github.com/DavideCarvalho/adonis-authkit/tree/main/packages/authkit-core#readme",
|
|
7
|
+
"homepage": "https://github.com/DavideCarvalho/adonis-agora-authkit/tree/main/packages/authkit-core#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/DavideCarvalho/adonis-authkit.git",
|
|
10
|
+
"url": "https://github.com/DavideCarvalho/adonis-agora-authkit.git",
|
|
11
11
|
"directory": "packages/authkit-core"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/DavideCarvalho/adonis-authkit/issues"
|
|
14
|
+
"url": "https://github.com/DavideCarvalho/adonis-agora-authkit/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"adonisjs",
|
|
@@ -35,13 +35,17 @@
|
|
|
35
35
|
"./types": "./build/index.js"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@adonisjs/core": "7.
|
|
38
|
+
"@adonisjs/core": "7.4.0",
|
|
39
39
|
"@adonisjs/tsconfig": "2.0.0",
|
|
40
|
+
"@japa/assert": "4.2.0",
|
|
41
|
+
"@japa/runner": "5.3.0",
|
|
42
|
+
"@poppinss/ts-exec": "1.4.4",
|
|
40
43
|
"@types/node": "25.9.1",
|
|
41
44
|
"typescript": "6.0.3"
|
|
42
45
|
},
|
|
43
46
|
"scripts": {
|
|
44
47
|
"build": "tsc",
|
|
45
|
-
"typecheck": "tsc --noEmit"
|
|
48
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.tests.json",
|
|
49
|
+
"test": "node --import=@poppinss/ts-exec bin/test.ts"
|
|
46
50
|
}
|
|
47
51
|
}
|