alemonjs 2.1.0-alpha.30 → 2.1.0-alpha.31
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/bin/updateConfig.js +1 -1
- package/lib/cbp/testone.js +0 -1
- package/lib/main.js +0 -1
- package/package.json +1 -1
package/bin/updateConfig.js
CHANGED
package/lib/cbp/testone.js
CHANGED
|
@@ -185,7 +185,6 @@ const connectionTestOne = (ws, _request) => {
|
|
|
185
185
|
try {
|
|
186
186
|
const messages = JSON.parse(readFileSync(messagePath, 'utf-8'));
|
|
187
187
|
const updatedMessages = messages.filter((msg) => msg.CreateAt !== CreateAt);
|
|
188
|
-
console.log('updatedMessages', updatedMessages);
|
|
189
188
|
writeFile(messagePath, JSON.stringify(updatedMessages, null, 2), error => {
|
|
190
189
|
if (error) {
|
|
191
190
|
logger.error(`写入 ${type} 消息失败:`, error);
|
package/lib/main.js
CHANGED
|
@@ -80,7 +80,6 @@ const start = async (options = {}) => {
|
|
|
80
80
|
// 设置环境变量
|
|
81
81
|
process.env.port = port;
|
|
82
82
|
cbpServer(port, async () => {
|
|
83
|
-
console.log(`ws://127.0.0.1:${port}`);
|
|
84
83
|
const url = `ws://127.0.0.1:${port}`;
|
|
85
84
|
const isFullReceive = options?.is_full_receive || cfg.argv?.is_full_receive || cfg.value?.is_full_receive || true;
|
|
86
85
|
cbpClient(url, { isFullReceive });
|