Skip to content

Commit 8ef2a24

Browse files
committed
feat: XMTP sdk 4.0.0-rc2
1 parent 599e66c commit 8ef2a24

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

features/xmtp/xmtp-client/xmtp-client.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { getRandomBytesAsync } from "expo-crypto"
33
import { config } from "@/config"
44
import { captureError } from "@/utils/capture-error"
55
import { XMTPError } from "@/utils/error"
6+
import { IEthereumAddress } from "@/utils/evm/address"
67
import { getSecureItemAsync, setSecureItemAsync } from "@/utils/keychain"
78
import { xmtpLogger } from "@/utils/logger"
89
import { ISupportedXmtpCodecs, supportedXmtpCodecs } from "../xmtp-codecs/xmtp-codecs"
@@ -43,7 +44,7 @@ export async function createXmtpClientInstance(args: {
4344
}
4445

4546
export async function buildXmtpClientInstance(args: {
46-
ethereumAddress: string
47+
ethereumAddress: IEthereumAddress
4748
inboxId?: IXmtpInboxId
4849
}) {
4950
const { ethereumAddress, inboxId } = args

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@thirdweb-dev/react-native-adapter": "^1.5.3",
7474
"@walletconnect/react-native-compat": "^2.19.0",
7575
"@xmtp/content-type-primitives": "^2.0.0",
76-
"@xmtp/react-native-sdk": "github:xmtp/xmtp-react-native#np/signature-updates",
76+
"@xmtp/react-native-sdk": "4.0.0-rc2",
7777
"@xstate/react": "^5.0.0",
7878
"@yornaath/batshit": "^0.10.1",
7979
"alchemy-sdk": "^3.4.4",

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -8918,9 +8918,9 @@ __metadata:
89188918
languageName: node
89198919
linkType: hard
89208920

8921-
"@xmtp/react-native-sdk@github:xmtp/xmtp-react-native#np/signature-updates":
8922-
version: 4.0.0-rc1
8923-
resolution: "@xmtp/react-native-sdk@https://github.com/xmtp/xmtp-react-native.git#commit=9be92fa318f6118fcc195ee2c27e0a283cc56408"
8921+
"@xmtp/react-native-sdk@npm:4.0.0-rc2":
8922+
version: 4.0.0-rc2
8923+
resolution: "@xmtp/react-native-sdk@npm:4.0.0-rc2"
89248924
dependencies:
89258925
"@changesets/changelog-git": "npm:^0.2.0"
89268926
"@changesets/cli": "npm:^2.27.10"
@@ -8934,7 +8934,7 @@ __metadata:
89348934
expo: "*"
89358935
react: "*"
89368936
react-native: "*"
8937-
checksum: 10c0/572b3ef2ea13bf51c28a3c10d8bf6a32a0bd9df222d6d7db23a3c277b007813505164a3bc35c27cb7d00519a9eb29b9ca23b7e6f506c75bbb1bb6938f34501a1
8937+
checksum: 10c0/54f134566652f2dc688742f70bc2e765ade7210e00d25576426e64f814ae54e36770f2933647625edf899d4e9a5f67a9796bebdbf2983d0aa2437e04af2de1a2
89388938
languageName: node
89398939
linkType: hard
89408940

@@ -10837,7 +10837,7 @@ __metadata:
1083710837
"@walletconnect/react-native-compat": "npm:^2.19.0"
1083810838
"@welldone-software/why-did-you-render": "npm:^8.0.3"
1083910839
"@xmtp/content-type-primitives": "npm:^2.0.0"
10840-
"@xmtp/react-native-sdk": "github:xmtp/xmtp-react-native#np/signature-updates"
10840+
"@xmtp/react-native-sdk": "npm:4.0.0-rc2"
1084110841
"@xstate/react": "npm:^5.0.0"
1084210842
"@yornaath/batshit": "npm:^0.10.1"
1084310843
alchemy-sdk: "npm:^3.4.4"

0 commit comments

Comments
 (0)