@atomicfinance/types 3.4.0 → 3.4.2

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 +1 @@
1
- @atomicfinance/types:build: cache hit, replaying output abef473e746245a8
1
+ @atomicfinance/types:build: cache hit, replaying output 0b7661934c6d8d88
@@ -1 +1 @@
1
- @atomicfinance/types:test: cache hit, replaying output ff4605f995d2ad7d
1
+ @atomicfinance/types:test: cache hit, replaying output b3e4f8af4d2d17c4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atomicfinance/types
2
2
 
3
+ ## 3.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e701ba6: Bump node-dlc- to 0.23.1 and add node-dlc batch tx builder validation tests
8
+
9
+ ## 3.4.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 9781efe: Add getInputsForDualFunding functionality and bump @node-dlc
14
+
3
15
  ## 3.4.0
4
16
 
5
17
  ### Minor Changes
package/dist/dlc.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Tx } from '@node-lightning/bitcoin';
4
4
  import { TxOutRequest } from './common';
5
5
  import Input from './models/Input';
6
6
  export interface DlcProvider {
7
- GetInputsForAmount(amount: bigint, feeRatePerVb: bigint, fixedInputs: Input[]): Promise<Input[]>;
7
+ GetInputsForAmount(amounts: bigint[], feeRatePerVb: bigint, fixedInputs: Input[]): Promise<Input[]>;
8
8
  /**
9
9
  * Check whether wallet is offerer of DlcOffer or DlcAccept
10
10
  * @param dlcOffer Dlc Offer Message
package/lib/dlc.ts CHANGED
@@ -20,7 +20,7 @@ import Input from './models/Input';
20
20
 
21
21
  export interface DlcProvider {
22
22
  GetInputsForAmount(
23
- amount: bigint,
23
+ amounts: bigint[],
24
24
  feeRatePerVb: bigint,
25
25
  fixedInputs: Input[],
26
26
  ): Promise<Input[]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicfinance/types",
3
3
  "umdName": "Types",
4
- "version": "3.4.0",
4
+ "version": "3.4.2",
5
5
  "description": "Bitcoin Abstraction Layer Types",
6
6
  "author": "Atomic Finance <info@atomic.finance>",
7
7
  "homepage": "",
@@ -15,7 +15,7 @@
15
15
  "lint:fix": "../../node_modules/.bin/eslint --fix --ignore-path ../../.eslintignore -c ../../.eslintrc.js ."
16
16
  },
17
17
  "dependencies": {
18
- "@node-dlc/messaging": "0.22.4",
18
+ "@node-dlc/messaging": "0.23.1",
19
19
  "@node-lightning/bitcoin": "0.26.1",
20
20
  "@node-lightning/noise": "0.26.1",
21
21
  "lodash": "^4.17.20"