From 55be1ba1ad3e9c0ecd61339f17b458702a8e3520 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 6 Feb 2024 10:07:05 -0800 Subject: [PATCH 1/5] fix: ios streaming --- ios/XMTPReactNative.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/XMTPReactNative.podspec b/ios/XMTPReactNative.podspec index d9a45ec47..049a05285 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.7.8-alpha0" + s.dependency "XMTP", "= 0.8.0" end From 6190e433c5a8ec11e19b98304bc69ca89fb5a4d9 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 6 Feb 2024 11:39:07 -0800 Subject: [PATCH 2/5] update the lock file --- example/ios/Podfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 69c88772a..0a72818c6 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.4.1-beta0) + - LibXMTP (0.4.1-beta1) - Logging (1.0.0) - MessagePacker (0.4.7) - MMKV (1.3.3): @@ -442,16 +442,16 @@ PODS: - GenericJSON (~> 2.0) - Logging (~> 1.0.0) - secp256k1.swift (~> 0.1) - - XMTP (0.7.8-alpha0): + - XMTP (0.8.0): - Connect-Swift (= 0.3.0) - GzipSwift - - LibXMTP (= 0.4.1-beta0) + - LibXMTP (= 0.4.1-beta1) - web3.swift - XMTPReactNative (0.1.0): - ExpoModulesCore - MessagePacker - secp256k1.swift - - XMTP (= 0.7.8-alpha0) + - XMTP (= 0.8.0) - Yoga (1.14.0) DEPENDENCIES: @@ -695,7 +695,7 @@ SPEC CHECKSUMS: GzipSwift: 893f3e48e597a1a4f62fafcb6514220fcf8287fa hermes-engine: d7cc127932c89c53374452d6f93473f1970d8e88 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - LibXMTP: a3bb8d00c275034e55f1f7bf632335821c792d3c + LibXMTP: 01d1797089db5fe7e0a39c524261f460a0f183c9 Logging: 9ef4ecb546ad3169398d5a723bc9bea1c46bef26 MessagePacker: ab2fe250e86ea7aedd1a9ee47a37083edd41fd02 MMKV: f902fb6719da13c2ab0965233d8963a59416f911 @@ -744,10 +744,10 @@ SPEC CHECKSUMS: secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634 SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1 web3.swift: 2263d1e12e121b2c42ffb63a5a7beb1acaf33959 - XMTP: 7c308fde3213aa0b0ad8198c9984932260f22b65 - XMTPReactNative: 0a5a691e0e54c7be2e9f276eaac37f9ad6a8e90a + XMTP: 9296a8e8dc53a033d5ca38207d5ed05843e657b6 + XMTPReactNative: 808e9937e815f506a84ace93af6f84df7e3fb038 Yoga: e71803b4c1fff832ccf9b92541e00f9b873119b9 -PODFILE CHECKSUM: bed59df1a015d67be871b27fb59f30a782dbf17c +PODFILE CHECKSUM: 95d6ace79946933ecf80684613842ee553dd76a2 -COCOAPODS: 1.14.3 +COCOAPODS: 1.14.2 From a511aff3b98dd345f4ba1c206e401c731563f442 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Wed, 7 Feb 2024 10:17:13 -0700 Subject: [PATCH 3/5] Add support for semantic release maintenance patches https://github.com/semantic-release/semantic-release/blob/38105f5bc8ac280d8fb726097962bb357bfc5dac/docs/recipes/release-workflow/maintenance-releases.md#publishing-maintenance-releases --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67c15d315..ca9041949 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: branches: - main - beta + - +([0-9])?(.{+([0-9]),x}).x jobs: release: name: Release From ba7a1186345228dbff7d53f5a6d734d65d4d4827 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Wed, 7 Feb 2024 11:38:28 -0700 Subject: [PATCH 4/5] Add manual release instead Update for manual release --- .github/workflows/release.yml | 7 ++++++- package.json | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca9041949..cfc3cb8de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,12 @@ on: branches: - main - beta - - +([0-9])?(.{+([0-9]),x}).x + workflow_dispatch: + inputs: + branch: + description: 'Branch name' + required: true + default: 'main' jobs: release: name: Release diff --git a/package.json b/package.json index 24ebc7f2b..24888d632 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ { "name": "beta", "prerelease": true - } + }, + "+([0-9])?(.{+([0-9]),x}).x" ] }, "publishConfig": { From f9036ab6ae3cb4907b19332c538583010edf877b Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 9 Feb 2024 08:13:41 -0800 Subject: [PATCH 5/5] fix: for client create as well --- src/index.ts | 6 ++++-- src/lib/Client.ts | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index c0914276a..ddc73df1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,14 +37,16 @@ export async function auth( environment: 'local' | 'dev' | 'production', appVersion?: string | undefined, hasCreateIdentityCallback?: boolean | undefined, - hasEnableIdentityCallback?: boolean | undefined + hasEnableIdentityCallback?: boolean | undefined, + enableAlphaMls?: boolean | undefined ) { return await XMTPModule.auth( address, environment, appVersion, hasCreateIdentityCallback, - hasEnableIdentityCallback + hasEnableIdentityCallback, + enableAlphaMls ) } diff --git a/src/lib/Client.ts b/src/lib/Client.ts index 8bba98221..207ec2646 100644 --- a/src/lib/Client.ts +++ b/src/lib/Client.ts @@ -111,7 +111,8 @@ export class Client { options.env, options.appVersion, Boolean(createSubscription), - Boolean(enableSubscription) + Boolean(enableSubscription), + Boolean(options.enableAlphaMls) ) })() })