chore(protos): Enable removeEnumPrefix ts-proto option (#24)

This commit is contained in:
absidue
2025-04-17 00:57:22 +02:00
committed by GitHub
parent d17ec5a045
commit a65328dcca
4 changed files with 154 additions and 154 deletions

View File

@@ -245,7 +245,7 @@ async function getBasicInfo(innertube: Innertube, videoId: string): Promise<YT.V
await decryptResponse(iv, hmac, responseData, clientConfig.clientKeyData) : responseData!;
const response = Protos.OnesiePlayerResponse.decode(decryptedData);
if (response.onesieProxyStatus !== Protos.OnesieProxyStatus.ONESIE_PROXY_STATUS_OK)
if (response.onesieProxyStatus !== Protos.OnesieProxyStatus.OK)
throw new Error('Onesie proxy status not OK');
if (response.httpStatus !== 200)