diff --git a/docs/classes/av_client.AVClient.html b/docs/classes/av_client.AVClient.html index 06fde44c..9b3b635d 100644 --- a/docs/classes/av_client.AVClient.html +++ b/docs/classes/av_client.AVClient.html @@ -263,7 +263,7 @@
electionStatus.sessionCountdown.extendSeconds.
Returns undefined on success or throws an error.
-TypeError if called before voter registration (this.voterSession is undefined — the guard on line 628 dereferences it directly).
TypeError if called before voter registration (this.voterSession is undefined — the method dereferences it directly without a null check).
NetworkError if any request failed to get a response.
Encrypts the voter's ballot selections and submits them to the Digital Ballot Box.
Must be called after registerVoter (or diff --git a/docs/classes/av_verifier.AVVerifier.html b/docs/classes/av_verifier.AVVerifier.html index 4776dd8d..8ca3a83e 100644 --- a/docs/classes/av_verifier.AVVerifier.html +++ b/docs/classes/av_verifier.AVVerifier.html @@ -43,7 +43,7 @@
The 7-character Base58 pairing code derived from the verifier item's short address. Both the voter's app and this verifier should display this code so the voter can confirm they are paired with the correct device.
-NetworkError if any request failed to get a response.
+Decrypts the ballot and returns the original contest selections.
Synchronous. Uses the verifier's private key (generated in
submitVerifierKey) to decrypt both the voter and board
diff --git a/lib/av_client.ts b/lib/av_client.ts
index 9c51ba17..9f1ef2c1 100644
--- a/lib/av_client.ts
+++ b/lib/av_client.ts
@@ -622,7 +622,7 @@ export class AVClient implements IAVClient {
*
* @param extendedBy Number of **seconds** to extend the session by.
* @returns Returns undefined on success or throws an error.
- * @throws TypeError if called before voter registration (`this.voterSession` is undefined — the guard on line 628 dereferences it directly).
+ * @throws TypeError if called before voter registration (`this.voterSession` is undefined — the method dereferences it directly without a null check).
* @throws {@link NetworkError | NetworkError} if any request failed to get a response.
*/
public async extendVoterSessions(extendedBy: number): Promise
Number of seconds to extend the session by.