@dynamic-labs/wallet-connector-core 4.20.11 → 4.20.12
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,13 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.20.12](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.11...v4.20.12) (2025-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* bring back braavos mobile deeplink support ([#9041](https://github.com/dynamic-labs/dynamic-auth/issues/9041)) ([90a7eb6](https://github.com/dynamic-labs/dynamic-auth/commit/90a7eb620f6bd27d4560e88fe5542a121e586bed))
|
|
8
|
+
* start exchange funding errors should be logged as error ([#9056](https://github.com/dynamic-labs/dynamic-auth/issues/9056)) ([ba122af](https://github.com/dynamic-labs/dynamic-auth/commit/ba122afb68c462fe8627828bd20f9cc5f92803ff))
|
|
9
|
+
* WC redirect on mobile ([#9063](https://github.com/dynamic-labs/dynamic-auth/issues/9063)) ([f43aa4a](https://github.com/dynamic-labs/dynamic-auth/commit/f43aa4aedea20e3baf012f4778f5e6a47c27515c))
|
|
10
|
+
|
|
2
11
|
### [4.20.11](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.10...v4.20.11) (2025-07-01)
|
|
3
12
|
|
|
4
13
|
|
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.20.
|
|
3
|
+
"version": "4.20.12",
|
|
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",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.699",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.20.
|
|
23
|
-
"@dynamic-labs/logger": "4.20.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.20.
|
|
25
|
-
"@dynamic-labs/types": "4.20.
|
|
26
|
-
"@dynamic-labs/utils": "4.20.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.20.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.20.12",
|
|
23
|
+
"@dynamic-labs/logger": "4.20.12",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.20.12",
|
|
25
|
+
"@dynamic-labs/types": "4.20.12",
|
|
26
|
+
"@dynamic-labs/utils": "4.20.12",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.20.12",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var walletBook = require('@dynamic-labs/wallet-book');
|
|
7
|
+
var logger = require('../logger.cjs');
|
|
7
8
|
|
|
8
9
|
const getMobileExperience = ({ mobileExperienceProp, walletBook: walletBook$1, walletKey, walletConnector, }) => {
|
|
10
|
+
logger.logger.logVerboseTroubleshootingMessage('[getMobileExperience]', {
|
|
11
|
+
mobileExperienceProp,
|
|
12
|
+
walletKey,
|
|
13
|
+
});
|
|
9
14
|
if (mobileExperienceProp) {
|
|
10
15
|
// if the legacy prop is set, use that
|
|
11
16
|
if (typeof mobileExperienceProp === 'string') {
|
|
@@ -19,6 +24,10 @@ const getMobileExperience = ({ mobileExperienceProp, walletBook: walletBook$1, w
|
|
|
19
24
|
}
|
|
20
25
|
}
|
|
21
26
|
const walletBookRecord = walletBook.findWalletBookWallet(walletBook$1, walletKey);
|
|
27
|
+
logger.logger.logVerboseTroubleshootingMessage('[getMobileExperience]', {
|
|
28
|
+
isWalletConnect: walletConnector.isWalletConnect,
|
|
29
|
+
walletBookRecord,
|
|
30
|
+
});
|
|
22
31
|
if (walletBookRecord === null || walletBookRecord === void 0 ? void 0 : walletBookRecord.mobileExperience) {
|
|
23
32
|
return walletBookRecord.mobileExperience;
|
|
24
33
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { findWalletBookWallet } from '@dynamic-labs/wallet-book';
|
|
3
|
+
import { logger } from '../logger.js';
|
|
3
4
|
|
|
4
5
|
const getMobileExperience = ({ mobileExperienceProp, walletBook, walletKey, walletConnector, }) => {
|
|
6
|
+
logger.logVerboseTroubleshootingMessage('[getMobileExperience]', {
|
|
7
|
+
mobileExperienceProp,
|
|
8
|
+
walletKey,
|
|
9
|
+
});
|
|
5
10
|
if (mobileExperienceProp) {
|
|
6
11
|
// if the legacy prop is set, use that
|
|
7
12
|
if (typeof mobileExperienceProp === 'string') {
|
|
@@ -15,6 +20,10 @@ const getMobileExperience = ({ mobileExperienceProp, walletBook, walletKey, wall
|
|
|
15
20
|
}
|
|
16
21
|
}
|
|
17
22
|
const walletBookRecord = findWalletBookWallet(walletBook, walletKey);
|
|
23
|
+
logger.logVerboseTroubleshootingMessage('[getMobileExperience]', {
|
|
24
|
+
isWalletConnect: walletConnector.isWalletConnect,
|
|
25
|
+
walletBookRecord,
|
|
26
|
+
});
|
|
18
27
|
if (walletBookRecord === null || walletBookRecord === void 0 ? void 0 : walletBookRecord.mobileExperience) {
|
|
19
28
|
return walletBookRecord.mobileExperience;
|
|
20
29
|
}
|