@ethersproject/sha2
Advanced tools
Comparing version 5.0.0-beta.125 to 5.0.0-beta.126
@@ -1,1 +0,1 @@ | ||
export declare const version = "5.0.0-beta.125"; | ||
export declare const version = "5.0.0-beta.126"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "5.0.0-beta.125"; | ||
exports.version = "5.0.0-beta.126"; |
@@ -12,3 +12,5 @@ "use strict"; | ||
var bytes_1 = require("@ethersproject/bytes"); | ||
var errors = __importStar(require("@ethersproject/errors")); | ||
var logger_1 = require("@ethersproject/logger"); | ||
var _version_1 = require("./_version"); | ||
var logger = new logger_1.Logger(_version_1.version); | ||
var SupportedAlgorithms; | ||
@@ -34,3 +36,3 @@ (function (SupportedAlgorithms) { | ||
if (!SupportedAlgorithms[algorithm]) { | ||
errors.throwError("unsupported algorithm " + algorithm, errors.UNSUPPORTED_OPERATION, { | ||
logger.throwError("unsupported algorithm " + algorithm, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { | ||
operation: "hmac", | ||
@@ -37,0 +39,0 @@ algorithm: algorithm |
{ | ||
"name": "@ethersproject/sha2", | ||
"version": "5.0.0-beta.125", | ||
"version": "5.0.0-beta.126", | ||
"description": "Error utility functions for ethers.", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"@ethersproject/bytes": ">5.0.0-beta.0", | ||
"@ethersproject/errors": ">5.0.0-beta.0", | ||
"@ethersproject/logger": ">5.0.0-beta.0", | ||
"hash.js": "1.1.3" | ||
@@ -25,3 +25,3 @@ }, | ||
}, | ||
"tarballHash": "0x8e659ff95eb66e4958aebbf167c6c1ea4130b70d19f9081b986228be7ed1f05b" | ||
"tarballHash": "0xc92d2e95c42c5f2dd6b4bedb2b93cdc5239bf309c547382b9bada64860df5301" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6733
116
- Removed@ethersproject/errors@>5.0.0-beta.0
- Removed@ethersproject/errors@5.0.1(transitive)