@pezkuwi/util 14.0.5 → 14.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/array/chunk.d.ts +1 -1
- package/array/filter.d.ts +1 -1
- package/array/flatten.d.ts +1 -1
- package/array/range.d.ts +1 -1
- package/assert.d.ts +1 -1
- package/bn/min.d.ts +2 -2
- package/bn/sqrt.d.ts +1 -1
- package/bn/toBn.d.ts +1 -1
- package/bn/toHex.d.ts +1 -1
- package/bn/toU8a.d.ts +1 -1
- package/buffer/toU8a.d.ts +1 -1
- package/{bundle-polkadot-util.js → bundle-pezkuwi-util.js} +5 -5
- package/cjs/array/chunk.d.ts +1 -1
- package/cjs/array/filter.d.ts +1 -1
- package/cjs/array/flatten.d.ts +1 -1
- package/cjs/array/range.d.ts +1 -1
- package/cjs/assert.d.ts +1 -1
- package/cjs/bn/min.d.ts +2 -2
- package/cjs/bn/sqrt.d.ts +1 -1
- package/cjs/bn/toBn.d.ts +1 -1
- package/cjs/bn/toHex.d.ts +1 -1
- package/cjs/bn/toU8a.d.ts +1 -1
- package/cjs/buffer/toU8a.d.ts +1 -1
- package/cjs/compact/addLength.d.ts +1 -1
- package/cjs/compact/fromU8a.d.ts +1 -1
- package/cjs/compact/stripLength.d.ts +1 -1
- package/cjs/compact/toU8a.d.ts +1 -1
- package/cjs/detectPackage.d.ts +1 -1
- package/cjs/extractTime.d.ts +1 -1
- package/cjs/hex/addPrefix.d.ts +1 -1
- package/cjs/hex/fixLength.d.ts +1 -1
- package/cjs/hex/hasPrefix.d.ts +1 -1
- package/cjs/hex/stripPrefix.d.ts +1 -1
- package/cjs/hex/toBn.d.ts +1 -1
- package/cjs/hex/toNumber.d.ts +1 -1
- package/cjs/hex/toString.d.ts +1 -1
- package/cjs/hex/toU8a.d.ts +1 -1
- package/cjs/hex/toU8aBuffer.d.ts +1 -1
- package/cjs/is/bigInt.d.ts +1 -1
- package/cjs/is/bn.d.ts +1 -1
- package/cjs/is/boolean.d.ts +1 -1
- package/cjs/is/buffer.d.ts +1 -1
- package/cjs/is/childClass.d.ts +1 -1
- package/cjs/is/error.d.ts +1 -1
- package/cjs/is/function.d.ts +1 -1
- package/cjs/is/hex.d.ts +1 -1
- package/cjs/is/instanceOf.d.ts +1 -1
- package/cjs/is/ip.d.ts +1 -1
- package/cjs/is/jsonObject.d.ts +1 -1
- package/cjs/is/null.d.ts +1 -1
- package/cjs/is/number.d.ts +1 -1
- package/cjs/is/object.d.ts +1 -1
- package/cjs/is/observable.d.ts +1 -1
- package/cjs/is/string.d.ts +1 -1
- package/cjs/is/u8a.d.ts +1 -1
- package/cjs/is/undefined.d.ts +1 -1
- package/cjs/logger.d.ts +1 -1
- package/cjs/number/toHex.d.ts +1 -1
- package/cjs/number/toU8a.d.ts +1 -1
- package/cjs/packageInfo.js +1 -1
- package/cjs/promisify.d.ts +1 -1
- package/cjs/string/lowerFirst.d.ts +2 -2
- package/cjs/string/shorten.d.ts +1 -1
- package/cjs/string/toHex.d.ts +1 -1
- package/cjs/string/toU8a.d.ts +1 -1
- package/cjs/u8a/cmp.d.ts +1 -1
- package/cjs/u8a/concat.d.ts +1 -1
- package/cjs/u8a/concatBuffer.d.ts +1 -1
- package/cjs/u8a/eq.d.ts +1 -1
- package/cjs/u8a/fixLength.d.ts +1 -1
- package/cjs/u8a/sorted.d.ts +1 -1
- package/cjs/u8a/toBn.d.ts +1 -1
- package/cjs/u8a/toBuffer.d.ts +1 -1
- package/cjs/u8a/toHex.d.ts +1 -1
- package/cjs/u8a/toHexBuffer.d.ts +1 -1
- package/cjs/u8a/toString.d.ts +1 -1
- package/cjs/u8a/toU8a.d.ts +1 -1
- package/compact/addLength.d.ts +1 -1
- package/compact/fromU8a.d.ts +1 -1
- package/compact/stripLength.d.ts +1 -1
- package/compact/toU8a.d.ts +1 -1
- package/detectPackage.d.ts +1 -1
- package/extractTime.d.ts +1 -1
- package/hex/addPrefix.d.ts +1 -1
- package/hex/fixLength.d.ts +1 -1
- package/hex/hasPrefix.d.ts +1 -1
- package/hex/stripPrefix.d.ts +1 -1
- package/hex/toBn.d.ts +1 -1
- package/hex/toNumber.d.ts +1 -1
- package/hex/toString.d.ts +1 -1
- package/hex/toU8a.d.ts +1 -1
- package/hex/toU8aBuffer.d.ts +1 -1
- package/is/bigInt.d.ts +1 -1
- package/is/bn.d.ts +1 -1
- package/is/boolean.d.ts +1 -1
- package/is/buffer.d.ts +1 -1
- package/is/childClass.d.ts +1 -1
- package/is/error.d.ts +1 -1
- package/is/function.d.ts +1 -1
- package/is/hex.d.ts +1 -1
- package/is/instanceOf.d.ts +1 -1
- package/is/ip.d.ts +1 -1
- package/is/jsonObject.d.ts +1 -1
- package/is/null.d.ts +1 -1
- package/is/number.d.ts +1 -1
- package/is/object.d.ts +1 -1
- package/is/observable.d.ts +1 -1
- package/is/string.d.ts +1 -1
- package/is/u8a.d.ts +1 -1
- package/is/undefined.d.ts +1 -1
- package/logger.d.ts +1 -1
- package/number/toHex.d.ts +1 -1
- package/number/toU8a.d.ts +1 -1
- package/package.json +9 -9
- package/packageInfo.js +1 -1
- package/promisify.d.ts +1 -1
- package/string/lowerFirst.d.ts +2 -2
- package/string/shorten.d.ts +1 -1
- package/string/toHex.d.ts +1 -1
- package/string/toU8a.d.ts +1 -1
- package/u8a/cmp.d.ts +1 -1
- package/u8a/concat.d.ts +1 -1
- package/u8a/concatBuffer.d.ts +1 -1
- package/u8a/eq.d.ts +1 -1
- package/u8a/fixLength.d.ts +1 -1
- package/u8a/sorted.d.ts +1 -1
- package/u8a/toBn.d.ts +1 -1
- package/u8a/toBuffer.d.ts +1 -1
- package/u8a/toHex.d.ts +1 -1
- package/u8a/toHexBuffer.d.ts +1 -1
- package/u8a/toString.d.ts +1 -1
- package/u8a/toU8a.d.ts +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @pezkuwi/util
|
|
2
2
|
|
|
3
|
-
Various useful utility functions that are used across all projects in the [@
|
|
3
|
+
Various useful utility functions that are used across all projects in the [@pezkuwi](https://pezkuwi.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
Installation -
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
yarn add @
|
|
10
|
+
yarn add @pezkuwi/util
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Functions can be imported directly from the package, e.g.
|
|
14
14
|
|
|
15
15
|
```js
|
|
16
|
-
import { isHex } from '@
|
|
16
|
+
import { isHex } from '@pezkuwi/util';
|
|
17
17
|
```
|
package/array/chunk.d.ts
CHANGED
package/array/filter.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* <BR>
|
|
8
8
|
*
|
|
9
9
|
* ```javascript
|
|
10
|
-
* import { arrayFilter } from '@
|
|
10
|
+
* import { arrayFilter } from '@pezkuwi/util';
|
|
11
11
|
*
|
|
12
12
|
* arrayFilter([0, void 0, true, null, false, '']); // [0, true, null, false, '']
|
|
13
13
|
* arrayFilter([0, void 0, true, null, false, ''], false); // [0, true, false, '']
|
package/array/flatten.d.ts
CHANGED
package/array/range.d.ts
CHANGED
package/assert.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type MessageFn = () => string;
|
|
|
8
8
|
* <BR>
|
|
9
9
|
*
|
|
10
10
|
* ```javascript
|
|
11
|
-
* const { assert } from '@
|
|
11
|
+
* const { assert } from '@pezkuwi/util';
|
|
12
12
|
*
|
|
13
13
|
* assert(true, 'True should be true'); // passes
|
|
14
14
|
* assert(false, 'False should not be true'); // Error thrown
|
package/bn/min.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { BN } from './bn.js';
|
|
|
7
7
|
*
|
|
8
8
|
* ```javascript
|
|
9
9
|
* import BN from 'bn.js';
|
|
10
|
-
* import { bnMax } from '@
|
|
10
|
+
* import { bnMax } from '@pezkuwi/util';
|
|
11
11
|
*
|
|
12
12
|
* bnMax([new BN(1), new BN(3), new BN(2)]).toString(); // => '3'
|
|
13
13
|
* ```
|
|
@@ -21,7 +21,7 @@ export declare const bnMax: (...items: BN[]) => BN;
|
|
|
21
21
|
*
|
|
22
22
|
* ```javascript
|
|
23
23
|
* import BN from 'bn.js';
|
|
24
|
-
* import { bnMin } from '@
|
|
24
|
+
* import { bnMin } from '@pezkuwi/util';
|
|
25
25
|
*
|
|
26
26
|
* bnMin([new BN(1), new BN(3), new BN(2)]).toString(); // => '1'
|
|
27
27
|
* ```
|
package/bn/sqrt.d.ts
CHANGED
package/bn/toBn.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { BN } from './bn.js';
|
|
|
10
10
|
*
|
|
11
11
|
* ```javascript
|
|
12
12
|
* import BN from 'bn.js';
|
|
13
|
-
* import { bnToBn } from '@
|
|
13
|
+
* import { bnToBn } from '@pezkuwi/util';
|
|
14
14
|
*
|
|
15
15
|
* bnToBn(0x1234); // => BN(0x1234)
|
|
16
16
|
* bnToBn(new BN(0x1234)); // => BN(0x1234)
|
package/bn/toHex.d.ts
CHANGED
package/bn/toU8a.d.ts
CHANGED
package/buffer/toU8a.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pezkuwiUtil = {}));
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const global = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : window;
|
|
8
8
|
|
|
9
9
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
10
|
-
const packageInfo$3 = { name: '@pezkuwi/util', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-
|
|
10
|
+
const packageInfo$3 = { name: '@pezkuwi/util', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.6' };
|
|
11
11
|
|
|
12
12
|
function arrayChunk(array, chunkSize) {
|
|
13
13
|
const outputSize = Math.ceil(array.length / chunkSize);
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
const nMax = createCmp((a, b) => a > b);
|
|
133
133
|
const nMin = createCmp((a, b) => a < b);
|
|
134
134
|
|
|
135
|
-
const packageInfo$2 = { name: '@pezkuwi/x-global', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-
|
|
135
|
+
const packageInfo$2 = { name: '@pezkuwi/x-global', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-util.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.6' };
|
|
136
136
|
|
|
137
137
|
function evaluateThis(fn) {
|
|
138
138
|
return fn('return this');
|
|
@@ -3121,7 +3121,7 @@
|
|
|
3121
3121
|
|
|
3122
3122
|
Object.defineProperty(packageInfo$1, "__esModule", { value: true });
|
|
3123
3123
|
packageInfo$1.packageInfo = void 0;
|
|
3124
|
-
packageInfo$1.packageInfo = { name: '@pezkuwi/x-textencoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.
|
|
3124
|
+
packageInfo$1.packageInfo = { name: '@pezkuwi/x-textencoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.6' };
|
|
3125
3125
|
|
|
3126
3126
|
(function (exports) {
|
|
3127
3127
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3429,7 +3429,7 @@
|
|
|
3429
3429
|
|
|
3430
3430
|
Object.defineProperty(packageInfo, "__esModule", { value: true });
|
|
3431
3431
|
packageInfo.packageInfo = void 0;
|
|
3432
|
-
packageInfo.packageInfo = { name: '@pezkuwi/x-textdecoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.
|
|
3432
|
+
packageInfo.packageInfo = { name: '@pezkuwi/x-textdecoder', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.6' };
|
|
3433
3433
|
|
|
3434
3434
|
(function (exports) {
|
|
3435
3435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/cjs/array/chunk.d.ts
CHANGED
package/cjs/array/filter.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* <BR>
|
|
8
8
|
*
|
|
9
9
|
* ```javascript
|
|
10
|
-
* import { arrayFilter } from '@
|
|
10
|
+
* import { arrayFilter } from '@pezkuwi/util';
|
|
11
11
|
*
|
|
12
12
|
* arrayFilter([0, void 0, true, null, false, '']); // [0, true, null, false, '']
|
|
13
13
|
* arrayFilter([0, void 0, true, null, false, ''], false); // [0, true, false, '']
|
package/cjs/array/flatten.d.ts
CHANGED
package/cjs/array/range.d.ts
CHANGED
package/cjs/assert.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type MessageFn = () => string;
|
|
|
8
8
|
* <BR>
|
|
9
9
|
*
|
|
10
10
|
* ```javascript
|
|
11
|
-
* const { assert } from '@
|
|
11
|
+
* const { assert } from '@pezkuwi/util';
|
|
12
12
|
*
|
|
13
13
|
* assert(true, 'True should be true'); // passes
|
|
14
14
|
* assert(false, 'False should not be true'); // Error thrown
|
package/cjs/bn/min.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { BN } from './bn.js';
|
|
|
7
7
|
*
|
|
8
8
|
* ```javascript
|
|
9
9
|
* import BN from 'bn.js';
|
|
10
|
-
* import { bnMax } from '@
|
|
10
|
+
* import { bnMax } from '@pezkuwi/util';
|
|
11
11
|
*
|
|
12
12
|
* bnMax([new BN(1), new BN(3), new BN(2)]).toString(); // => '3'
|
|
13
13
|
* ```
|
|
@@ -21,7 +21,7 @@ export declare const bnMax: (...items: BN[]) => BN;
|
|
|
21
21
|
*
|
|
22
22
|
* ```javascript
|
|
23
23
|
* import BN from 'bn.js';
|
|
24
|
-
* import { bnMin } from '@
|
|
24
|
+
* import { bnMin } from '@pezkuwi/util';
|
|
25
25
|
*
|
|
26
26
|
* bnMin([new BN(1), new BN(3), new BN(2)]).toString(); // => '1'
|
|
27
27
|
* ```
|
package/cjs/bn/sqrt.d.ts
CHANGED
package/cjs/bn/toBn.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { BN } from './bn.js';
|
|
|
10
10
|
*
|
|
11
11
|
* ```javascript
|
|
12
12
|
* import BN from 'bn.js';
|
|
13
|
-
* import { bnToBn } from '@
|
|
13
|
+
* import { bnToBn } from '@pezkuwi/util';
|
|
14
14
|
*
|
|
15
15
|
* bnToBn(0x1234); // => BN(0x1234)
|
|
16
16
|
* bnToBn(new BN(0x1234)); // => BN(0x1234)
|
package/cjs/bn/toHex.d.ts
CHANGED
package/cjs/bn/toU8a.d.ts
CHANGED
package/cjs/buffer/toU8a.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* <BR>
|
|
6
6
|
*
|
|
7
7
|
* ```javascript
|
|
8
|
-
* import { compactAddLength } from '@
|
|
8
|
+
* import { compactAddLength } from '@pezkuwi/util';
|
|
9
9
|
*
|
|
10
10
|
* console.log(compactAddLength(new Uint8Array([0xde, 0xad, 0xbe, 0xef]))); // Uint8Array([4 << 2, 0xde, 0xad, 0xbe, 0xef])
|
|
11
11
|
* ```
|
package/cjs/compact/fromU8a.d.ts
CHANGED
package/cjs/compact/toU8a.d.ts
CHANGED
package/cjs/detectPackage.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG = "POLKADOTJS_DISAB
|
|
|
11
11
|
/**
|
|
12
12
|
* @name detectPackage
|
|
13
13
|
* @summary Checks that a specific package is only imported once
|
|
14
|
-
* @description A `@
|
|
14
|
+
* @description A `@pezkuwi/*` version detection utility, checking for one occurrence of a package in addition to checking for dependency versions.
|
|
15
15
|
*/
|
|
16
16
|
export declare function detectPackage({ name, path, type, version }: PackageInfo, pathOrFn?: FnString | string | false | null, deps?: PackageInfo[]): void;
|
|
17
17
|
export {};
|
package/cjs/extractTime.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { Time } from './types.js';
|
|
|
6
6
|
* <BR>
|
|
7
7
|
*
|
|
8
8
|
* ```javascript
|
|
9
|
-
* import { extractTime } from '@
|
|
9
|
+
* import { extractTime } from '@pezkuwi/util';
|
|
10
10
|
*
|
|
11
11
|
* const { days, minutes, hours, seconds, milliseconds } = extractTime(6000); // 0, 0, 10, 0, 0
|
|
12
12
|
* ```
|
package/cjs/hex/addPrefix.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { HexString } from '../types.js';
|
|
|
8
8
|
* <BR>
|
|
9
9
|
*
|
|
10
10
|
* ```javascript
|
|
11
|
-
* import { hexAddPrefix } from '@
|
|
11
|
+
* import { hexAddPrefix } from '@pezkuwi/util';
|
|
12
12
|
*
|
|
13
13
|
* console.log('With prefix', hexAddPrefix('0a0b12')); // => 0x0a0b12
|
|
14
14
|
* ```
|
package/cjs/hex/fixLength.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { HexString } from '../types.js';
|
|
|
8
8
|
* <BR>
|
|
9
9
|
*
|
|
10
10
|
* ```javascript
|
|
11
|
-
* import { hexFixLength } from '@
|
|
11
|
+
* import { hexFixLength } from '@pezkuwi/util';
|
|
12
12
|
*
|
|
13
13
|
* console.log('fixed', hexFixLength('0x12', 16)); // => 0x12
|
|
14
14
|
* console.log('fixed', hexFixLength('0x12', 16, true)); // => 0x0012
|
package/cjs/hex/hasPrefix.d.ts
CHANGED
package/cjs/hex/stripPrefix.d.ts
CHANGED
package/cjs/hex/toBn.d.ts
CHANGED
package/cjs/hex/toNumber.d.ts
CHANGED
package/cjs/hex/toString.d.ts
CHANGED
package/cjs/hex/toU8a.d.ts
CHANGED
package/cjs/hex/toU8aBuffer.d.ts
CHANGED
package/cjs/is/bigInt.d.ts
CHANGED
package/cjs/is/bn.d.ts
CHANGED
package/cjs/is/boolean.d.ts
CHANGED
package/cjs/is/buffer.d.ts
CHANGED
package/cjs/is/childClass.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { Class } from '../types.js';
|
|
|
8
8
|
* <BR>
|
|
9
9
|
*
|
|
10
10
|
* ```javascript
|
|
11
|
-
* import { isChildClass } from '@
|
|
11
|
+
* import { isChildClass } from '@pezkuwi/util';
|
|
12
12
|
*
|
|
13
13
|
* console.log('isChildClass', isChildClass(BN, BN); // => true
|
|
14
14
|
* console.log('isChildClass', isChildClass(BN, Uint8Array); // => false
|
package/cjs/is/error.d.ts
CHANGED
package/cjs/is/function.d.ts
CHANGED
package/cjs/is/hex.d.ts
CHANGED
package/cjs/is/instanceOf.d.ts
CHANGED
package/cjs/is/ip.d.ts
CHANGED
package/cjs/is/jsonObject.d.ts
CHANGED
package/cjs/is/null.d.ts
CHANGED
package/cjs/is/number.d.ts
CHANGED
package/cjs/is/object.d.ts
CHANGED
package/cjs/is/observable.d.ts
CHANGED
package/cjs/is/string.d.ts
CHANGED