Skip to content

Commit 3a797ca

Browse files
committed
CI: attest standalone build files. Bump devdeps.
1 parent fb05886 commit 3a797ca

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ declare const getPublicKey: (privKey: PrivKey, isCompressed?: boolean) => Bytes;
7878
declare class Signature {
7979
readonly r: bigint;
8080
readonly s: bigint;
81-
readonly recovery?: number | undefined;
82-
constructor(r: bigint, s: bigint, recovery?: number | undefined);
81+
readonly recovery?: number;
82+
constructor(r: bigint, s: bigint, recovery?: number);
8383
/** Create signature from 64b compact (r || s) representation. */
8484
static fromCompact(hex: Hex): Signature;
8585
assertValidity(): Signature;

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ class Signature {
264264
constructor(r, s, recovery) {
265265
this.r = r;
266266
this.s = s;
267-
this.recovery = recovery;
267+
if (recovery != null)
268+
this.recovery = recovery;
268269
this.assertValidity(); // recovery bit is optional when
269270
Object.freeze(this);
270271
} // constructed outside.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"fast-check": "3.0.0",
3838
"micro-bmark": "0.4.0",
3939
"micro-should": "0.5.1",
40-
"typescript": "5.5.2"
40+
"typescript": "5.8.2"
4141
},
4242
"keywords": [
4343
"secp256k1",

0 commit comments

Comments
 (0)