Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default History Sync URL #782

Closed
2 tasks done
nplasterer opened this issue Jan 13, 2025 · 1 comment · Fixed by #784
Closed
2 tasks done

Default History Sync URL #782

nplasterer opened this issue Jan 13, 2025 · 1 comment · Fixed by #784
Assignees
Labels
enhancement New feature or request

Comments

@nplasterer
Copy link
Contributor

nplasterer commented Jan 13, 2025

On client create if a history sync url is not provided we should set a default one for the integrator.

val historySyncUrl: String = when (api.env) {
        XMTPEnvironment.PRODUCTION -> "https://message-history.production.ephemera.network/"
        XMTPEnvironment.LOCAL -> "http://localhost:5558/"
        else -> "https://message-history.dev.ephemera.network/"
    },

This makes sure that consent is accurately moved across installations, hmacs are updated, and message history.

  • Browser SDK
  • Node SDK
@nplasterer nplasterer added the enhancement New feature or request label Jan 13, 2025
@nplasterer
Copy link
Contributor Author

After implementing this do you mind also upgrading the devtool?

@rygine rygine linked a pull request Jan 14, 2025 that will close this issue
@rygine rygine closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants