@celo/base
Advanced tools
+2
-2
@@ -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[]; |
+1
-0
@@ -7,1 +7,2 @@ export declare function appendPath(baseUrl: string, path: string): string; | ||
| }; | ||
| export type HexString = `0x${string}`; |
+3
-4
| { | ||
| "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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5
-16.67%1122
0.09%72227
-0.02%1
Infinity%