fix: resolve ESLint unused variable errors
Some checks failed
JavaScript SDK Tests / test-js-sdk (push) Failing after 9s
package-tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk python_version:3.13]) (push) Failing after 10s
package-tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core python_version:3.13]) (push) Failing after 10s
integration-tests / test-service-integration (push) Has been cancelled
package-tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto python_version:3.13]) (push) Has been cancelled
package-tests / test-javascript-packages (map[name:aitbc-sdk node_version:24 path:packages/js/aitbc-sdk]) (push) Has been cancelled
package-tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk python_version:3.13]) (push) Has been cancelled
package-tests / cross-language-compatibility (push) Has been cancelled
package-tests / package-integration-tests (push) Has been cancelled
security-scanning / audit (push) Has been cancelled

This commit is contained in:
2026-03-28 08:45:23 +01:00
parent 2821682401
commit 74c4919372
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ const createClient = () =>
new AitbcClient({
baseUrl: "https://api.example.com",
apiKey: "test-key",
fetchImpl: async (input: RequestInfo | URL, init?: RequestInit) =>
fetchImpl: async (_input: RequestInfo | URL, _init?: RequestInit) =>
new Response(JSON.stringify({ job_id: "job", candidates: [] }), {
status: 200,
headers: { "Content-Type": "application/json" },

View File

@@ -172,7 +172,7 @@ export class ReceiptService {
}
private sanitizePayload(payload: Record<string, unknown>): Record<string, unknown> {
const { signature, minerSignature, coordinatorSignature, ...rest } = payload ?? {};
const { _signature, _minerSignature, _coordinatorSignature, ...rest } = payload ?? {};
return rest;
}