@leather.io/utils 0.12.1 → 0.13.0
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +24 -0
- package/dist/index.d.ts +1 -1
- package/package.json +9 -9
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @leather.io/utils@0.
|
|
2
|
+
> @leather.io/utils@0.13.0 build /home/runner/work/mono/mono/packages/utils
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -10,7 +10,7 @@ CLI Target: es2022
|
|
|
10
10
|
ESM Build start
|
|
11
11
|
ESM dist/index.js 14.06 KB
|
|
12
12
|
ESM dist/index.js.map 27.14 KB
|
|
13
|
-
ESM ⚡️ Build success in
|
|
13
|
+
ESM ⚡️ Build success in 20ms
|
|
14
14
|
DTS Build start
|
|
15
|
-
DTS ⚡️ Build success in
|
|
16
|
-
DTS dist/index.d.ts 6.
|
|
15
|
+
DTS ⚡️ Build success in 1784ms
|
|
16
|
+
DTS dist/index.d.ts 6.86 KB
|
package/CHANGELOG.md
CHANGED
|
@@ -72,6 +72,30 @@
|
|
|
72
72
|
* @leather.io/models bumped to 0.11.0
|
|
73
73
|
* @leather.io/rpc bumped to 2.1.2
|
|
74
74
|
|
|
75
|
+
## [0.13.0](https://github.com/leather-io/mono/compare/@leather.io/utils-v0.12.1...@leather.io/utils-v0.13.0) (2024-08-15)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* upgrade pkgs ([c091981](https://github.com/leather-io/mono/commit/c09198150ed429989d920d6350ad43d0ff4cfe5c))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* husky for commitlint only ([ce93a4b](https://github.com/leather-io/mono/commit/ce93a4bc95fbb5128288558ffbeebfccfded38ef))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Dependencies
|
|
89
|
+
|
|
90
|
+
* The following workspace dependencies were updated
|
|
91
|
+
* dependencies
|
|
92
|
+
* @leather.io/constants bumped to 0.9.0
|
|
93
|
+
* @leather.io/models bumped to 0.12.0
|
|
94
|
+
* @leather.io/rpc bumped to 2.1.4
|
|
95
|
+
* devDependencies
|
|
96
|
+
* @leather.io/prettier-config bumped to 0.6.0
|
|
97
|
+
* @leather.io/tsconfig-config bumped to 0.6.0
|
|
98
|
+
|
|
75
99
|
## [0.12.1](https://github.com/leather-io/mono/compare/@leather.io/utils-v0.12.0...@leather.io/utils-v0.12.1) (2024-08-14)
|
|
76
100
|
|
|
77
101
|
|
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ declare function noop(): void;
|
|
|
83
83
|
declare function ensureArray<T>(value: T | T[]): T[];
|
|
84
84
|
declare function undefinedIfLengthZero<T extends any[]>(arr: T): T | undefined;
|
|
85
85
|
type NetworkMap<T> = Record<NetworkModes, T>;
|
|
86
|
-
declare function whenNetwork(mode: NetworkModes): <T extends NetworkMap<unknown>>(networkMap: T) => T[
|
|
86
|
+
declare function whenNetwork(mode: NetworkModes): <T extends NetworkMap<unknown>>(networkMap: T) => T[NetworkModes];
|
|
87
87
|
declare function isEmptyArray(data: unknown[]): boolean;
|
|
88
88
|
declare const defaultWalletKeyId: "default";
|
|
89
89
|
declare function reverseBytes(bytes: Buffer): Buffer;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@leather.io/utils",
|
|
3
3
|
"author": "Leather.io contact@leather.io",
|
|
4
4
|
"description": "Shared bitcoin utilities",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.13.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/leather-io/mono/tree/dev/packages/utils",
|
|
8
8
|
"repository": {
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
"bugs": "https://github.com/leather-io/mono/issues",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bignumber.js": "9.1.2",
|
|
20
|
-
"@leather.io/constants": "0.
|
|
21
|
-
"@leather.io/
|
|
22
|
-
"@leather.io/
|
|
20
|
+
"@leather.io/constants": "0.9.0",
|
|
21
|
+
"@leather.io/rpc": "2.1.4",
|
|
22
|
+
"@leather.io/models": "0.12.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitest/coverage-istanbul": "0.34.6",
|
|
26
26
|
"eslint": "8.53.0",
|
|
27
|
-
"prettier": "3.3.
|
|
27
|
+
"prettier": "3.3.3",
|
|
28
28
|
"tsup": "8.1.0",
|
|
29
|
-
"typescript": "5.4
|
|
30
|
-
"vitest": "2.0.
|
|
29
|
+
"typescript": "5.5.4",
|
|
30
|
+
"vitest": "2.0.5",
|
|
31
31
|
"@leather.io/eslint-config": "0.6.1",
|
|
32
|
-
"@leather.io/
|
|
33
|
-
"@leather.io/
|
|
32
|
+
"@leather.io/prettier-config": "0.6.0",
|
|
33
|
+
"@leather.io/tsconfig-config": "0.6.0"
|
|
34
34
|
},
|
|
35
35
|
"keywords": [
|
|
36
36
|
"leather",
|