@dynamic-labs/sdk-react-core 0.17.0-RC.31 → 0.17.0-RC.32
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,11 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.17.0-RC.32](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.31...v0.17.0-RC.32) (2023-06-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* missing walletlist when filter finds no wallets ([#2289](https://github.com/dynamic-labs/DynamicAuth/issues/2289)) ([a7708d3](https://github.com/dynamic-labs/DynamicAuth/commit/a7708d3eab9609daa4c860555f5804f280958da5))
|
|
8
|
+
|
|
2
9
|
## [0.17.0-RC.31](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.30...v0.17.0-RC.31) (2023-06-09)
|
|
3
10
|
|
|
4
11
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "0.17.0-RC.
|
|
3
|
+
"version": "0.17.0-RC.32",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"formik": "2.2.9",
|
|
17
17
|
"qrcode": "1.5.1",
|
|
18
18
|
"ethers": "5.7.2",
|
|
19
|
-
"@dynamic-labs/logger": "0.17.0-RC.
|
|
20
|
-
"@dynamic-labs/multi-wallet": "0.17.0-RC.
|
|
21
|
-
"@dynamic-labs/rpc-providers": "0.17.0-RC.
|
|
22
|
-
"@dynamic-labs/types": "0.17.0-RC.
|
|
23
|
-
"@dynamic-labs/utils": "0.17.0-RC.
|
|
24
|
-
"@dynamic-labs/wallet-book": "0.17.0-RC.
|
|
25
|
-
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.
|
|
19
|
+
"@dynamic-labs/logger": "0.17.0-RC.32",
|
|
20
|
+
"@dynamic-labs/multi-wallet": "0.17.0-RC.32",
|
|
21
|
+
"@dynamic-labs/rpc-providers": "0.17.0-RC.32",
|
|
22
|
+
"@dynamic-labs/types": "0.17.0-RC.32",
|
|
23
|
+
"@dynamic-labs/utils": "0.17.0-RC.32",
|
|
24
|
+
"@dynamic-labs/wallet-book": "0.17.0-RC.32",
|
|
25
|
+
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.32"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"semver": "7.3.8"
|
|
@@ -69,7 +69,7 @@ const WalletList = ({ isWalletConnectList = false, }) => {
|
|
|
69
69
|
};
|
|
70
70
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", Object.assign({ className: 'wallet-list__container' }, { children: [error && jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: error }), !projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { className: 'wallet-list__search-skeleton' })) : (isSearchEnabled && (jsxRuntime.jsx(Search.Search, { label: `Search through ${numberOfWallets} wallets...`, value: filterValue, onChange: ({ target: { value } }) => setFilterValue(value), onClickClear: () => setFilterValue('') }))), jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('wallet-list__scroll-container', {
|
|
71
71
|
'wallet-list__scroll-container--full-height': isSearchEnabled,
|
|
72
|
-
}), "data-testid": 'wallet-list-scroll-container', ref: walletListScrollRef, onScroll: handleScroll }, { children: [!projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { count: 10, className: 'wallet-list__tile-skeleton' })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
72
|
+
}), "data-testid": 'wallet-list-scroll-container', ref: walletListScrollRef, onScroll: handleScroll }, { children: [!projectSettings ? (jsxRuntime.jsx(Skeleton.Skeleton, { count: 10, className: 'wallet-list__tile-skeleton' })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [wallets.length === 0 && (jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: "Oops, no login methods have been configured." })), walletsList.map((wallet) => (jsxRuntime.jsx(WalletListItem.WalletListItem, { wallet: wallet, connectedWallets: connectedWallets, usingMultiWallet: isUsingMultiWallet, onResetSearchValue: setFilterValue }, wallet.key)))] })), isSearchEnabled && !filterValue && projectSettings && (jsxRuntime.jsx(SearchInstead.SearchInstead, {}))] }))] })), noDefaultFooter && (jsxRuntime.jsx("div", { className: classNames.classNames('wallet-list__tiny-footer', {
|
|
73
73
|
'wallet-list__tiny-footer--hidden': footerIsVisible,
|
|
74
74
|
}), "data-testid": 'wallet-list-tiny-footer' }))] }));
|
|
75
75
|
};
|
|
@@ -65,7 +65,7 @@ const WalletList = ({ isWalletConnectList = false, }) => {
|
|
|
65
65
|
};
|
|
66
66
|
return (jsxs(Fragment, { children: [jsxs("div", Object.assign({ className: 'wallet-list__container' }, { children: [error && jsx(ErrorContainer, { children: error }), !projectSettings ? (jsx(Skeleton, { className: 'wallet-list__search-skeleton' })) : (isSearchEnabled && (jsx(Search, { label: `Search through ${numberOfWallets} wallets...`, value: filterValue, onChange: ({ target: { value } }) => setFilterValue(value), onClickClear: () => setFilterValue('') }))), jsxs("div", Object.assign({ className: classNames('wallet-list__scroll-container', {
|
|
67
67
|
'wallet-list__scroll-container--full-height': isSearchEnabled,
|
|
68
|
-
}), "data-testid": 'wallet-list-scroll-container', ref: walletListScrollRef, onScroll: handleScroll }, { children: [!projectSettings ? (jsx(Skeleton, { count: 10, className: 'wallet-list__tile-skeleton' })) : (jsxs(Fragment, { children: [
|
|
68
|
+
}), "data-testid": 'wallet-list-scroll-container', ref: walletListScrollRef, onScroll: handleScroll }, { children: [!projectSettings ? (jsx(Skeleton, { count: 10, className: 'wallet-list__tile-skeleton' })) : (jsxs(Fragment, { children: [wallets.length === 0 && (jsx(ErrorContainer, { children: "Oops, no login methods have been configured." })), walletsList.map((wallet) => (jsx(WalletListItem, { wallet: wallet, connectedWallets: connectedWallets, usingMultiWallet: isUsingMultiWallet, onResetSearchValue: setFilterValue }, wallet.key)))] })), isSearchEnabled && !filterValue && projectSettings && (jsx(SearchInstead, {}))] }))] })), noDefaultFooter && (jsx("div", { className: classNames('wallet-list__tiny-footer', {
|
|
69
69
|
'wallet-list__tiny-footer--hidden': footerIsVisible,
|
|
70
70
|
}), "data-testid": 'wallet-list-tiny-footer' }))] }));
|
|
71
71
|
};
|