@secondts/bark-react-native 0.20.0 → 0.20.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.
@@ -151,6 +151,7 @@ const FfiConverterTypeArkInfo = (() => {
151
151
  roundIntervalSecs: FfiConverterUInt64.read(from),
152
152
  nbRoundNonces: FfiConverterUInt32.read(from),
153
153
  vtxoExitDelta: FfiConverterUInt32.read(from),
154
+ vtxoLifetime: FfiConverterUInt32.read(from),
154
155
  vtxoExpiryDelta: FfiConverterUInt32.read(from),
155
156
  htlcSendExpiryDelta: FfiConverterUInt32.read(from),
156
157
  htlcExpiryDelta: FfiConverterUInt32.read(from),
@@ -169,6 +170,7 @@ const FfiConverterTypeArkInfo = (() => {
169
170
  FfiConverterUInt64.write(value.roundIntervalSecs, into);
170
171
  FfiConverterUInt32.write(value.nbRoundNonces, into);
171
172
  FfiConverterUInt32.write(value.vtxoExitDelta, into);
173
+ FfiConverterUInt32.write(value.vtxoLifetime, into);
172
174
  FfiConverterUInt32.write(value.vtxoExpiryDelta, into);
173
175
  FfiConverterUInt32.write(value.htlcSendExpiryDelta, into);
174
176
  FfiConverterUInt32.write(value.htlcExpiryDelta, into);
@@ -181,7 +183,7 @@ const FfiConverterTypeArkInfo = (() => {
181
183
  FfiConverterUInt16.write(value.maxVtxoExitDepth, into);
182
184
  }
183
185
  allocationSize(value) {
184
- return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + FfiConverterUInt32.allocationSize(value.nbRoundNonces) + FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired) + FfiConverterTypeFeeSchedule.allocationSize(value.feeSchedule) + FfiConverterUInt16.allocationSize(value.maxVtxoExitDepth);
186
+ return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + FfiConverterUInt32.allocationSize(value.nbRoundNonces) + FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + FfiConverterUInt32.allocationSize(value.vtxoLifetime) + FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired) + FfiConverterTypeFeeSchedule.allocationSize(value.feeSchedule) + FfiConverterUInt16.allocationSize(value.maxVtxoExitDepth);
185
187
  }
186
188
  }
187
189
  return new FFIConverter();