Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ethersproject/sha2

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/sha2 - npm Package Compare versions

Comparing version 5.0.0-beta.125 to 5.0.0-beta.126

2

_version.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc