Skip to content

Commit bf0ea0b

Browse files
committed
feat: a few cleans
1 parent e210686 commit bf0ea0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/auth-browser/src/lib/chains/eth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export const checkAndSignEVMAuthMessage = async ({
490490
derivedVia: '',
491491
signedMessage: '',
492492
address: '',
493-
} as AuthSig;
493+
};
494494
}
495495

496496
// --- scoped methods ---

packages/schemas/src/lib/schemas.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const AuthSigSchema = z.object({
147147
/**
148148
* The signature produced by signing the `signMessage` property with the corresponding private key for the `address` property.
149149
*/
150-
sig: z.string(), // TODO it was any?
150+
sig: z.string(),
151151
/**
152152
* The method used to derive the signature (e.g, `web3.eth.personal.sign`).
153153
*/
@@ -352,11 +352,11 @@ export const BlsSignatureShareSchema = z.object({
352352
});
353353

354354
export const NodeBlsSigningShareSchema = z.object({
355-
shareIndex: z.number(), // any(),
356-
unsignedJwt: z.string().optional(), // any(),
355+
shareIndex: z.number(),
356+
unsignedJwt: z.string().optional(),
357357
signatureShare: BlsSignatureShareSchema,
358-
response: z.any(), // TODO
359-
logs: z.string().optional(), // any(),
358+
response: z.any().optional(), // TODO this depends on the type of operation that nodes do
359+
logs: z.string().optional(),
360360
});
361361

362362
export const AccessControlConditionsSchema = z.array(z.any()); // TODO AccessControlConditions

0 commit comments

Comments
 (0)