New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fuel-ts/abi-coder

Package Overview
Dependencies
Maintainers
4
Versions
3314
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fuel-ts/abi-coder - npm Package Compare versions

Comparing version 0.0.0-ffaf915 to 0.0.0-master-46f8ae5

6

dist/coders/utilities.d.ts
import type { BigNumberish } from '@ethersproject/bignumber';
/**
* Convert value to a Byte Array
*/
export declare function getBytes(value: BigNumberish): Uint8Array;
/**
* Pad a bytes array depending on word size
*/
export declare function pad(bytes: Uint8Array, wordSize: number): Uint8Array;

@@ -4,0 +10,0 @@ declare const _default: {

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

const logger = new logger_1.Logger('0.0.1');
/**
* Convert value to a Byte Array
*/
function getBytes(value) {

@@ -13,2 +16,5 @@ return (0, bytes_1.arrayify)(bignumber_1.BigNumber.from(value));

exports.getBytes = getBytes;
/**
* Pad a bytes array depending on word size
*/
function pad(bytes, wordSize) {

@@ -15,0 +21,0 @@ const PADDING = new Uint8Array(wordSize);

4

package.json
{
"name": "@fuel-ts/abi-coder",
"version": "0.0.0-ffaf915",
"version": "0.0.0-master-46f8ae5",
"description": "",

@@ -19,3 +19,3 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.sh/)",

},
"gitHead": "42471dfe63aa99f32525211d87bf71c176261750"
"gitHead": "e7e4b5ede9730ff47c2bd3ad9defebb2169c0bb4"
}

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