matrix-nodejs-homeserver 0.3.4 → 0.3.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.
- package/README.md +43 -9
- package/dist/api/account.js +109 -64
- package/dist/api/admin.js +9 -0
- package/dist/api/federation.js +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/misc.js +3 -3
- package/dist/api/oauthserver.js +620 -0
- package/dist/api/sync.js +1 -1
- package/dist/api/threepid.js +1 -1
- package/dist/api/uia.js +20 -8
- package/dist/api/user.js +6 -3
- package/dist/core/auth.d.ts +33 -2
- package/dist/core/auth.js +84 -21
- package/dist/core/oauth.js +2 -1
- package/dist/core/oauthserver.d.ts +141 -0
- package/dist/core/oauthserver.js +603 -0
- package/dist/core/ratelimit.d.ts +1 -1
- package/dist/core/ratelimit.js +4 -0
- package/dist/core/sso.d.ts +51 -15
- package/dist/core/sso.js +86 -26
- package/dist/homeserver.d.ts +12 -1
- package/dist/homeserver.js +17 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/storage/schema.js +20 -2
- package/dist/vendor/zod/v4/classic/errors.js +1 -1
- package/dist/vendor/zod/v4/classic/parse.js +1 -1
- package/dist/vendor/zod/v4/classic/schemas.js +1 -1
- package/dist/vendor/zod/v4/core/api.js +1 -1
- package/dist/vendor/zod/v4/core/checks.js +1 -1
- package/dist/vendor/zod/v4/core/core.js +1 -1
- package/dist/vendor/zod/v4/core/doc.js +1 -1
- package/dist/vendor/zod/v4/core/errors.js +1 -1
- package/dist/vendor/zod/v4/core/json-schema-processors.js +1 -1
- package/dist/vendor/zod/v4/core/memoizer.js +1 -1
- package/dist/vendor/zod/v4/core/parse.js +1 -1
- package/dist/vendor/zod/v4/core/regexes.js +1 -1
- package/dist/vendor/zod/v4/core/registries.js +1 -1
- package/dist/vendor/zod/v4/core/schemas.js +1 -1
- package/dist/vendor/zod/v4/core/to-json-schema.js +1 -1
- package/dist/vendor/zod/v4/core/util.js +1 -1
- package/dist/vendor/zod/v4/core/versions.js +1 -1
- package/dist/vendor/zod/v4/locales/en.js +1 -1
- package/package.json +12 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matrix-nodejs-homeserver",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "A framework- and database-agnostic Matrix homeserver library for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chat",
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
"homeserver",
|
|
10
10
|
"matrix"
|
|
11
11
|
],
|
|
12
|
-
"homepage": "https://github.com/k18k/matrix-nodejs-homeserver#readme",
|
|
12
|
+
"homepage": "https://github.com/k18k/matrix-nodejs-homeserver/tree/main/packages/core#readme",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/k18k/matrix-nodejs-homeserver/issues"
|
|
15
15
|
},
|
|
16
16
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/k18k/matrix-nodejs-homeserver.git"
|
|
19
|
+
"url": "git+https://github.com/k18k/matrix-nodejs-homeserver.git",
|
|
20
|
+
"directory": "packages/core"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"dist",
|
|
@@ -42,27 +43,23 @@
|
|
|
42
43
|
"scripts": {
|
|
43
44
|
"typecheck": "tsc -p tsconfig.json",
|
|
44
45
|
"test": "node --test \"test/**/*.test.ts\"",
|
|
45
|
-
"
|
|
46
|
-
"format": "oxfmt .",
|
|
47
|
-
"format:check": "oxfmt --check .",
|
|
46
|
+
"smoke": "node --test test/smoke.test.ts",
|
|
48
47
|
"build": "tsdown",
|
|
49
48
|
"check:package": "publint && attw --pack . --profile esm-only",
|
|
50
49
|
"prepare": "npm run build",
|
|
51
50
|
"start:example": "node examples/node-http.ts",
|
|
52
|
-
"start:multi-node-example": "node examples/multi-node.ts"
|
|
53
|
-
"changeset": "changeset",
|
|
54
|
-
"version-packages": "changeset version && oxfmt package.json",
|
|
55
|
-
"release": "changeset publish"
|
|
51
|
+
"start:multi-node-example": "node examples/multi-node.ts"
|
|
56
52
|
},
|
|
57
53
|
"devDependencies": {
|
|
58
54
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"
|
|
62
|
-
"
|
|
55
|
+
"@better-auth/core": "1.7.6",
|
|
56
|
+
"@better-auth/oauth-provider": "1.7.6",
|
|
57
|
+
"@better-auth/utils": "0.4.2",
|
|
58
|
+
"@better-fetch/fetch": "1.3.2",
|
|
59
|
+
"better-auth": "1.7.6",
|
|
60
|
+
"better-call": "1.4.0",
|
|
63
61
|
"publint": "^0.3.25",
|
|
64
62
|
"tsdown": "^0.23.1",
|
|
65
|
-
"typescript": "7.0.2",
|
|
66
63
|
"zod": "^4.6.7"
|
|
67
64
|
},
|
|
68
65
|
"engines": {
|