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

Remove bowser, add EnvironmentModule #292

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Remove bowser, add EnvironmentModule #292

merged 3 commits into from
Dec 10, 2024

Conversation

dawidsowardx
Copy link
Contributor

  • remove bowser in favor of custom regex
  • use DI for isMobile and isBrowser

Copy link

github-actions bot commented Dec 5, 2024

Phylum Report Link

@@ -0,0 +1,24 @@
export type EnvironmentModule = ReturnType<typeof EnvironmentModule>
export const EnvironmentModule = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you move isTMA from deep link module into here?

@@ -25,12 +25,14 @@ import type {
ConnectButtonModule,
} from './modules'
import { BuildableSubintentRequest } from './modules/wallet-request/pre-authorization-request/subintent-builder'
import { EnvironmentModule } from './modules/environment'
Copy link
Collaborator

Choose a reason for hiding this comment

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

import in same place where other modules are imported

- remove bowser in favor of custom regex
- use DI for `isMobile` and `isBrowser`
@dawidsowardx dawidsowardx merged commit 76d61c9 into develop Dec 10, 2024
11 checks passed
Copy link

🎉 This PR is included in version 2.2.0-dev.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dawidsowardx dawidsowardx deleted the remove-bowser branch December 13, 2024 15:20
Copy link

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants