@bennyblader/ddk-rn 1.0.0-rc2 → 1.0.0-rc4

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.
@@ -133,6 +133,7 @@ dependencies {
133
133
  //noinspection GradleDynamicVersion
134
134
  implementation "com.facebook.react:react-native:+"
135
135
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
136
+ implementation "net.java.dev.jna:jna:5.17.0@aar"
136
137
  }
137
138
 
138
139
  if (isNewArchitectureEnabled()) {
@@ -1017,17 +1017,17 @@ const FfiConverterTypeDlcTransactions = (() => {
1017
1017
  fund: FfiConverterTypeTransaction.read(from),
1018
1018
  cets: FfiConverterSequenceTypeTransaction.read(from),
1019
1019
  refund: FfiConverterTypeTransaction.read(from),
1020
- fundingScriptPubkey: _core.FfiConverterUint8Array.read(from)
1020
+ fundingWitnessScript: _core.FfiConverterUint8Array.read(from)
1021
1021
  };
1022
1022
  }
1023
1023
  write(value, into) {
1024
1024
  FfiConverterTypeTransaction.write(value.fund, into);
1025
1025
  FfiConverterSequenceTypeTransaction.write(value.cets, into);
1026
1026
  FfiConverterTypeTransaction.write(value.refund, into);
1027
- _core.FfiConverterUint8Array.write(value.fundingScriptPubkey, into);
1027
+ _core.FfiConverterUint8Array.write(value.fundingWitnessScript, into);
1028
1028
  }
1029
1029
  allocationSize(value) {
1030
- return FfiConverterTypeTransaction.allocationSize(value.fund) + FfiConverterSequenceTypeTransaction.allocationSize(value.cets) + FfiConverterTypeTransaction.allocationSize(value.refund) + _core.FfiConverterUint8Array.allocationSize(value.fundingScriptPubkey);
1030
+ return FfiConverterTypeTransaction.allocationSize(value.fund) + FfiConverterSequenceTypeTransaction.allocationSize(value.cets) + FfiConverterTypeTransaction.allocationSize(value.refund) + _core.FfiConverterUint8Array.allocationSize(value.fundingWitnessScript);
1031
1031
  }
1032
1032
  }
1033
1033
  return new FFIConverter();