@dynamic-labs/wallet-book 4.6.2 → 4.7.0
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 +21 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +5 -5
- package/src/components/WalletIcon.cjs +2 -2
- package/src/components/WalletIcon.d.ts +1 -1
- package/src/components/WalletIcon.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.7.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.6.3...v4.7.0) (2025-02-20)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* 7702 support ([14ee3cd](https://github.com/dynamic-labs/dynamic-auth/commit/14ee3cd3513ac8b3e8e866cc2026b042c706b7e6))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* fallback to empty array when token balances is called with an invalid chain ID ([#8108](https://github.com/dynamic-labs/dynamic-auth/issues/8108)) ([7d14ded](https://github.com/dynamic-labs/dynamic-auth/commit/7d14ded6afa0de604901bbc8bc13620d03dc2e8c))
|
|
13
|
+
* improve global connectivity sign typed data reliability ([#8103](https://github.com/dynamic-labs/dynamic-auth/issues/8103)) ([8b0d2dd](https://github.com/dynamic-labs/dynamic-auth/commit/8b0d2ddbeb62a11732a9d59bc6cd4b72d82b9855))
|
|
14
|
+
* **QNTM-2902:** ensure react updates icons ([#8105](https://github.com/dynamic-labs/dynamic-auth/issues/8105)) ([1182c4c](https://github.com/dynamic-labs/dynamic-auth/commit/1182c4cc103c599e6bbff89af9b1312fb96b6d05))
|
|
15
|
+
|
|
16
|
+
### [4.6.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.6.2...v4.6.3) (2025-02-14)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* optimize zerodev connector initialization ([dff1b4d](https://github.com/dynamic-labs/dynamic-auth/commit/dff1b4d410ab06c45635e0114823cbba4b8c1905))
|
|
22
|
+
|
|
2
23
|
### [4.6.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.6.1...v4.6.2) (2025-02-14)
|
|
3
24
|
|
|
4
25
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-book",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"author": "Dynamic Labs, Inc.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.cjs",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "3.22.4",
|
|
20
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
21
|
-
"@dynamic-labs/iconic": "4.
|
|
22
|
-
"@dynamic-labs/logger": "4.
|
|
23
|
-
"@dynamic-labs/utils": "4.
|
|
20
|
+
"@dynamic-labs/assert-package-version": "4.7.0",
|
|
21
|
+
"@dynamic-labs/iconic": "4.7.0",
|
|
22
|
+
"@dynamic-labs/logger": "4.7.0",
|
|
23
|
+
"@dynamic-labs/utils": "4.7.0",
|
|
24
24
|
"eventemitter3": "5.0.1",
|
|
25
25
|
"util": "0.12.5"
|
|
26
26
|
},
|
|
@@ -24,7 +24,7 @@ const WalletBookWalletIcon = (_a) => {
|
|
|
24
24
|
const onError = () => {
|
|
25
25
|
setImgError(true);
|
|
26
26
|
};
|
|
27
|
-
return react.createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletIconAlt, onError: onError, src: imgError ? defaultWalletIconUrl : walletIconUrl }), children);
|
|
27
|
+
return react.createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletIconAlt, key: walletKey, onError: onError, src: imgError ? defaultWalletIconUrl : walletIconUrl }), children);
|
|
28
28
|
};
|
|
29
29
|
const WalletIcon = (_a) => {
|
|
30
30
|
var { icon, walletKey, isGroup, children } = _a, props = _tslib.__rest(_a, ["icon", "walletKey", "isGroup", "children"]);
|
|
@@ -33,7 +33,7 @@ const WalletIcon = (_a) => {
|
|
|
33
33
|
isGroup,
|
|
34
34
|
walletKey }, props));
|
|
35
35
|
}
|
|
36
|
-
return react.createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletKey, src: icon }), children);
|
|
36
|
+
return react.createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletKey, key: walletKey, src: icon }), children);
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
exports.WalletIcon = WalletIcon;
|
|
@@ -8,9 +8,9 @@ type WalletIconProps = React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImage
|
|
|
8
8
|
type WalletBookWalletIconProps = Omit<WalletIconProps, 'icon' | 'iconUrl'>;
|
|
9
9
|
export declare const WalletIcon: ({ icon, walletKey, isGroup, children, ...props }: WalletIconProps) => React.FunctionComponentElement<WalletBookWalletIconProps> | React.DetailedReactHTMLElement<{
|
|
10
10
|
alt: string | undefined;
|
|
11
|
+
key: string | undefined;
|
|
11
12
|
src: string;
|
|
12
13
|
ref?: React.LegacyRef<HTMLImageElement> | undefined;
|
|
13
|
-
key?: React.Key | null | undefined;
|
|
14
14
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
15
15
|
decoding?: "async" | "auto" | "sync" | undefined;
|
|
16
16
|
height?: string | number | undefined;
|
|
@@ -20,7 +20,7 @@ const WalletBookWalletIcon = (_a) => {
|
|
|
20
20
|
const onError = () => {
|
|
21
21
|
setImgError(true);
|
|
22
22
|
};
|
|
23
|
-
return createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletIconAlt, onError: onError, src: imgError ? defaultWalletIconUrl : walletIconUrl }), children);
|
|
23
|
+
return createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletIconAlt, key: walletKey, onError: onError, src: imgError ? defaultWalletIconUrl : walletIconUrl }), children);
|
|
24
24
|
};
|
|
25
25
|
const WalletIcon = (_a) => {
|
|
26
26
|
var { icon, walletKey, isGroup, children } = _a, props = __rest(_a, ["icon", "walletKey", "isGroup", "children"]);
|
|
@@ -29,7 +29,7 @@ const WalletIcon = (_a) => {
|
|
|
29
29
|
isGroup,
|
|
30
30
|
walletKey }, props));
|
|
31
31
|
}
|
|
32
|
-
return createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletKey, src: icon }), children);
|
|
32
|
+
return createElement('img', Object.assign(Object.assign({ 'data-testid': `wallet-icon-${walletKey}` }, props), { alt: walletKey, key: walletKey, src: icon }), children);
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export { WalletIcon };
|