@node-dlc/core
Advanced tools
Comparing version 0.12.5 to 0.13.0
@@ -1,1 +0,1 @@ | ||
{"processes":{"1eb44cd7-f8ce-4259-afff-41243c9d5676":{"parent":null,"children":[]}},"files":{"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/CETCalculator.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/utils/BigIntUtils.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/CoveredCall.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/HyperbolaPayoutCurve.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/ShortPut.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/index.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/Builder.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/OptionInfo.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/TxBuilder.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/TxFinalizer.ts":["1eb44cd7-f8ce-4259-afff-41243c9d5676"]},"externalIds":{}} | ||
{"processes":{"5bb93c84-fb49-4609-972a-062d0f37f409":{"parent":null,"children":[]}},"files":{"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/CETCalculator.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/utils/BigIntUtils.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/CoveredCall.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/HyperbolaPayoutCurve.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/ShortPut.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/index.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/Builder.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/finance/OptionInfo.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/TxBuilder.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"],"/Users/steven/src/atomicfinance/node-dlc/packages/core/lib/dlc/TxFinalizer.ts":["5bb93c84-fb49-4609-972a-062d0f37f409"]},"externalIds":{}} |
@@ -85,3 +85,3 @@ "use strict"; | ||
orderOffer.feeRatePerVb = BigInt(feePerByte); | ||
orderOffer.cetLocktime = expiration; | ||
orderOffer.cetLocktime = Math.floor(new Date().getTime() / 1000); // set to current time | ||
orderOffer.refundLocktime = expiration + 604800; // 1 week later | ||
@@ -88,0 +88,0 @@ return orderOffer; |
@@ -171,5 +171,5 @@ import { chainHashFromNetwork } from '@atomicfinance/bitcoin-networks'; | ||
orderOffer.cetLocktime = expiration; | ||
orderOffer.cetLocktime = Math.floor(new Date().getTime() / 1000); // set to current time | ||
orderOffer.refundLocktime = expiration + 604800; // 1 week later | ||
return orderOffer; | ||
}; |
{ | ||
"name": "@node-dlc/core", | ||
"version": "0.12.5", | ||
"version": "0.13.0", | ||
"description": "DLC Core", | ||
@@ -28,3 +28,3 @@ "scripts": { | ||
"@liquality/bitcoin-networks": "^1.12.0", | ||
"@node-dlc/messaging": "^0.12.5", | ||
"@node-dlc/messaging": "^0.13.0", | ||
"@node-lightning/bitcoin": "0.26.1", | ||
@@ -39,3 +39,3 @@ "@node-lightning/core": "0.26.1" | ||
}, | ||
"gitHead": "1044e04bd48446c60f5d6f107e9b85b8c8173beb" | ||
"gitHead": "a16297985be3100e9f8e5cc77d351f28a89087e4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
876269
+ Added@node-dlc/messaging@0.13.0(transitive)
- Removed@node-dlc/messaging@0.12.5(transitive)
Updated@node-dlc/messaging@^0.13.0