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.126 to 5.0.0-beta.127

2

_version.d.ts

@@ -1,1 +0,1 @@

export declare const version = "5.0.0-beta.126";
export declare const version = "5.0.0-beta.127";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.126";
exports.version = "5.0.0-beta.127";
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var crypto_1 = require("crypto");
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;

@@ -33,3 +28,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: "computeHmac",

@@ -36,0 +31,0 @@ algorithm: algorithm

{
"name": "@ethersproject/sha2",
"version": "5.0.0-beta.126",
"version": "5.0.0-beta.127",
"description": "Error utility functions for ethers.",

@@ -24,3 +24,3 @@ "main": "index.js",

},
"tarballHash": "0xc92d2e95c42c5f2dd6b4bedb2b93cdc5239bf309c547382b9bada64860df5301"
"tarballHash": "0xa9993356699afdb770f47a55a8dd278064671152428243b9dd8d9db87de8076c"
}
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