@breeztech/breez-sdk-spark-react-native 0.2.0 → 0.2.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.
@@ -1236,14 +1236,16 @@ const FfiConverterTypePaymentMetadata = (() => {
1236
1236
  class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
1237
1237
  read(from) {
1238
1238
  return {
1239
- lnurlPayInfo: FfiConverterOptionalTypeLnurlPayInfo.read(from)
1239
+ lnurlPayInfo: FfiConverterOptionalTypeLnurlPayInfo.read(from),
1240
+ lnurlDescription: FfiConverterOptionalString.read(from)
1240
1241
  };
1241
1242
  }
1242
1243
  write(value, into) {
1243
1244
  FfiConverterOptionalTypeLnurlPayInfo.write(value.lnurlPayInfo, into);
1245
+ FfiConverterOptionalString.write(value.lnurlDescription, into);
1244
1246
  }
1245
1247
  allocationSize(value) {
1246
- return FfiConverterOptionalTypeLnurlPayInfo.allocationSize(value.lnurlPayInfo);
1248
+ return FfiConverterOptionalTypeLnurlPayInfo.allocationSize(value.lnurlPayInfo) + FfiConverterOptionalString.allocationSize(value.lnurlDescription);
1247
1249
  }
1248
1250
  }
1249
1251
  return new FFIConverter();
@@ -1615,7 +1617,9 @@ const FfiConverterTypeRefundDepositResponse = (() => {
1615
1617
  * Generated factory for {@link RegisterLightningAddressRequest} record objects.
1616
1618
  */
1617
1619
  const RegisterLightningAddressRequest = exports.RegisterLightningAddressRequest = (() => {
1618
- const defaults = () => ({});
1620
+ const defaults = () => ({
1621
+ description: undefined
1622
+ });
1619
1623
  const create = (() => {
1620
1624
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
1621
1625
  })();
@@ -1641,15 +1645,15 @@ const FfiConverterTypeRegisterLightningAddressRequest = (() => {
1641
1645
  read(from) {
1642
1646
  return {
1643
1647
  username: FfiConverterString.read(from),
1644
- description: FfiConverterString.read(from)
1648
+ description: FfiConverterOptionalString.read(from)
1645
1649
  };
1646
1650
  }
1647
1651
  write(value, into) {
1648
1652
  FfiConverterString.write(value.username, into);
1649
- FfiConverterString.write(value.description, into);
1653
+ FfiConverterOptionalString.write(value.description, into);
1650
1654
  }
1651
1655
  allocationSize(value) {
1652
- return FfiConverterString.allocationSize(value.username) + FfiConverterString.allocationSize(value.description);
1656
+ return FfiConverterString.allocationSize(value.username) + FfiConverterOptionalString.allocationSize(value.description);
1653
1657
  }
1654
1658
  }
1655
1659
  return new FFIConverter();