@ethersproject/bytes
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -1,1 +0,1 @@ | ||
export declare const version = "bytes/5.0.1"; | ||
export declare const version = "bytes/5.0.2"; |
@@ -1,1 +0,1 @@ | ||
export const version = "bytes/5.0.1"; | ||
export const version = "bytes/5.0.2"; |
@@ -273,4 +273,2 @@ "use strict"; | ||
result.v = bytes[64]; | ||
// Compute recoveryParam from v | ||
result.recoveryParam = 1 - (result.v % 2); | ||
// Allow a recid to be used as the v | ||
@@ -285,2 +283,4 @@ if (result.v < 27) { | ||
} | ||
// Compute recoveryParam from v | ||
result.recoveryParam = 1 - (result.v % 2); | ||
// Compute _vs from recoveryParam and s | ||
@@ -287,0 +287,0 @@ if (result.recoveryParam) { |
@@ -1,1 +0,1 @@ | ||
export declare const version = "bytes/5.0.1"; | ||
export declare const version = "bytes/5.0.2"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "bytes/5.0.1"; | ||
exports.version = "bytes/5.0.2"; |
@@ -288,4 +288,2 @@ "use strict"; | ||
result.v = bytes[64]; | ||
// Compute recoveryParam from v | ||
result.recoveryParam = 1 - (result.v % 2); | ||
// Allow a recid to be used as the v | ||
@@ -300,2 +298,4 @@ if (result.v < 27) { | ||
} | ||
// Compute recoveryParam from v | ||
result.recoveryParam = 1 - (result.v % 2); | ||
// Compute _vs from recoveryParam and s | ||
@@ -302,0 +302,0 @@ if (result.recoveryParam) { |
@@ -28,5 +28,5 @@ { | ||
}, | ||
"tarballHash": "0x38d537642ec1492da9037a0bace04ff260534dbc92f13c98e0c92d44a84611c8", | ||
"tarballHash": "0x1f1b5b80f2744d771fc150c14e25f62180f57396ca7728d60348e0a7ee980cc0", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.0.1" | ||
"version": "5.0.2" | ||
} |