@leather.io/models 0.25.1 → 0.26.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @leather.io/models@0.25.1 build /home/runner/work/mono/mono/packages/models
2
+ > @leather.io/models@0.26.0 build /home/runner/work/mono/mono/packages/models
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 11.88 KB
12
12
  ESM dist/index.js.map 25.30 KB
13
- ESM ⚡️ Build success in 22ms
13
+ ESM ⚡️ Build success in 16ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 1240ms
16
- DTS dist/index.d.ts 20.48 KB
15
+ DTS ⚡️ Build success in 1228ms
16
+ DTS dist/index.d.ts 20.45 KB
package/CHANGELOG.md CHANGED
@@ -24,6 +24,13 @@
24
24
  * devDependencies
25
25
  * @leather.io/eslint-config bumped to 0.7.0
26
26
 
27
+ ## [0.26.0](https://github.com/leather-io/mono/compare/@leather.io/models-v0.25.1...@leather.io/models-v0.26.0) (2025-02-17)
28
+
29
+
30
+ ### Features
31
+
32
+ * connect leather api client to backend ([bf94c84](https://github.com/leather-io/mono/commit/bf94c848c465f5f146fdc5508f14bb033b9dc829))
33
+
27
34
  ## [0.25.1](https://github.com/leather-io/mono/compare/@leather.io/models-v0.25.0...@leather.io/models-v0.25.1) (2025-02-03)
28
35
 
29
36
 
package/dist/index.d.ts CHANGED
@@ -549,7 +549,6 @@ interface UtxoId {
549
549
  }
550
550
  interface Utxo extends UtxoId {
551
551
  height?: number;
552
- confirmations?: number;
553
552
  address: string;
554
553
  path: string;
555
554
  value: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@leather.io/models",
3
3
  "author": "Leather.io contact@leather.io",
4
4
  "description": "Leather models and types",
5
- "version": "0.25.1",
5
+ "version": "0.26.0",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/leather-io/mono/tree/dev/packages/models",
8
8
  "repository": {
@@ -24,8 +24,8 @@
24
24
  "prettier": "3.3.3",
25
25
  "tsup": "8.1.0",
26
26
  "typescript": "5.5.4",
27
- "@leather.io/prettier-config": "0.6.0",
28
- "@leather.io/tsconfig-config": "0.6.0"
27
+ "@leather.io/tsconfig-config": "0.6.0",
28
+ "@leather.io/prettier-config": "0.6.0"
29
29
  },
30
30
  "keywords": [
31
31
  "leather",
package/src/utxo.model.ts CHANGED
@@ -4,8 +4,7 @@ export interface UtxoId {
4
4
  }
5
5
 
6
6
  export interface Utxo extends UtxoId {
7
- height?: number;
8
- confirmations?: number;
7
+ height?: number; // no height indicates unconfirmed tx
9
8
  address: string;
10
9
  path: string;
11
10
  value: string;