Skip to content

Commit

Permalink
frames client and inboxId
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Dec 1, 2024
1 parent e31f08b commit c502b65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dependencies {
implementation 'org.web3j:crypto:4.9.4'
implementation "net.java.dev.jna:jna:5.14.0@aar"
api 'com.google.protobuf:protobuf-kotlin-lite:3.22.3'
api 'org.xmtp:proto-kotlin:3.72.1'
api 'org.xmtp:proto-kotlin:3.72.3'

testImplementation 'junit:junit:4.13.2'
testImplementation 'androidx.test:monitor:1.7.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import java.net.URL
class FramesTest {
@Test
fun testFramesClient() {
val frameUrl = "https://fc-polls-five.vercel.app/polls/01032f47-e976-42ee-9e3d-3aac1324f4b8"
val frameUrl = "https://fc-polls-five.vercel.app/polls/03710836-bc1d-4921-9e24-89d82015c53b"
val fixtures = fixtures()
val aliceClient = fixtures.alixClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class FramesClient(private val xmtpClient: Client, var proxy: OpenFramesProxy =
it.actionBody = actionBodyInputs.toByteString()
it.installationSignature = signature.toByteString()
it.installationId = xmtpClient.installationId.hexToByteArray().toByteString()
it.inboxId = xmtpClient.inboxId
}.build()

return frameAction.toByteArray()
Expand Down

0 comments on commit c502b65

Please sign in to comment.