Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@celo/base

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/base - npm Package Compare versions

Comparing version
7.0.2
to
7.0.3-beta.0
+2
-2
lib/address.d.ts

@@ -11,8 +11,8 @@ /// <reference types="node" />

export declare const getAddressChunks: (input: string) => string[];
export declare const isHexString: (input: string) => boolean;
export declare const isHexString: (input: string) => input is `0x${string}`;
export declare const hexToBuffer: (input: string) => Buffer;
export declare const bufferToHex: (buf: Buffer) => `0x${string}`;
export declare const NULL_ADDRESS = "0x0000000000000000000000000000000000000000";
export declare const NULL_ADDRESS: `0x${string}`;
export declare const findAddressIndex: (address: Address, addresses: Address[]) => number;
export declare const mapAddressListOnto: (oldAddress: Address[], newAddress: Address[]) => any[];
export declare function mapAddressListDataOnto<T>(data: T[], oldAddress: Address[], newAddress: Address[], initialValue: T): T[];

@@ -7,1 +7,2 @@ export declare function appendPath(baseUrl: string, path: string): string;

};
export type HexString = `0x${string}`;
{
"name": "@celo/base",
"version": "7.0.2",
"version": "7.0.3-beta.0",
"description": "Celo base common utils, no dependencies",

@@ -21,3 +21,3 @@ "author": "Celo",

"docs": "yarn run --top-level typedoc",
"test": "yarn run --top-level jest --ci --forceExit",
"test": "yarn run --top-level jest",
"test:verbose": "yarn run --top-level jest --verbose",

@@ -34,5 +34,4 @@ "lint": "yarn run --top-level eslint -c .eslintrc.js "

"@noble/hashes": "1.3.3",
"bignumber.js": "^9.0.0",
"web3-utils": "1.10.4"
"bignumber.js": "^9.0.0"
}
}

Sorry, the diff of this file is not supported yet