@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 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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "0.17.0-RC.26";
5
+ var version = "0.17.0-RC.27";
6
6
  var dependencies = {
7
7
  "react-focus-lock": "2.9.2",
8
8
  "@dynamic-labs/iconic": "0.1.19",
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "0.17.0-RC.26";
1
+ var version = "0.17.0-RC.27";
2
2
  var dependencies = {
3
3
  "react-focus-lock": "2.9.2",
4
4
  "@dynamic-labs/iconic": "0.1.19",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "0.17.0-RC.26",
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.26",
21
- "@dynamic-labs/multi-wallet": "0.17.0-RC.26",
22
- "@dynamic-labs/rpc-providers": "0.17.0-RC.26",
23
- "@dynamic-labs/types": "0.17.0-RC.26",
24
- "@dynamic-labs/utils": "0.17.0-RC.26",
25
- "@dynamic-labs/wallet-connector-core": "0.17.0-RC.26"
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(() => {
@@ -16,4 +16,4 @@
16
16
  * value = true, previousValue will have been set to true so the condition will be false and the
17
17
  * effect will not run.
18
18
  */
19
- export declare const usePrevious: (value: any) => undefined;
19
+ export declare const usePrevious: <T>(value: T) => T | undefined;
@@ -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, }) => {
@@ -19,6 +19,7 @@ const userFieldsSchema = object().shape({
19
19
  phoneNumber: string(),
20
20
  tShirtSize: string(),
21
21
  team: string(),
22
+ username: string(),
22
23
  });
23
24
  // Hook exposed to the public
24
25
  const useUserUpdateRequestInternal = ({ validationSchemaStripUnknown, }) => {