@dynamic-labs/wallet-connector-core 4.20.10 → 4.20.11
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,17 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.20.11](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.10...v4.20.11) (2025-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add signed typed data to waas ([#9050](https://github.com/dynamic-labs/dynamic-auth/issues/9050)) ([19c8fea](https://github.com/dynamic-labs/dynamic-auth/commit/19c8fea2e5448e027cbec2f6158d32247dfcd321))
|
|
8
|
+
* pass jwt to waas operations ([#8981](https://github.com/dynamic-labs/dynamic-auth/issues/8981)) ([6b63394](https://github.com/dynamic-labs/dynamic-auth/commit/6b63394a1a724c2a1499a3d1ff13078d2314b10e))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* 7702 signature for undeployed contracts ([#9052](https://github.com/dynamic-labs/dynamic-auth/issues/9052)) ([7052149](https://github.com/dynamic-labs/dynamic-auth/commit/7052149aae53524a0ac2bdad0b7ddf68e3c86189))
|
|
14
|
+
|
|
2
15
|
### [4.20.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.9...v4.20.10) (2025-06-30)
|
|
3
16
|
|
|
4
17
|
|
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.11",
|
|
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.11",
|
|
23
|
+
"@dynamic-labs/logger": "4.20.11",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.20.11",
|
|
25
|
+
"@dynamic-labs/types": "4.20.11",
|
|
26
|
+
"@dynamic-labs/utils": "4.20.11",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.20.11",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
|
|
6
6
|
var walletBook = require('@dynamic-labs/wallet-book');
|
|
7
7
|
var logger = require('../logger.cjs');
|
|
8
|
-
var getIconUrl = require('./getIconUrl/getIconUrl.cjs');
|
|
9
|
-
var getValidHexColor = require('./getValidHexColor/getValidHexColor.cjs');
|
|
10
8
|
var getDeepLinks = require('./getDeepLinks/getDeepLinks.cjs');
|
|
11
9
|
var getDownloadLinks = require('./getDownloadLinks/getDownloadLinks.cjs');
|
|
10
|
+
var getIconUrl = require('./getIconUrl/getIconUrl.cjs');
|
|
11
|
+
var getValidHexColor = require('./getValidHexColor/getValidHexColor.cjs');
|
|
12
12
|
var getWalletLimitations = require('./getWalletLimitations/getWalletLimitations.cjs');
|
|
13
13
|
|
|
14
14
|
const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBook: walletBook$1, walletFallback, }) => {
|
|
15
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
15
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
16
16
|
if (!walletBook.isWalletBookPopulated(walletBook$1) && !walletFallback) {
|
|
17
17
|
logger.logger.warn('Wallet book is required');
|
|
18
18
|
return;
|
|
@@ -34,9 +34,9 @@ const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBo
|
|
|
34
34
|
groupKey: (_b = wallet === null || wallet === void 0 ? void 0 : wallet.chainGroup) !== null && _b !== void 0 ? _b : wallet === null || wallet === void 0 ? void 0 : wallet.walletGroup,
|
|
35
35
|
icon: (_d = getIconUrl.getIconUrl((_c = wallet === null || wallet === void 0 ? void 0 : wallet.brand) === null || _c === void 0 ? void 0 : _c.spriteId)) !== null && _d !== void 0 ? _d : '',
|
|
36
36
|
id: walletKey,
|
|
37
|
-
inAppBrowserUrl: (_f = (_e = wallet.mobile) === null || _e === void 0 ? void 0 : _e.
|
|
37
|
+
inAppBrowserUrl: (_h = (_f = (_e = wallet.mobile) === null || _e === void 0 ? void 0 : _e.inAppBrowserV2) !== null && _f !== void 0 ? _f : (_g = wallet.mobile) === null || _g === void 0 ? void 0 : _g.inAppBrowser) !== null && _h !== void 0 ? _h : undefined,
|
|
38
38
|
name: wallet.name,
|
|
39
|
-
rdns: (
|
|
39
|
+
rdns: (_j = wallet.eip6963Config) === null || _j === void 0 ? void 0 : _j.rdns,
|
|
40
40
|
supportedHardwareWallets: wallet.hardwareWallets,
|
|
41
41
|
walletLimitations: getWalletLimitations.getWalletLimitations(wallet.walletLimitations),
|
|
42
42
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { isWalletBookPopulated, getWalletBookWallet } from '@dynamic-labs/wallet-book';
|
|
3
3
|
import { logger } from '../logger.js';
|
|
4
|
-
import { getIconUrl } from './getIconUrl/getIconUrl.js';
|
|
5
|
-
import { getValidHexColor } from './getValidHexColor/getValidHexColor.js';
|
|
6
4
|
import { getDeepLinks } from './getDeepLinks/getDeepLinks.js';
|
|
7
5
|
import { getDownloadLinks } from './getDownloadLinks/getDownloadLinks.js';
|
|
6
|
+
import { getIconUrl } from './getIconUrl/getIconUrl.js';
|
|
7
|
+
import { getValidHexColor } from './getValidHexColor/getValidHexColor.js';
|
|
8
8
|
import { getWalletLimitations } from './getWalletLimitations/getWalletLimitations.js';
|
|
9
9
|
|
|
10
10
|
const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBook, walletFallback, }) => {
|
|
11
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
12
12
|
if (!isWalletBookPopulated(walletBook) && !walletFallback) {
|
|
13
13
|
logger.warn('Wallet book is required');
|
|
14
14
|
return;
|
|
@@ -30,9 +30,9 @@ const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBo
|
|
|
30
30
|
groupKey: (_b = wallet === null || wallet === void 0 ? void 0 : wallet.chainGroup) !== null && _b !== void 0 ? _b : wallet === null || wallet === void 0 ? void 0 : wallet.walletGroup,
|
|
31
31
|
icon: (_d = getIconUrl((_c = wallet === null || wallet === void 0 ? void 0 : wallet.brand) === null || _c === void 0 ? void 0 : _c.spriteId)) !== null && _d !== void 0 ? _d : '',
|
|
32
32
|
id: walletKey,
|
|
33
|
-
inAppBrowserUrl: (_f = (_e = wallet.mobile) === null || _e === void 0 ? void 0 : _e.
|
|
33
|
+
inAppBrowserUrl: (_h = (_f = (_e = wallet.mobile) === null || _e === void 0 ? void 0 : _e.inAppBrowserV2) !== null && _f !== void 0 ? _f : (_g = wallet.mobile) === null || _g === void 0 ? void 0 : _g.inAppBrowser) !== null && _h !== void 0 ? _h : undefined,
|
|
34
34
|
name: wallet.name,
|
|
35
|
-
rdns: (
|
|
35
|
+
rdns: (_j = wallet.eip6963Config) === null || _j === void 0 ? void 0 : _j.rdns,
|
|
36
36
|
supportedHardwareWallets: wallet.hardwareWallets,
|
|
37
37
|
walletLimitations: getWalletLimitations(wallet.walletLimitations),
|
|
38
38
|
};
|