@dynamic-labs/sdk-react-core 4.31.0 → 4.31.1
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 +7 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +1 -4
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.31.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.31.0...v4.31.1) (2025-09-10)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* convert y parity to number instead of bigint ([#9476](https://github.com/dynamic-labs/dynamic-auth/issues/9476)) ([1e779ef](https://github.com/dynamic-labs/dynamic-auth/commit/1e779ef4217877b15857e6f8cd4e02da5d7830df))
|
|
8
|
+
|
|
2
9
|
## [4.31.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.30.4...v4.31.0) (2025-09-09)
|
|
3
10
|
|
|
4
11
|
### Features
|
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": "4.31.
|
|
3
|
+
"version": "4.31.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.762",
|
|
6
6
|
"@dynamic-labs-sdk/client": "0.1.0-alpha.3",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"yup": "0.32.11",
|
|
16
16
|
"react-international-phone": "4.5.0",
|
|
17
17
|
"bs58": "5.0.0",
|
|
18
|
-
"@dynamic-labs/assert-package-version": "4.31.
|
|
19
|
-
"@dynamic-labs/iconic": "4.31.
|
|
20
|
-
"@dynamic-labs/logger": "4.31.
|
|
21
|
-
"@dynamic-labs/multi-wallet": "4.31.
|
|
22
|
-
"@dynamic-labs/rpc-providers": "4.31.
|
|
23
|
-
"@dynamic-labs/store": "4.31.
|
|
24
|
-
"@dynamic-labs/types": "4.31.
|
|
25
|
-
"@dynamic-labs/utils": "4.31.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.31.
|
|
27
|
-
"@dynamic-labs/wallet-connector-core": "4.31.
|
|
18
|
+
"@dynamic-labs/assert-package-version": "4.31.1",
|
|
19
|
+
"@dynamic-labs/iconic": "4.31.1",
|
|
20
|
+
"@dynamic-labs/logger": "4.31.1",
|
|
21
|
+
"@dynamic-labs/multi-wallet": "4.31.1",
|
|
22
|
+
"@dynamic-labs/rpc-providers": "4.31.1",
|
|
23
|
+
"@dynamic-labs/store": "4.31.1",
|
|
24
|
+
"@dynamic-labs/types": "4.31.1",
|
|
25
|
+
"@dynamic-labs/utils": "4.31.1",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.31.1",
|
|
27
|
+
"@dynamic-labs/wallet-connector-core": "4.31.1",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs
CHANGED
|
@@ -27,12 +27,9 @@ const groupWalletOptions = (walletGroups, walletOptionList) => {
|
|
|
27
27
|
}
|
|
28
28
|
// Validate if there is any other wallet with the same group
|
|
29
29
|
const isThereWalletOptionWithSameGroup = walletOptionList.some((walletOption) => {
|
|
30
|
-
var _a;
|
|
31
30
|
const isSameGroup = currentWalletOption.group === walletOption.group;
|
|
32
31
|
const isDifferentKey = currentWalletOption.key !== walletOption.key;
|
|
33
|
-
|
|
34
|
-
walletOption.injectedConfig.length > 1;
|
|
35
|
-
return isSameGroup && (hasInjectedConfig || isDifferentKey);
|
|
32
|
+
return isSameGroup && isDifferentKey;
|
|
36
33
|
});
|
|
37
34
|
// Avoid group creation if there only one wallet in group
|
|
38
35
|
if (!isThereWalletOptionWithSameGroup) {
|
package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js
CHANGED
|
@@ -23,12 +23,9 @@ const groupWalletOptions = (walletGroups, walletOptionList) => {
|
|
|
23
23
|
}
|
|
24
24
|
// Validate if there is any other wallet with the same group
|
|
25
25
|
const isThereWalletOptionWithSameGroup = walletOptionList.some((walletOption) => {
|
|
26
|
-
var _a;
|
|
27
26
|
const isSameGroup = currentWalletOption.group === walletOption.group;
|
|
28
27
|
const isDifferentKey = currentWalletOption.key !== walletOption.key;
|
|
29
|
-
|
|
30
|
-
walletOption.injectedConfig.length > 1;
|
|
31
|
-
return isSameGroup && (hasInjectedConfig || isDifferentKey);
|
|
28
|
+
return isSameGroup && isDifferentKey;
|
|
32
29
|
});
|
|
33
30
|
// Avoid group creation if there only one wallet in group
|
|
34
31
|
if (!isThereWalletOptionWithSameGroup) {
|