@secondts/bark-react-native 0.9.0 → 0.10.0

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.
package/README.md CHANGED
@@ -60,7 +60,7 @@ npx expo install @secondts/bark-react-native@beta
60
60
 
61
61
  ```bash
62
62
  # Or install a specific beta version
63
- npx expo install @secondts/bark-react-native@0.9.0
63
+ npx expo install @secondts/bark-react-native@0.10.0
64
64
  ```
65
65
 
66
66
  For bare React Native projects, use:
@@ -734,7 +734,10 @@ const FfiConverterTypeMovement = (() => {
734
734
  exitedVtxoIds: FfiConverterArrayString.read(from),
735
735
  createdAt: FfiConverterString.read(from),
736
736
  updatedAt: FfiConverterString.read(from),
737
- completedAt: FfiConverterOptionalString.read(from)
737
+ completedAt: FfiConverterOptionalString.read(from),
738
+ paymentHash: FfiConverterOptionalString.read(from),
739
+ lightningInvoice: FfiConverterOptionalString.read(from),
740
+ lightningOffer: FfiConverterOptionalString.read(from)
738
741
  };
739
742
  }
740
743
  write(value, into) {
@@ -754,9 +757,12 @@ const FfiConverterTypeMovement = (() => {
754
757
  FfiConverterString.write(value.createdAt, into);
755
758
  FfiConverterString.write(value.updatedAt, into);
756
759
  FfiConverterOptionalString.write(value.completedAt, into);
760
+ FfiConverterOptionalString.write(value.paymentHash, into);
761
+ FfiConverterOptionalString.write(value.lightningInvoice, into);
762
+ FfiConverterOptionalString.write(value.lightningOffer, into);
757
763
  }
758
764
  allocationSize(value) {
759
- return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.id) + FfiConverterString.allocationSize(value.status) + FfiConverterString.allocationSize(value.subsystemName) + FfiConverterString.allocationSize(value.subsystemKind) + FfiConverterString.allocationSize(value.metadataJson) + _uniffiBindgenReactNative.FfiConverterInt64.allocationSize(value.intendedBalanceSats) + _uniffiBindgenReactNative.FfiConverterInt64.allocationSize(value.effectiveBalanceSats) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.offchainFeeSats) + FfiConverterArrayString.allocationSize(value.sentToAddresses) + FfiConverterArrayString.allocationSize(value.receivedOnAddresses) + FfiConverterArrayString.allocationSize(value.inputVtxoIds) + FfiConverterArrayString.allocationSize(value.outputVtxoIds) + FfiConverterArrayString.allocationSize(value.exitedVtxoIds) + FfiConverterString.allocationSize(value.createdAt) + FfiConverterString.allocationSize(value.updatedAt) + FfiConverterOptionalString.allocationSize(value.completedAt);
765
+ return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.id) + FfiConverterString.allocationSize(value.status) + FfiConverterString.allocationSize(value.subsystemName) + FfiConverterString.allocationSize(value.subsystemKind) + FfiConverterString.allocationSize(value.metadataJson) + _uniffiBindgenReactNative.FfiConverterInt64.allocationSize(value.intendedBalanceSats) + _uniffiBindgenReactNative.FfiConverterInt64.allocationSize(value.effectiveBalanceSats) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.offchainFeeSats) + FfiConverterArrayString.allocationSize(value.sentToAddresses) + FfiConverterArrayString.allocationSize(value.receivedOnAddresses) + FfiConverterArrayString.allocationSize(value.inputVtxoIds) + FfiConverterArrayString.allocationSize(value.outputVtxoIds) + FfiConverterArrayString.allocationSize(value.exitedVtxoIds) + FfiConverterString.allocationSize(value.createdAt) + FfiConverterString.allocationSize(value.updatedAt) + FfiConverterOptionalString.allocationSize(value.completedAt) + FfiConverterOptionalString.allocationSize(value.paymentHash) + FfiConverterOptionalString.allocationSize(value.lightningInvoice) + FfiConverterOptionalString.allocationSize(value.lightningOffer);
760
766
  }
761
767
  }
762
768
  return new FFIConverter();