@dynamic-labs/sdk-react-core 0.17.0-RC.26 → 0.17.0-RC.27
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 +12 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +7 -7
- package/src/lib/utils/hooks/usePrevious/usePrevious.cjs +0 -1
- package/src/lib/utils/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/src/lib/utils/hooks/usePrevious/usePrevious.js +0 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.17.0-RC.27](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.26...v0.17.0-RC.27) (2023-06-06)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* sync wagmi to first connected eth wallet ([#2253](https://github.com/dynamic-labs/DynamicAuth/issues/2253)) ([c00aed7](https://github.com/dynamic-labs/DynamicAuth/commit/c00aed73a1014c668311c8cb59e5a466b5ee6779))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* include username in userFieldsSchema ([#2257](https://github.com/dynamic-labs/DynamicAuth/issues/2257)) ([6e5431d](https://github.com/dynamic-labs/DynamicAuth/commit/6e5431d08323d718b11accf3790ef56fc7325b5c))
|
|
13
|
+
|
|
2
14
|
## [0.17.0-RC.26](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.25...v0.17.0-RC.26) (2023-06-05)
|
|
3
15
|
|
|
4
16
|
|
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.27",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"formik": "2.2.9",
|
|
18
18
|
"qrcode": "1.5.1",
|
|
19
19
|
"ethers": "5.7.2",
|
|
20
|
-
"@dynamic-labs/logger": "0.17.0-RC.
|
|
21
|
-
"@dynamic-labs/multi-wallet": "0.17.0-RC.
|
|
22
|
-
"@dynamic-labs/rpc-providers": "0.17.0-RC.
|
|
23
|
-
"@dynamic-labs/types": "0.17.0-RC.
|
|
24
|
-
"@dynamic-labs/utils": "0.17.0-RC.
|
|
25
|
-
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.
|
|
20
|
+
"@dynamic-labs/logger": "0.17.0-RC.27",
|
|
21
|
+
"@dynamic-labs/multi-wallet": "0.17.0-RC.27",
|
|
22
|
+
"@dynamic-labs/rpc-providers": "0.17.0-RC.27",
|
|
23
|
+
"@dynamic-labs/types": "0.17.0-RC.27",
|
|
24
|
+
"@dynamic-labs/utils": "0.17.0-RC.27",
|
|
25
|
+
"@dynamic-labs/wallet-connector-core": "0.17.0-RC.27"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"semver": "7.3.8"
|
|
@@ -22,7 +22,6 @@ var React = require('react');
|
|
|
22
22
|
* value = true, previousValue will have been set to true so the condition will be false and the
|
|
23
23
|
* effect will not run.
|
|
24
24
|
*/
|
|
25
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
25
|
const usePrevious = (value) => {
|
|
27
26
|
const ref = React.useRef();
|
|
28
27
|
React.useEffect(() => {
|
|
@@ -18,7 +18,6 @@ import { useRef, useEffect } from 'react';
|
|
|
18
18
|
* value = true, previousValue will have been set to true so the condition will be false and the
|
|
19
19
|
* effect will not run.
|
|
20
20
|
*/
|
|
21
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
21
|
const usePrevious = (value) => {
|
|
23
22
|
const ref = useRef();
|
|
24
23
|
useEffect(() => {
|
|
@@ -23,6 +23,7 @@ const userFieldsSchema = yup.object().shape({
|
|
|
23
23
|
phoneNumber: yup.string(),
|
|
24
24
|
tShirtSize: yup.string(),
|
|
25
25
|
team: yup.string(),
|
|
26
|
+
username: yup.string(),
|
|
26
27
|
});
|
|
27
28
|
// Hook exposed to the public
|
|
28
29
|
const useUserUpdateRequestInternal = ({ validationSchemaStripUnknown, }) => {
|