@dynamic-labs/wallet-connector-core 4.100.1 → 4.100.3
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
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.100.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.2...v4.100.3) (2026-09-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **webview-controller:** make sure rabby uses native deeplink on Android ([#12421](https://github.com/dynamic-labs/dynamic-auth/issues/12421)) ([7c28ff9](https://github.com/dynamic-labs/dynamic-auth/commit/7c28ff9767e4afe34f489153e5f05456180eef5b))
|
|
8
|
+
|
|
9
|
+
### [4.100.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.1...v4.100.2) (2026-09-17)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **webview-controller:** route MetaMask connector storage through native secure storage [V4 backport] ([#12418](https://github.com/dynamic-labs/dynamic-auth/issues/12418)) ([0a9047c](https://github.com/dynamic-labs/dynamic-auth/commit/0a9047c72f184fca3fd27116d0a9eaa0a5bc69e6)), closes [#12304](https://github.com/dynamic-labs/dynamic-auth/issues/12304)
|
|
15
|
+
|
|
2
16
|
### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
|
|
3
17
|
|
|
4
18
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "4.100.
|
|
3
|
+
"version": "4.100.3",
|
|
4
4
|
"description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@dynamic-labs-wallet/browser-wallet-client": "1.1.10",
|
|
24
24
|
"@dynamic-labs-wallet/core": "1.1.10",
|
|
25
25
|
"@dynamic-labs-wallet/forward-mpc-client": "2.0.2",
|
|
26
|
-
"@dynamic-labs/assert-package-version": "4.100.
|
|
27
|
-
"@dynamic-labs/logger": "4.100.
|
|
28
|
-
"@dynamic-labs/rpc-providers": "4.100.
|
|
29
|
-
"@dynamic-labs/types": "4.100.
|
|
30
|
-
"@dynamic-labs/utils": "4.100.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.100.
|
|
26
|
+
"@dynamic-labs/assert-package-version": "4.100.3",
|
|
27
|
+
"@dynamic-labs/logger": "4.100.3",
|
|
28
|
+
"@dynamic-labs/rpc-providers": "4.100.3",
|
|
29
|
+
"@dynamic-labs/types": "4.100.3",
|
|
30
|
+
"@dynamic-labs/utils": "4.100.3",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.100.3",
|
|
32
32
|
"eventemitter3": "5.0.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {}
|
|
@@ -6,14 +6,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
6
6
|
var utils = require('@dynamic-labs/utils');
|
|
7
7
|
|
|
8
8
|
const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
|
|
9
|
-
// on android, the connection deeplink is simply the uri
|
|
10
|
-
// see: https://docs.walletconnect.com/mobile-linking#for-android
|
|
11
|
-
if (utils.isAndroid()) {
|
|
12
|
-
return uri;
|
|
13
|
-
}
|
|
14
9
|
const deepLink = getRegularDeepLink(uri, deepLinks, preference);
|
|
15
10
|
if (!deepLink) {
|
|
16
|
-
return
|
|
11
|
+
return uri;
|
|
17
12
|
}
|
|
18
13
|
const deepLinkUrl = new URL(deepLink);
|
|
19
14
|
const deepLinkParams = new URLSearchParams(deepLinkUrl.search);
|
|
@@ -26,11 +21,6 @@ const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
|
|
|
26
21
|
};
|
|
27
22
|
const getRegularDeepLink = (uri, deepLinks, preference) => {
|
|
28
23
|
var _a, _b, _c, _d;
|
|
29
|
-
if (utils.isAndroid()) {
|
|
30
|
-
// on android, the deeplink is simply the uri, without the query params
|
|
31
|
-
// see: https://docs.walletconnect.com/mobile-linking#for-android
|
|
32
|
-
return uri.split('?')[0];
|
|
33
|
-
}
|
|
34
24
|
const index = utils.isMobile() ? 'mobile' : 'desktop';
|
|
35
25
|
let origin;
|
|
36
26
|
if (preference === 'native') {
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
'use client'
|
|
2
|
-
import {
|
|
2
|
+
import { isMobile } from '@dynamic-labs/utils';
|
|
3
3
|
|
|
4
4
|
const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
|
|
5
|
-
// on android, the connection deeplink is simply the uri
|
|
6
|
-
// see: https://docs.walletconnect.com/mobile-linking#for-android
|
|
7
|
-
if (isAndroid()) {
|
|
8
|
-
return uri;
|
|
9
|
-
}
|
|
10
5
|
const deepLink = getRegularDeepLink(uri, deepLinks, preference);
|
|
11
6
|
if (!deepLink) {
|
|
12
|
-
return
|
|
7
|
+
return uri;
|
|
13
8
|
}
|
|
14
9
|
const deepLinkUrl = new URL(deepLink);
|
|
15
10
|
const deepLinkParams = new URLSearchParams(deepLinkUrl.search);
|
|
@@ -22,11 +17,6 @@ const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
|
|
|
22
17
|
};
|
|
23
18
|
const getRegularDeepLink = (uri, deepLinks, preference) => {
|
|
24
19
|
var _a, _b, _c, _d;
|
|
25
|
-
if (isAndroid()) {
|
|
26
|
-
// on android, the deeplink is simply the uri, without the query params
|
|
27
|
-
// see: https://docs.walletconnect.com/mobile-linking#for-android
|
|
28
|
-
return uri.split('?')[0];
|
|
29
|
-
}
|
|
30
20
|
const index = isMobile() ? 'mobile' : 'desktop';
|
|
31
21
|
let origin;
|
|
32
22
|
if (preference === 'native') {
|