@kenhkl/agent-moss 0.17.1 → 0.17.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/dist/cli.js +6 -1
- package/dist/server.js +6 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -12824,7 +12824,12 @@ function createApp() {
|
|
|
12824
12824
|
allowMethods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
|
12825
12825
|
allowHeaders: ["*"]
|
|
12826
12826
|
}));
|
|
12827
|
-
app.use(
|
|
12827
|
+
app.use(
|
|
12828
|
+
"*",
|
|
12829
|
+
logger(
|
|
12830
|
+
(str, ...rest) => console.log(str.replace(/([?&]token=)[^&\s"']+/gi, "$1***"), ...rest)
|
|
12831
|
+
)
|
|
12832
|
+
);
|
|
12828
12833
|
const pools = new PooledLimiter();
|
|
12829
12834
|
const limiter = new RateLimiter(rateLimitQps());
|
|
12830
12835
|
app.use("*", async (c, next) => {
|
package/dist/server.js
CHANGED
|
@@ -12495,7 +12495,12 @@ function createApp() {
|
|
|
12495
12495
|
allowMethods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
|
12496
12496
|
allowHeaders: ["*"]
|
|
12497
12497
|
}));
|
|
12498
|
-
app.use(
|
|
12498
|
+
app.use(
|
|
12499
|
+
"*",
|
|
12500
|
+
logger(
|
|
12501
|
+
(str, ...rest) => console.log(str.replace(/([?&]token=)[^&\s"']+/gi, "$1***"), ...rest)
|
|
12502
|
+
)
|
|
12503
|
+
);
|
|
12499
12504
|
const pools = new PooledLimiter();
|
|
12500
12505
|
const limiter = new RateLimiter(rateLimitQps());
|
|
12501
12506
|
app.use("*", async (c, next) => {
|