diff --git a/library/src/main/java/xmtpv3.kt b/library/src/main/java/xmtpv3.kt index 67a1e3937..3a837d609 100644 --- a/library/src/main/java/xmtpv3.kt +++ b/library/src/main/java/xmtpv3.kt @@ -3253,7 +3253,7 @@ public object FfiConverterSequenceBoolean: FfiConverterRustBuffer> override fun write(value: List, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterBoolean.write(it, buf) } } @@ -3278,7 +3278,7 @@ public object FfiConverterSequenceString: FfiConverterRustBuffer> { override fun write(value: List, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterString.write(it, buf) } } @@ -3303,7 +3303,7 @@ public object FfiConverterSequenceByteArray: FfiConverterRustBuffer, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterByteArray.write(it, buf) } } @@ -3328,7 +3328,7 @@ public object FfiConverterSequenceTypeFfiGroup: FfiConverterRustBuffer, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiGroup.write(it, buf) } } @@ -3353,7 +3353,7 @@ public object FfiConverterSequenceTypeFfiEnvelope: FfiConverterRustBuffer, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiEnvelope.write(it, buf) } } @@ -3378,7 +3378,7 @@ public object FfiConverterSequenceTypeFfiGroupMember: FfiConverterRustBuffer, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiGroupMember.write(it, buf) } } @@ -3403,7 +3403,7 @@ public object FfiConverterSequenceTypeFfiMessage: FfiConverterRustBuffer, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiMessage.write(it, buf) } } @@ -3428,7 +3428,7 @@ public object FfiConverterSequenceTypeFfiV2QueryRequest: FfiConverterRustBuffer< override fun write(value: List, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiV2QueryRequest.write(it, buf) } } @@ -3453,7 +3453,7 @@ public object FfiConverterSequenceTypeFfiV2QueryResponse: FfiConverterRustBuffer override fun write(value: List, buf: ByteBuffer) { buf.putInt(value.size) - value.iterator().forEach { + value.forEach { FfiConverterTypeFfiV2QueryResponse.write(it, buf) } } diff --git a/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so b/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so index 54422d4a3..b9dd08d6a 100755 Binary files a/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so b/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so index bb407dde9..d1fa2e0b3 100755 Binary files a/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so b/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so index 8486ddb05..10aeb510a 100755 Binary files a/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so b/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so index 869f60b84..2f4b88dd5 100755 Binary files a/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so differ