File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11import { ed25519 } from "@noble/curves/ed25519.js" ;
22import { concatBytes , hexToBytes , numberToBytesBE } from "@noble/curves/utils.js" ;
33
4- import { getSecp256k1 , toBigIntBE } from "./helpers/common" ;
5- import { BigIntString , KeyType } from "./interfaces" ;
4+ import { getSecp256k1 } from "./helpers/common" ;
5+ import { KeyType } from "./interfaces" ;
66
77class Point {
88 x : bigint ;
@@ -11,9 +11,9 @@ class Point {
1111
1212 keyType : KeyType ;
1313
14- constructor ( x : BigIntString , y : BigIntString , keyType : KeyType ) {
15- this . x = toBigIntBE ( x ) ;
16- this . y = toBigIntBE ( y ) ;
14+ constructor ( x : bigint , y : bigint , keyType : KeyType ) {
15+ this . x = x ;
16+ this . y = y ;
1717 this . keyType = keyType ;
1818 }
1919
Original file line number Diff line number Diff line change @@ -224,8 +224,6 @@ export interface VerifierParams {
224224 extended_verifier_id ?: string ;
225225}
226226
227- export type BigIntString = string | bigint ;
228-
229227export type StringifiedType = Record < string , unknown > ;
230228
231229/** JSON shape returned by Share.toJSON() */
You can’t perform that action at this time.
0 commit comments