Skip to content

Conversation

@ethankonk
Copy link
Collaborator

No description provided.

Copy link

@moeodeh3 moeodeh3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great - just some small nits, really appreciate you taking this on 🐐

packages:
stamper: patch
changelog: |-
Added a `sign` function to the Api Key Stamper for signing client signatures and such.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a sign function to the API Key Stamper for signing arbitrary payloads

http: patch
types: patch
changelog: |-
Synced `types` and `http client` with v2025.12.2 of `mono`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synced com.turnkey.types and com.turnkey.http with v2025.12.2 of mono

}
}

fun decodeVerificationToken(verificationToken: String): VerificationToken {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like these should be public methods, not internal

if someone wants to use their own backend and generate client signatures themselves, these functions would make that much easier!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The internal directory doesn't really mean anything in Kotlin, the method is still public for anyone to use so shouldn't be an issue.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay sweet - however, this is a bit misleading for readers. Eventually we should restructure this to clearly separate internal vs. public

that said, this is out of scope for this PR, so I’m going to mark it as resolved

@ethankonk ethankonk requested a review from moeodeh3 December 11, 2025 16:28
}
}

fun decodeVerificationToken(verificationToken: String): VerificationToken {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay sweet - however, this is a bit misleading for readers. Eventually we should restructure this to clearly separate internal vs. public

that said, this is out of scope for this PR, so I’m going to mark it as resolved

@ethankonk ethankonk merged commit 4e00d4d into main Dec 11, 2025
2 checks passed
@ethankonk ethankonk deleted the ethan/client-signature branch December 11, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants