@matterbridge/core 3.9.0-dev-20260611-fd7bca4 → 3.9.0-dev-20260612-339f9b8
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/dist/backendExpress.d.ts +1 -0
- package/dist/backendExpress.js +1 -0
- package/dist/frontend.js +2 -0
- package/package.json +5 -5
package/dist/backendExpress.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare class BackendExpress {
|
|
|
10
10
|
private readonly server;
|
|
11
11
|
private fileLimiter;
|
|
12
12
|
expressApp: express.Application | undefined;
|
|
13
|
+
serverFetchTimeout: number;
|
|
13
14
|
constructor(matterbridge: SharedMatterbridge, backend: Backend);
|
|
14
15
|
destroy(): void;
|
|
15
16
|
private broadcastMsgHandler;
|
package/dist/backendExpress.js
CHANGED
|
@@ -24,6 +24,7 @@ export class BackendExpress {
|
|
|
24
24
|
max: 20,
|
|
25
25
|
});
|
|
26
26
|
expressApp;
|
|
27
|
+
serverFetchTimeout = 5000;
|
|
27
28
|
constructor(matterbridge, backend) {
|
|
28
29
|
this.debug = hasParameter('debug') || hasParameter('verbose') || hasParameter('debug-frontend') || hasParameter('verbose-frontend');
|
|
29
30
|
this.verbose = hasParameter('verbose') || hasParameter('verbose-frontend');
|
package/dist/frontend.js
CHANGED
|
@@ -835,6 +835,7 @@ export class Frontend extends EventEmitter {
|
|
|
835
835
|
res.status(500).json({ error: `Internal error in plugin ${plugin.name}` });
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
|
+
this.expressApp.use(`/plugins/${plugin.name}/api`, express.json());
|
|
838
839
|
this.expressApp.get(`/plugins/${plugin.name}/api/:path`, apiHandler);
|
|
839
840
|
this.expressApp.post(`/plugins/${plugin.name}/api/:path`, apiHandler);
|
|
840
841
|
this.expressApp.put(`/plugins/${plugin.name}/api/:path`, apiHandler);
|
|
@@ -1159,6 +1160,7 @@ export class Frontend extends EventEmitter {
|
|
|
1159
1160
|
schemaJson: plugin.schemaJson,
|
|
1160
1161
|
hasWhiteList: plugin.configJson?.whiteList !== undefined,
|
|
1161
1162
|
hasBlackList: plugin.configJson?.blackList !== undefined,
|
|
1163
|
+
frontendPath: plugin.frontendPath,
|
|
1162
1164
|
matter: plugin.serverNode ? this.matterbridge.getServerNodeData(plugin.serverNode) : undefined,
|
|
1163
1165
|
});
|
|
1164
1166
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.9.0-dev-
|
|
3
|
+
"version": "3.9.0-dev-20260612-339f9b8",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
],
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@matter/main": "0.17.2",
|
|
133
|
-
"@matterbridge/dgram": "3.9.0-dev-
|
|
134
|
-
"@matterbridge/thread": "3.9.0-dev-
|
|
135
|
-
"@matterbridge/types": "3.9.0-dev-
|
|
136
|
-
"@matterbridge/utils": "3.9.0-dev-
|
|
133
|
+
"@matterbridge/dgram": "3.9.0-dev-20260612-339f9b8",
|
|
134
|
+
"@matterbridge/thread": "3.9.0-dev-20260612-339f9b8",
|
|
135
|
+
"@matterbridge/types": "3.9.0-dev-20260612-339f9b8",
|
|
136
|
+
"@matterbridge/utils": "3.9.0-dev-20260612-339f9b8",
|
|
137
137
|
"escape-html": "1.0.3",
|
|
138
138
|
"express": "5.2.1",
|
|
139
139
|
"express-rate-limit": "8.5.2",
|