@pezkuwi/util-crypto 14.0.11 → 14.0.13

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.
@@ -17,4 +17,4 @@ export declare function blake2AsU8a(data: string | Uint8Array, bitLength?: 64 |
17
17
  * @name blake2AsHex
18
18
  * @description Creates a blake2b hex from the input.
19
19
  */
20
- export declare const blake2AsHex: (data: string | Uint8Array, bitLength?: 256 | 512 | 64 | 128 | 384 | undefined, key?: Uint8Array | null | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
20
+ export declare const blake2AsHex: (data: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | 64 | 128 | 384 | undefined, key?: Uint8Array<ArrayBufferLike> | null | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -27,4 +27,4 @@ export declare const keccak512AsU8a: (data: string | Uint8Array, onlyJs?: boolea
27
27
  * @name keccakAsHex
28
28
  * @description Creates a keccak hex string from the input.
29
29
  */
30
- export declare const keccakAsHex: (value: string | Uint8Array, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
30
+ export declare const keccakAsHex: (value: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@pezkuwi/util-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
4
+ exports.packageInfo = { name: '@pezkuwi/util-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.13' };
@@ -4,5 +4,5 @@ interface Result {
4
4
  password: Uint8Array;
5
5
  salt: Uint8Array;
6
6
  }
7
- export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array, params?: ScryptParams, onlyJs?: boolean): Result;
7
+ export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array<ArrayBufferLike>, params?: ScryptParams, onlyJs?: boolean): Result;
8
8
  export {};
@@ -17,4 +17,4 @@ export declare function xxhashAsU8a(data: string | Uint8Array, bitLength?: 64 |
17
17
  * @name xxhashAsHex
18
18
  * @description Creates a xxhash64 hex from the input.
19
19
  */
20
- export declare const xxhashAsHex: (data: string | Uint8Array, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
20
+ export declare const xxhashAsHex: (data: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -27,4 +27,4 @@ export declare const keccak512AsU8a: (data: string | Uint8Array, onlyJs?: boolea
27
27
  * @name keccakAsHex
28
28
  * @description Creates a keccak hex string from the input.
29
29
  */
30
- export declare const keccakAsHex: (value: string | Uint8Array, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
30
+ export declare const keccakAsHex: (value: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -1,5 +1,5 @@
1
1
  {
2
- "author": "Pezkuwi Team <team@pezkuwichain.app>",
2
+ "author": "Dijital Kurdistan Tech Institute <dev@pezkuwichain.io>",
3
3
  "bugs": "https://github.com/pezkuwichain/pezkuwi-common/issues",
4
4
  "description": "A collection of useful crypto utilities for @pezkuwi",
5
5
  "engines": {
@@ -20,14 +20,14 @@
20
20
  "./cjs/packageDetect.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "14.0.10",
23
+ "version": "14.0.13",
24
24
  "main": "./cjs/index.js",
25
- "module": "./index.js",
25
+ "module": "./cjs/index.js",
26
26
  "browser": {
27
27
  "crypto": false,
28
28
  "stream": false
29
29
  },
30
- "types": "./index.d.ts",
30
+ "types": "./cjs/index.d.ts",
31
31
  "exports": {
32
32
  "./cjs/package.json": "./cjs/package.json",
33
33
  "./cjs/*": "./cjs/*.js",
@@ -2041,17 +2041,17 @@
2041
2041
  "dependencies": {
2042
2042
  "@noble/curves": "^1.3.0",
2043
2043
  "@noble/hashes": "^1.3.3",
2044
- "@pezkuwi/networks": "workspace:*",
2045
- "@pezkuwi/util": "workspace:*",
2044
+ "@pezkuwi/networks": "14.0.12",
2045
+ "@pezkuwi/util": "14.0.12",
2046
2046
  "@pezkuwi/wasm-crypto": "^7.5.4",
2047
2047
  "@pezkuwi/wasm-util": "^7.5.4",
2048
- "@pezkuwi/x-bigint": "workspace:*",
2049
- "@pezkuwi/x-randomvalues": "workspace:*",
2048
+ "@pezkuwi/x-bigint": "14.0.12",
2049
+ "@pezkuwi/x-randomvalues": "14.0.12",
2050
2050
  "@scure/base": "^1.1.7",
2051
2051
  "@scure/sr25519": "^0.2.0",
2052
2052
  "tslib": "^2.8.0"
2053
2053
  },
2054
2054
  "peerDependencies": {
2055
- "@pezkuwi/util": "workspace:*"
2055
+ "@pezkuwi/util": "14.0.12"
2056
2056
  }
2057
2057
  }
@@ -1 +1 @@
1
- export const packageInfo = { name: '@pezkuwi/util-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.10' };
1
+ export const packageInfo = { name: '@pezkuwi/util-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.13' };
@@ -4,5 +4,5 @@ interface Result {
4
4
  password: Uint8Array;
5
5
  salt: Uint8Array;
6
6
  }
7
- export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array, params?: ScryptParams, onlyJs?: boolean): Result;
7
+ export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array<ArrayBufferLike>, params?: ScryptParams, onlyJs?: boolean): Result;
8
8
  export {};
@@ -17,4 +17,4 @@ export declare function xxhashAsU8a(data: string | Uint8Array, bitLength?: 64 |
17
17
  * @name xxhashAsHex
18
18
  * @description Creates a xxhash64 hex from the input.
19
19
  */
20
- export declare const xxhashAsHex: (data: string | Uint8Array, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
20
+ export declare const xxhashAsHex: (data: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -1,3 +1,3 @@
1
1
 
2
2
 
3
- export const packageInfo = { name: '@pezkuwi/util-crypto', path: new URL(import.meta.url).pathname, type: 'deno', version: '14.0.10' };
3
+ export const packageInfo = { name: '@pezkuwi/util-crypto', path: new URL(import.meta.url).pathname, type: 'deno', version: '14.0.13' };
@@ -17,4 +17,4 @@ export declare function blake2AsU8a(data: string | Uint8Array, bitLength?: 64 |
17
17
  * @name blake2AsHex
18
18
  * @description Creates a blake2b hex from the input.
19
19
  */
20
- export declare const blake2AsHex: (data: string | Uint8Array, bitLength?: 256 | 512 | 64 | 128 | 384 | undefined, key?: Uint8Array | null | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
20
+ export declare const blake2AsHex: (data: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | 64 | 128 | 384 | undefined, key?: Uint8Array<ArrayBufferLike> | null | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -27,4 +27,4 @@ export declare const keccak512AsU8a: (data: string | Uint8Array, onlyJs?: boolea
27
27
  * @name keccakAsHex
28
28
  * @description Creates a keccak hex string from the input.
29
29
  */
30
- export declare const keccakAsHex: (value: string | Uint8Array, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
30
+ export declare const keccakAsHex: (value: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -4,5 +4,5 @@ interface Result {
4
4
  password: Uint8Array;
5
5
  salt: Uint8Array;
6
6
  }
7
- export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array, params?: ScryptParams, onlyJs?: boolean): Result;
7
+ export declare function scryptEncode(passphrase?: string | Uint8Array, salt?: Uint8Array<ArrayBufferLike>, params?: ScryptParams, onlyJs?: boolean): Result;
8
8
  export {};
@@ -17,4 +17,4 @@ export declare function xxhashAsU8a(data: string | Uint8Array, bitLength?: 64 |
17
17
  * @name xxhashAsHex
18
18
  * @description Creates a xxhash64 hex from the input.
19
19
  */
20
- export declare const xxhashAsHex: (data: string | Uint8Array, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
20
+ export declare const xxhashAsHex: (data: string | Uint8Array<ArrayBufferLike>, bitLength?: 256 | 512 | 64 | 128 | 384 | 320 | 192 | 448 | undefined, onlyJs?: boolean | undefined) => import("@pezkuwi/util/types").HexString;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@pezkuwi/util-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
4
+ exports.packageInfo = { name: '@pezkuwi/util-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.13' };
@@ -1 +1 @@
1
- export const packageInfo = { name: '@pezkuwi/util-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.10' };
1
+ export const packageInfo = { name: '@pezkuwi/util-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.13' };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "author": "Pezkuwi Team <team@pezkuwichain.app>",
2
+ "author": "Dijital Kurdistan Tech Institute <dev@pezkuwichain.io>",
3
3
  "bugs": "https://github.com/pezkuwichain/pezkuwi-common/issues",
4
4
  "description": "A collection of useful crypto utilities for @pezkuwi",
5
5
  "engines": {
@@ -20,17 +20,15 @@
20
20
  "./cjs/packageDetect.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "14.0.11",
24
- "main": "./cjs/index.js",
25
- "module": "./index.js",
23
+ "types": "./index.d.ts",
24
+ "version": "14.0.13",
26
25
  "browser": {
27
26
  "crypto": false,
28
27
  "stream": false
29
28
  },
30
- "types": "./index.d.ts",
29
+ "main": "./cjs/index.js",
30
+ "module": "./index.js",
31
31
  "exports": {
32
- "./cjs/package.json": "./cjs/package.json",
33
- "./cjs/*": "./cjs/*.js",
34
32
  ".": {
35
33
  "module": {
36
34
  "types": "./index.d.ts",
@@ -535,6 +533,8 @@
535
533
  "default": "./bundleInit.js"
536
534
  }
537
535
  },
536
+ "./cjs/*": "./cjs/*.js",
537
+ "./cjs/package.json": "./cjs/package.json",
538
538
  "./crypto": {
539
539
  "module": {
540
540
  "types": "./crypto.d.ts",
@@ -1407,7 +1407,7 @@
1407
1407
  "default": "./packageDetect.js"
1408
1408
  }
1409
1409
  },
1410
- "./packageInfo.js": {
1410
+ "./packageInfo": {
1411
1411
  "module": {
1412
1412
  "types": "./packageInfo.d.ts",
1413
1413
  "default": "./packageInfo.js"
@@ -1421,7 +1421,7 @@
1421
1421
  "default": "./packageInfo.js"
1422
1422
  }
1423
1423
  },
1424
- "./packageInfo": {
1424
+ "./packageInfo.js": {
1425
1425
  "module": {
1426
1426
  "types": "./packageInfo.d.ts",
1427
1427
  "default": "./packageInfo.js"
@@ -2041,17 +2041,17 @@
2041
2041
  "dependencies": {
2042
2042
  "@noble/curves": "^1.3.0",
2043
2043
  "@noble/hashes": "^1.3.3",
2044
- "@pezkuwi/networks": "14.0.11",
2045
- "@pezkuwi/util": "14.0.11",
2044
+ "@pezkuwi/networks": "14.0.12",
2045
+ "@pezkuwi/util": "14.0.12",
2046
2046
  "@pezkuwi/wasm-crypto": "^7.5.4",
2047
2047
  "@pezkuwi/wasm-util": "^7.5.4",
2048
- "@pezkuwi/x-bigint": "14.0.11",
2049
- "@pezkuwi/x-randomvalues": "14.0.11",
2048
+ "@pezkuwi/x-bigint": "14.0.12",
2049
+ "@pezkuwi/x-randomvalues": "14.0.12",
2050
2050
  "@scure/base": "^1.1.7",
2051
2051
  "@scure/sr25519": "^0.2.0",
2052
2052
  "tslib": "^2.8.0"
2053
2053
  },
2054
2054
  "peerDependencies": {
2055
- "@pezkuwi/util": "14.0.11"
2055
+ "@pezkuwi/util": "14.0.12"
2056
2056
  }
2057
2057
  }
@@ -3,4 +3,4 @@
3
3
 
4
4
  // Do not edit, auto-generated by @pezkuwi/dev
5
5
 
6
- export const packageInfo = { name: '@pezkuwi/util-crypto', path: 'auto', type: 'auto', version: '14.0.10' };
6
+ export const packageInfo = { name: '@pezkuwi/util-crypto', path: 'auto', type: 'auto', version: '14.0.13' };