@atomicfinance/types 3.4.0 → 3.4.1

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 dae3f79f5a66ff5e
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atomicfinance/types
2
2
 
3
+ ## 3.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9781efe: Add getInputsForDualFunding functionality and bump @node-dlc
8
+
3
9
  ## 3.4.0
4
10
 
5
11
  ### 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.1",
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.0",
19
19
  "@node-lightning/bitcoin": "0.26.1",
20
20
  "@node-lightning/noise": "0.26.1",
21
21
  "lodash": "^4.17.20"