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

@ethereumjs/util

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethereumjs/util - npm Package Compare versions

Comparing version 8.0.2 to 8.0.3

dist/withdrawal.d.ts

3

dist/address.d.ts
/// <reference types="node" />
/**
* Handling and generating Ethereum addresses
*/
export declare class Address {

@@ -3,0 +6,0 @@ readonly buf: Buffer;

@@ -6,2 +6,5 @@ "use strict";

const bytes_1 = require("./bytes");
/**
* Handling and generating Ethereum addresses
*/
class Address {

@@ -8,0 +11,0 @@ constructor(buf) {

@@ -166,2 +166,3 @@ /// <reference types="node" />

export declare function bigIntToUnpaddedBuffer(value: bigint): Buffer;
export declare function intToUnpaddedBuffer(value: number): Buffer;
//# sourceMappingURL=bytes.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bigIntToUnpaddedBuffer = exports.bigIntToHex = exports.bufArrToArr = exports.arrToBufArr = exports.validateNoLeadingZeroes = exports.baToJSON = exports.toUtf8 = exports.short = exports.addHexPrefix = exports.toUnsigned = exports.fromSigned = exports.bufferToInt = exports.bigIntToBuffer = exports.bufferToBigInt = exports.bufferToHex = exports.toBuffer = exports.unpadHexString = exports.unpadArray = exports.unpadBuffer = exports.setLengthRight = exports.setLengthLeft = exports.zeros = exports.intToBuffer = exports.intToHex = void 0;
exports.intToUnpaddedBuffer = exports.bigIntToUnpaddedBuffer = exports.bigIntToHex = exports.bufArrToArr = exports.arrToBufArr = exports.validateNoLeadingZeroes = exports.baToJSON = exports.toUtf8 = exports.short = exports.addHexPrefix = exports.toUnsigned = exports.fromSigned = exports.bufferToInt = exports.bigIntToBuffer = exports.bufferToBigInt = exports.bufferToHex = exports.toBuffer = exports.unpadHexString = exports.unpadArray = exports.unpadBuffer = exports.setLengthRight = exports.setLengthLeft = exports.zeros = exports.intToBuffer = exports.intToHex = void 0;
const helpers_1 = require("./helpers");

@@ -350,2 +350,6 @@ const internal_1 = require("./internal");

exports.bigIntToUnpaddedBuffer = bigIntToUnpaddedBuffer;
function intToUnpaddedBuffer(value) {
return (0, exports.unpadBuffer)((0, exports.intToBuffer)(value));
}
exports.intToUnpaddedBuffer = intToUnpaddedBuffer;
//# sourceMappingURL=bytes.js.map

@@ -14,2 +14,6 @@ /**

/**
* Withdrawal type
*/
export * from './withdrawal';
/**
* ECDSA signature

@@ -16,0 +20,0 @@ */

@@ -31,2 +31,6 @@ "use strict";

/**
* Withdrawal type
*/
__exportStar(require("./withdrawal"), exports);
/**
* ECDSA signature

@@ -33,0 +37,0 @@ */

2

package.json
{
"name": "@ethereumjs/util",
"version": "8.0.2",
"version": "8.0.3",
"description": "A collection of utility functions for Ethereum",

@@ -5,0 +5,0 @@ "keywords": [

@@ -10,2 +10,5 @@ import {

/**
* Handling and generating Ethereum addresses
*/
export class Address {

@@ -12,0 +15,0 @@ public readonly buf: Buffer

@@ -389,1 +389,5 @@ import { assertIsArray, assertIsBuffer, assertIsHexString } from './helpers'

}
export function intToUnpaddedBuffer(value: number): Buffer {
return unpadBuffer(intToBuffer(value))
}

@@ -17,2 +17,7 @@ /**

/**
* Withdrawal type
*/
export * from './withdrawal'
/**
* ECDSA signature

@@ -19,0 +24,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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