From 34483124f7ebc9ad132d147d985a871654d91322 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 20 Aug 2024 16:44:38 -0600 Subject: [PATCH 1/3] fix: update to latest open mls --- android/build.gradle | 2 +- ios/XMTPReactNative.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 87f42d112..8aaf6baaf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -98,7 +98,7 @@ repositories { dependencies { implementation project(':expo-modules-core') implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}" - implementation "org.xmtp:android:0.15.3" + implementation "org.xmtp:android:0.15.4" implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.facebook.react:react-native:0.71.3' implementation "com.daveanthonythomas.moshipack:moshipack:1.0.1" diff --git a/ios/XMTPReactNative.podspec b/ios/XMTPReactNative.podspec index 4d2a7f472..e8969b8ad 100644 --- a/ios/XMTPReactNative.podspec +++ b/ios/XMTPReactNative.podspec @@ -26,5 +26,5 @@ Pod::Spec.new do |s| s.source_files = "**/*.{h,m,swift}" s.dependency 'secp256k1.swift' s.dependency "MessagePacker" - s.dependency "XMTP", "= 0.14.6" + s.dependency "XMTP", "= 0.14.7" end From a4a23f87bc7b3855797a6a347141fa0a632f1845 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 20 Aug 2024 17:27:08 -0600 Subject: [PATCH 2/3] update lock file --- example/ios/Podfile.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index ccf0b5f3d..42c165e75 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -56,7 +56,7 @@ PODS: - hermes-engine/Pre-built (= 0.71.14) - hermes-engine/Pre-built (0.71.14) - libevent (2.1.12) - - LibXMTP (0.5.7-beta3) + - LibXMTP (0.5.7-beta4) - Logging (1.0.0) - MessagePacker (0.4.7) - MMKV (1.3.9): @@ -449,16 +449,16 @@ PODS: - GenericJSON (~> 2.0) - Logging (~> 1.0.0) - secp256k1.swift (~> 0.1) - - XMTP (0.14.6): + - XMTP (0.14.7): - Connect-Swift (= 0.12.0) - GzipSwift - - LibXMTP (= 0.5.7-beta3) + - LibXMTP (= 0.5.7-beta4) - web3.swift - XMTPReactNative (0.1.0): - ExpoModulesCore - MessagePacker - secp256k1.swift - - XMTP (= 0.14.6) + - XMTP (= 0.14.7) - Yoga (1.14.0) DEPENDENCIES: @@ -711,7 +711,7 @@ SPEC CHECKSUMS: GzipSwift: 893f3e48e597a1a4f62fafcb6514220fcf8287fa hermes-engine: d7cc127932c89c53374452d6f93473f1970d8e88 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - LibXMTP: b6b930f9d2394a560d7f83b02be6ccd789472422 + LibXMTP: 794ebc442e5d66ca808b87142bb91bc6c7f4661f Logging: 9ef4ecb546ad3169398d5a723bc9bea1c46bef26 MessagePacker: ab2fe250e86ea7aedd1a9ee47a37083edd41fd02 MMKV: 817ba1eea17421547e01e087285606eb270a8dcb @@ -763,10 +763,10 @@ SPEC CHECKSUMS: secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634 SwiftProtobuf: 407a385e97fd206c4fbe880cc84123989167e0d1 web3.swift: 2263d1e12e121b2c42ffb63a5a7beb1acaf33959 - XMTP: 0f36b44b3922a5933e3487bf09671655e05dcb8d - XMTPReactNative: 71910c6588e526d85583c1f7aeb6c83816747aea + XMTP: 65c9c75509211f99a251cecd0d90a6552c523269 + XMTPReactNative: 82df4ffb174a36f0d3e16c842421f2881c55b6a0 Yoga: e71803b4c1fff832ccf9b92541e00f9b873119b9 -PODFILE CHECKSUM: 95d6ace79946933ecf80684613842ee553dd76a2 +PODFILE CHECKSUM: 0e6fe50018f34e575d38dc6a1fdf1f99c9596cdd COCOAPODS: 1.15.2 From 0c4a634d428fd29d84f8df36bf1c40711bb45eec Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 20 Aug 2024 19:08:19 -0600 Subject: [PATCH 3/3] fix up the test --- example/src/tests/groupTests.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/example/src/tests/groupTests.ts b/example/src/tests/groupTests.ts index 4df83a94e..e29279204 100644 --- a/example/src/tests/groupTests.ts +++ b/example/src/tests/groupTests.ts @@ -859,10 +859,9 @@ test('can remove members from a group', async () => { } const caroGroupMembers = await caroGroups[0].memberInboxIds() - // should be 3 since they wont get new updates to the group after being removed - if (caroGroupMembers.length !== 3) { + if (caroGroupMembers.length !== 2) { throw new Error( - 'num group members should be 3 but was' + caroGroupMembers.length + 'num group members should be 2 but was' + caroGroupMembers.length ) }