Commit 95d33be0 authored by nanahira's avatar nanahira

bump

parent 9b57847a
Pipeline #43247 failed with stages
in 99 minutes and 41 seconds
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"ygopro-cdb-encode": "^1.0.2", "ygopro-cdb-encode": "^1.0.2",
"ygopro-deck-encode": "^1.0.15", "ygopro-deck-encode": "^1.0.15",
"ygopro-lflist-encode": "^1.0.3", "ygopro-lflist-encode": "^1.0.3",
"ygopro-msg-encode": "^1.1.27", "ygopro-msg-encode": "^1.1.29",
"ygopro-yrp-encode": "^1.0.1", "ygopro-yrp-encode": "^1.0.1",
"yuzuthread": "^1.0.8" "yuzuthread": "^1.0.8"
}, },
...@@ -7318,9 +7318,9 @@ ...@@ -7318,9 +7318,9 @@
} }
}, },
"node_modules/ygopro-msg-encode": { "node_modules/ygopro-msg-encode": {
"version": "1.1.27", "version": "1.1.29",
"resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.27.tgz", "resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.29.tgz",
"integrity": "sha512-cPiiRAorMdQdip0L47vwwVyZTZ1I8Yu63Q3qnAQ7oEGG2brKhnJ4SARBw4x0wQZ0DgcPf9Yr8SyuZxnNoS2O4g==", "integrity": "sha512-LCfK6ySZMofvv+66CGmzgrAJCORMh/6VLXfp10WxStw5y/98LQripzLjxQfSgLxebdzCYJ8l0SbHzTwIve4nzw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"typed-reflector": "^1.0.14", "typed-reflector": "^1.0.14",
......
...@@ -13,6 +13,7 @@ import { ...@@ -13,6 +13,7 @@ import {
YGOProStocHsPlayerChange, YGOProStocHsPlayerChange,
PlayerChangeState, PlayerChangeState,
NetPlayerType, NetPlayerType,
YGOProStocGameMsg,
} from 'ygopro-msg-encode'; } from 'ygopro-msg-encode';
import { YGOProProtoPipe } from '../utility/ygopro-proto-pipe'; import { YGOProProtoPipe } from '../utility/ygopro-proto-pipe';
import { I18nService } from './i18n'; import { I18nService } from './i18n';
...@@ -104,11 +105,12 @@ export class Client { ...@@ -104,11 +105,12 @@ export class Client {
return; return;
} }
return this.sendQueue.add(async () => { return this.sendQueue.add(async () => {
const logMsg = data instanceof YGOProStocGameMsg ? data.msg : data;
this.logger.debug( this.logger.debug(
{ {
msgName: data.constructor.name, msgName: logMsg?.constructor.name,
client: this.name || this.loggingIp(), client: this.name || this.loggingIp(),
payload: JSON.stringify(data), payload: JSON.stringify(logMsg),
}, },
'Sending message to client', 'Sending message to client',
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment