@atomiqlabs/lp-lib 11.0.4 → 11.0.5

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.
@@ -655,6 +655,10 @@ class ToBtcLnAbs extends ToBtcBaseSwapHandler_1.ToBtcBaseSwapHandler {
655
655
  const createdSwap = new ToBtcLnSwapAbs_1.ToBtcLnSwapAbs(parsedAuth.chainIdentifier, parsedBody.pr, parsedPR.mtokens, parsedAuth.swapFee, parsedAuth.swapFeeInToken, parsedAuth.quotedNetworkFee, parsedAuth.quotedNetworkFeeInToken);
656
656
  createdSwap.data = payObject;
657
657
  createdSwap.metadata = metadata;
658
+ createdSwap.prefix = sigData.prefix;
659
+ createdSwap.timeout = sigData.timeout;
660
+ createdSwap.signature = sigData.signature;
661
+ createdSwap.feeRate = sigData.feeRate;
658
662
  yield PluginManager_1.PluginManager.swapCreate(createdSwap);
659
663
  yield this.storageManager.saveData(parsedPR.id, sequence, createdSwap);
660
664
  this.swapLogger.info(createdSwap, "REST: /payInvoiceExactIn: created exact in swap," +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/lp-lib",
3
- "version": "11.0.4",
3
+ "version": "11.0.5",
4
4
  "description": "Main functionality implementation for atomiq LP node",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -785,6 +785,10 @@ export class ToBtcLnAbs extends ToBtcBaseSwapHandler<ToBtcLnSwapAbs, ToBtcLnSwap
785
785
  );
786
786
  createdSwap.data = payObject;
787
787
  createdSwap.metadata = metadata;
788
+ createdSwap.prefix = sigData.prefix;
789
+ createdSwap.timeout = sigData.timeout;
790
+ createdSwap.signature = sigData.signature
791
+ createdSwap.feeRate = sigData.feeRate;
788
792
 
789
793
  await PluginManager.swapCreate(createdSwap);
790
794
  await this.storageManager.saveData(parsedPR.id, sequence, createdSwap);