@aptos-labs/wallet-adapter-core 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/utils/helpers.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @aptos-labs/wallet-adapter-core
|
|
2
2
|
|
|
3
|
+
## 2.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 06f334f: @aptos-labs/wallet-adapter-core:
|
|
8
|
+
Fixes ssr issue with checking for mobile wallets
|
|
9
|
+
|
|
10
|
+
@aptos-labs/wallet-adapter-mui-design:
|
|
11
|
+
Breaking:
|
|
12
|
+
When on a mobile phone on the native browser, we removed all wallets that are not able to be deep linked to.
|
|
13
|
+
The previous functionally would take them to the extension, which would not help users on mobile phones.
|
|
14
|
+
|
|
3
15
|
## 2.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
package/src/utils/helpers.ts
CHANGED
|
@@ -18,7 +18,7 @@ export function isInAppBrowser(): boolean {
|
|
|
18
18
|
|
|
19
19
|
export function isRedirectable(): boolean {
|
|
20
20
|
// SSR: return false
|
|
21
|
-
if (!navigator) return false;
|
|
21
|
+
if (typeof navigator === 'undefined' || !navigator) return false;
|
|
22
22
|
|
|
23
23
|
// if we are on mobile and NOT in a in-app browser we will redirect to a wallet app
|
|
24
24
|
|