@metric-im/administrate 1.2.2 → 1.2.4
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/.claude/settings.local.json +5 -1
- package/multisite.mjs +2 -2
- package/package.json +2 -2
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
"Read(//home/msprague/workspace/rootz/rhonda/**)",
|
|
9
9
|
"Read(//home/msprague/workspace/metric-im/account-control/**)",
|
|
10
10
|
"Bash(sed:*)",
|
|
11
|
-
"Bash(git checkout:*)"
|
|
11
|
+
"Bash(git checkout:*)",
|
|
12
|
+
"Bash(npm view *)",
|
|
13
|
+
"Bash(git --no-pager diff --stat)",
|
|
14
|
+
"Bash(node -p \"require\\('./package-lock.json'\\).packages['node_modules/epistery'].version\")",
|
|
15
|
+
"Bash(git *)"
|
|
12
16
|
],
|
|
13
17
|
"deny": [],
|
|
14
18
|
"ask": []
|
package/multisite.mjs
CHANGED
|
@@ -246,8 +246,8 @@ export class MultiSite {
|
|
|
246
246
|
const payload = isBodyMethod ? req.body : null;
|
|
247
247
|
const clientIP = req.ip || req.connection.remoteAddress || req.headers['x-forwarded-for'];
|
|
248
248
|
|
|
249
|
-
// Debug logging for POST requests
|
|
250
|
-
if (method === 'POST') {
|
|
249
|
+
// Debug logging for POST requests (set DEBUG_PROXY=1 to enable)
|
|
250
|
+
if (method === 'POST' && process.env.DEBUG_PROXY) {
|
|
251
251
|
console.log(`[Proxy] ${method} ${target}`);
|
|
252
252
|
console.log(`[Proxy] Request body:`, req.body);
|
|
253
253
|
console.log(`[Proxy] Payload:`, payload);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metric-im/administrate",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Tools for site administration",
|
|
5
5
|
"homepage": "https://github.com/metric-im/administrate#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"acme-client": "^5.4.0",
|
|
23
23
|
"axios": "^1.7.0",
|
|
24
24
|
"compression": "^1.8.1",
|
|
25
|
-
"epistery": "^
|
|
25
|
+
"epistery": "^2.0.2",
|
|
26
26
|
"express": "^5.1.0",
|
|
27
27
|
"moment": "^2.30.1"
|
|
28
28
|
}
|