@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.
- package/android/build.gradle +1 -0
- package/android/src/main/jniLibs/arm64-v8a/libddk_ffi.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libddk_ffi.so +0 -0
- package/android/src/main/jniLibs/x86/libddk_ffi.so +0 -0
- package/android/src/main/jniLibs/x86_64/libddk_ffi.so +0 -0
- package/ios/DdkRn.xcframework/ios-arm64/libddk_ffi.a +0 -0
- package/ios/DdkRn.xcframework/ios-arm64-simulator/libddk_ffi.a +0 -0
- package/lib/commonjs/ddk_ffi.js +3 -3
- package/lib/commonjs/ddk_ffi.js.map +1 -1
- package/lib/module/ddk_ffi.js +3 -3
- package/lib/module/ddk_ffi.js.map +1 -1
- package/lib/typescript/commonjs/src/ddk_ffi.d.ts +1 -1
- package/lib/typescript/commonjs/src/ddk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/ddk_ffi.d.ts +1 -1
- package/lib/typescript/module/src/ddk_ffi.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/ddk_ffi.ts +4 -4
package/android/build.gradle
CHANGED
|
@@ -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()) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/commonjs/ddk_ffi.js
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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.
|
|
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();
|