Skip to content

Conversation

@kiftio
Copy link
Contributor

@kiftio kiftio commented Nov 3, 2025

What changes are you making?


Before you merge

Important

Releasing a new version of the kit?

Releasing a new major version?

  • I have bumped the version number in the README.

Tip

See the Contributing documentation for instructions on how to publish a new version of the library.


extension URL {
/// Returns a sanitized URL string safe for logging by redacting sensitive authentication data
internal var sanitizedString: String {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't want to do it now, but thinking it may become sensible to create a CheckoutUrl class

Avoids us having functions like this on global url scope that focus on deconstructing and piecing urls together (not relevant here as its for logging, but might ensure less drift over time if format changes if we centralise the logic for construction), and may encapsulate helpers for deriving state based on the embed properties?

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.

2 participants