@dynamic-labs/sdk-react-core 0.16.16 → 0.16.17

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,12 @@
1
1
 
2
+ ### [0.16.17](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.16...v0.16.17) (2023-05-30)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **DYN-2327:** user profile is not loaded properly on the first load ([#2125](https://github.com/dynamic-labs/DynamicAuth/issues/2125)) ([aeeb5c2](https://github.com/dynamic-labs/DynamicAuth/commit/aeeb5c24e5d62caab0b17575b03a0fb452a7e6a2))
8
+ * use getWalletLinks in handleMobileWalletFilter ([#2185](https://github.com/dynamic-labs/DynamicAuth/issues/2185)) ([#2186](https://github.com/dynamic-labs/DynamicAuth/issues/2186)) ([c542f3c](https://github.com/dynamic-labs/DynamicAuth/commit/c542f3c83cc229daa60a2de146823530285ea028))
9
+
2
10
  ### [0.16.16](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.15...v0.16.16) (2023-05-11)
3
11
 
4
12
 
package/package.cjs CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "0.16.16";
5
+ var version = "0.16.17";
6
6
  var dependencies = {
7
7
  "react-focus-lock": "^2.9.2",
8
8
  "@dynamic-labs/sdk-api": "0.0.174",
9
9
  "@dynamic-labs/iconic": "^0.1.19",
10
- "@dynamic-labs/wallet-book": "^0.0.14",
10
+ "@dynamic-labs/wallet-book": "^0.0.18",
11
11
  "@hcaptcha/react-hcaptcha": "~1.4.4",
12
12
  "country-list": "^2.3.0",
13
13
  yup: "^0.32.11",
package/package.js CHANGED
@@ -1,9 +1,9 @@
1
- var version = "0.16.16";
1
+ var version = "0.16.17";
2
2
  var dependencies = {
3
3
  "react-focus-lock": "^2.9.2",
4
4
  "@dynamic-labs/sdk-api": "0.0.174",
5
5
  "@dynamic-labs/iconic": "^0.1.19",
6
- "@dynamic-labs/wallet-book": "^0.0.14",
6
+ "@dynamic-labs/wallet-book": "^0.0.18",
7
7
  "@hcaptcha/react-hcaptcha": "~1.4.4",
8
8
  "country-list": "^2.3.0",
9
9
  yup: "^0.32.11",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "0.16.16",
3
+ "version": "0.16.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -10,16 +10,16 @@
10
10
  "react-focus-lock": "^2.9.2",
11
11
  "@dynamic-labs/sdk-api": "0.0.174",
12
12
  "@dynamic-labs/iconic": "^0.1.19",
13
- "@dynamic-labs/wallet-book": "^0.0.14",
13
+ "@dynamic-labs/wallet-book": "^0.0.18",
14
14
  "@hcaptcha/react-hcaptcha": "~1.4.4",
15
15
  "country-list": "^2.3.0",
16
16
  "yup": "^0.32.11",
17
17
  "formik": "^2.2.9",
18
18
  "qrcode": "1.5.1",
19
19
  "ethers": "^5.7.2",
20
- "@dynamic-labs/logger": "0.16.16",
21
- "@dynamic-labs/multi-wallet": "0.16.16",
22
- "@dynamic-labs/wallet-connector-core": "0.16.16"
20
+ "@dynamic-labs/logger": "0.16.17",
21
+ "@dynamic-labs/multi-wallet": "0.16.17",
22
+ "@dynamic-labs/wallet-connector-core": "0.16.17"
23
23
  },
24
24
  "devDependencies": {
25
25
  "semver": "^7.3.8"
@@ -54,12 +54,12 @@ const DynamicWidgetContextProvider = ({ children, }) => {
54
54
  setDynamicWidgetView(initialView);
55
55
  }, 200);
56
56
  }
57
- }, [showDynamicUserProfile]);
57
+ }, [initialView, showDynamicUserProfile]);
58
58
  // set correct initial view once isKYCEnabled and isMultiWalletEnabled values are correctly set
59
59
  // *isKYCEnabled is always false when the context initializes, so the initial view is set to index
60
60
  React.useEffect(() => {
61
61
  setDynamicWidgetView(initialView);
62
- }, [isKYCEnabled, isMultiWalletEnabled]);
62
+ }, [initialView, isKYCEnabled, isMultiWalletEnabled]);
63
63
  const value = React.useMemo(() => ({
64
64
  availableWalletsContainerRef,
65
65
  dynamicWidgetView,
@@ -50,12 +50,12 @@ const DynamicWidgetContextProvider = ({ children, }) => {
50
50
  setDynamicWidgetView(initialView);
51
51
  }, 200);
52
52
  }
53
- }, [showDynamicUserProfile]);
53
+ }, [initialView, showDynamicUserProfile]);
54
54
  // set correct initial view once isKYCEnabled and isMultiWalletEnabled values are correctly set
55
55
  // *isKYCEnabled is always false when the context initializes, so the initial view is set to index
56
56
  useEffect(() => {
57
57
  setDynamicWidgetView(initialView);
58
- }, [isKYCEnabled, isMultiWalletEnabled]);
58
+ }, [initialView, isKYCEnabled, isMultiWalletEnabled]);
59
59
  const value = useMemo(() => ({
60
60
  availableWalletsContainerRef,
61
61
  dynamicWidgetView,