Skip to content

Commit 0e20c68

Browse files
authored
docs(identity): correct @returns to bigint for secretScalar and commitment (#1028)
1 parent e1e8930 commit 0e20c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/identity/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class Identity {
6262

6363
/**
6464
* Returns the secret scalar.
65-
* @returns The secret scalar as a string.
65+
* @returns The secret scalar as a bigint.
6666
*/
6767
public get secretScalar(): bigint {
6868
return this._secretScalar
@@ -78,7 +78,7 @@ export class Identity {
7878

7979
/**
8080
* Returns the commitment hash of the public key.
81-
* @returns The commitment as a string.
81+
* @returns The commitment as a bigint.
8282
*/
8383
public get commitment(): bigint {
8484
return this._commitment

0 commit comments

Comments
 (0)