-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
954e47f
to
c6fdade
Compare
@@ -0,0 +1,24 @@ | |||
export type EnvironmentModule = ReturnType<typeof EnvironmentModule> | |||
export const EnvironmentModule = () => { |
There was a problem hiding this comment.
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?
packages/dapp-toolkit/src/_types.ts
Outdated
@@ -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' |
There was a problem hiding this comment.
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`
72d4a8e
to
fe596ff
Compare
fe596ff
to
3013378
Compare
🎉 This PR is included in version 2.2.0-dev.19 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
isMobile
andisBrowser