Merge pull request #447 from SnowLuma/dev

chore: promote dev → main (445aac86)
This commit is contained in:
snowluma-bot[bot] authored and GitHub committed 2026-09-13 12:32:25 +00:00
commit b100296e23
1 file changed
+3 -1
+3 -1
View File
@@ -140,7 +140,9 @@ export async function invokeOidb<TCtx extends OidbSender, TReq, TResp, TParams,
? spec.wireName(command, subCommand)
: `OidbSvcTrpcTcp.0x${command.toString(16)}_${subCommand}`;
const result = await ctx.sendRawPacket(wireName, reqBytes, timeoutMs);
const result = timeoutMs === undefined
? await ctx.sendRawPacket(wireName, reqBytes)
: await ctx.sendRawPacket(wireName, reqBytes, timeoutMs);
if (!result.gotResponse) throw new Error(result.errorMessage || 'no response');
if (!result.success) {