@inversifyjs/http-better-auth 4.5.0 → 4.7.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @inversifyjs/http-better-auth
|
|
2
2
|
|
|
3
|
+
## 4.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @inversifyjs/http-core@4.7.0
|
|
9
|
+
|
|
10
|
+
## 4.6.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @inversifyjs/http-core@4.6.0
|
|
16
|
+
|
|
3
17
|
## 4.5.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BetterAuthOptions, InferSession, InferUser
|
|
1
|
+
import { BetterAuthOptions, InferSession, InferUser } from 'better-auth';
|
|
2
2
|
export interface UserSession<TOptions extends BetterAuthOptions> {
|
|
3
|
-
session:
|
|
4
|
-
user:
|
|
3
|
+
session: InferSession<TOptions>;
|
|
4
|
+
user: InferUser<TOptions>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=UserSession.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSession.d.ts","sourceRoot":"","sources":["../../../../src/auth/models/UserSession.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"UserSession.d.ts","sourceRoot":"","sources":["../../../../src/auth/models/UserSession.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEzE,MAAM,WAAW,WAAW,CAAC,QAAQ,SAAS,iBAAiB;IAC7D,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;CAC3B"}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BetterAuthOptions, betterAuth,
|
|
1
|
+
import { BetterAuthOptions, betterAuth, InferSession, InferUser } from 'better-auth';
|
|
2
2
|
import { ContainerModule, ResolvedValueInjectOptions, Newable } from 'inversify';
|
|
3
3
|
|
|
4
4
|
declare const betterAuthMiddlewareServiceIdentifier: unique symbol;
|
|
@@ -48,8 +48,8 @@ declare class BetterAuthUwebSocketsContainerModule<TOptions extends BetterAuthOp
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
interface UserSession<TOptions extends BetterAuthOptions> {
|
|
51
|
-
session:
|
|
52
|
-
user:
|
|
51
|
+
session: InferSession<TOptions>;
|
|
52
|
+
user: InferUser<TOptions>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export { BetterAuthExpress4ContainerModule, BetterAuthExpressContainerModule, BetterAuthFastifyContainerModule, BetterAuthHonoContainerModule, BetterAuthUwebSocketsContainerModule, ExpressUserSession, FastifyUserSession, HonoUserSession, UwebSocketsUserSession, betterAuthMiddlewareServiceIdentifier };
|
package/package.json
CHANGED
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "InversifyJs http Better Auth package",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@inversifyjs/http-core": "4.
|
|
8
|
+
"@inversifyjs/http-core": "4.7.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@hono/node-server": "1.19.6",
|
|
12
|
-
"@stryker-mutator/core": "9.
|
|
13
|
-
"@stryker-mutator/typescript-checker": "9.
|
|
14
|
-
"@stryker-mutator/vitest-runner": "9.
|
|
12
|
+
"@stryker-mutator/core": "9.4.0",
|
|
13
|
+
"@stryker-mutator/typescript-checker": "9.4.0",
|
|
14
|
+
"@stryker-mutator/vitest-runner": "9.4.0",
|
|
15
15
|
"@types/better-sqlite3": "^7.6.13",
|
|
16
16
|
"@types/express": "5.0.5",
|
|
17
17
|
"@types/express4": "npm:@types/express@4.17.25",
|
|
18
18
|
"@types/node": "24.10.1",
|
|
19
19
|
"@vitest/coverage-v8": "4.0.10",
|
|
20
|
-
"better-sqlite3": "^12.
|
|
20
|
+
"better-sqlite3": "^12.5.0",
|
|
21
21
|
"eslint": "9.39.1",
|
|
22
22
|
"fastify": "5.6.2",
|
|
23
|
-
"hono": "4.10.
|
|
24
|
-
"prettier": "3.
|
|
23
|
+
"hono": "4.10.7",
|
|
24
|
+
"prettier": "3.7.3",
|
|
25
25
|
"rimraf": "6.1.2",
|
|
26
26
|
"rollup": "4.53.3",
|
|
27
27
|
"ts-loader": "9.5.4",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"typescript": "5.9.3",
|
|
30
30
|
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.55.0",
|
|
31
31
|
"vitest": "4.0.10",
|
|
32
|
-
"@inversifyjs/http-express": "4.
|
|
33
|
-
"@inversifyjs/http-express-v4": "4.
|
|
34
|
-
"@inversifyjs/http-fastify": "4.
|
|
35
|
-
"@inversifyjs/http-hono": "4.
|
|
36
|
-
"@inversifyjs/http-uwebsockets": "4.
|
|
32
|
+
"@inversifyjs/http-express": "4.7.0",
|
|
33
|
+
"@inversifyjs/http-express-v4": "4.7.0",
|
|
34
|
+
"@inversifyjs/http-fastify": "4.7.0",
|
|
35
|
+
"@inversifyjs/http-hono": "4.7.0",
|
|
36
|
+
"@inversifyjs/http-uwebsockets": "4.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devEngines": {
|
|
39
39
|
"node": "^24.10.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"name": "@inversifyjs/http-better-auth",
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"better-auth": "^1.
|
|
64
|
+
"better-auth": "^1.4.4",
|
|
65
65
|
"inversify": "^7.10.4"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"type": "git",
|
|
72
72
|
"url": "git+https://github.com/inversify/monorepo.git"
|
|
73
73
|
},
|
|
74
|
-
"version": "4.
|
|
74
|
+
"version": "4.7.0",
|
|
75
75
|
"scripts": {
|
|
76
76
|
"build": "pnpm run build:cjs && pnpm run build:esm",
|
|
77
77
|
"build:cjs": "tsc --build tsconfig.cjs.json && pnpm exec foundation-ts-package-cjs ./lib/cjs",
|