@dynamic-labs/wagmi-connector 0.16.0-RC.3 → 0.16.0-RC.5

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,40 @@
1
1
 
2
+ ## [0.16.0-RC.5](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.0-RC.4...v0.16.0-RC.5) (2023-03-16)
3
+
4
+
5
+ ### Features
6
+
7
+ * add modal backdrop css variables ([8b872d4](https://github.com/dynamic-labs/DynamicAuth/commit/8b872d403437da4232698dd059ad727aec74c24b))
8
+ * add optional evmNetworks prop to dynamic wagmi connector ([29f1a95](https://github.com/dynamic-labs/DynamicAuth/commit/29f1a951b96ab17025da60e95cceeda2e7d644e9))
9
+ * add optional evmNetworks prop to dynamic wagmi connector ([62da3fa](https://github.com/dynamic-labs/DynamicAuth/commit/62da3fa024480c65eea7343037101e9a65b79ffa))
10
+ * implement @dynamic-labs/wallet-book ([f6ebbee](https://github.com/dynamic-labs/DynamicAuth/commit/f6ebbee99786409cb8ee037a53942bac3aab1ca6))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **bundle_size:** move bundle size to its own CI job ([6870845](https://github.com/dynamic-labs/DynamicAuth/commit/68708457464f7d740e055cda00dd5c26f42d8c83))
16
+ * coolwallet icon id ([c48e1bf](https://github.com/dynamic-labs/DynamicAuth/commit/c48e1bf4331594d11f3fceee17fc726a7f28970d))
17
+ * **DYN-2016:** User is not able to logout when 'wallet not connected' promp shows ([a19b113](https://github.com/dynamic-labs/DynamicAuth/commit/a19b1132290c5602c4cbfb24240588d2343da0d6))
18
+ * image-update-npm ([ae05791](https://github.com/dynamic-labs/DynamicAuth/commit/ae05791434c6f12cc3953bcda33d430d15b056d0))
19
+ * **magic_wallet:** add confirmation to transactions ([14d0e20](https://github.com/dynamic-labs/DynamicAuth/commit/14d0e2069e64a393d82f97d7214d8449e930b341))
20
+ * **react-focus-lock:** ensure it will not fight with blocto focus ([631f0f9](https://github.com/dynamic-labs/DynamicAuth/commit/631f0f9c6bdeca47baec65078f996e0ae26bb905))
21
+ * **UserAddress:** use correct user address in UserAddress component ([9ea8754](https://github.com/dynamic-labs/DynamicAuth/commit/9ea875482fe2f27aaeb97a7186596f85489a44b4))
22
+ * **UserProfile:** Submit button should be active after changes are made ([3d36e2e](https://github.com/dynamic-labs/DynamicAuth/commit/3d36e2e374646f7981765845a2c547af969927a1))
23
+
24
+ ## [0.16.0-RC.4](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.0-RC.3...v0.16.0-RC.4) (2023-03-10)
25
+
26
+
27
+ ### Features
28
+
29
+ * Show toolkit on user profile open ([fe373be](https://github.com/dynamic-labs/DynamicAuth/commit/fe373be16b54727bb6596b6bae3e42afa3b3262b))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **DYN-144:** Dynamic widget should show when multiWalletWidgetState changes ([1e0ae27](https://github.com/dynamic-labs/DynamicAuth/commit/1e0ae27bb99d95a2e436f011302c532dfecfc3db))
35
+ * **dynamic_context:** use token to check if is authenticated ([88e4de4](https://github.com/dynamic-labs/DynamicAuth/commit/88e4de44636078bfc2408130ec526d75f0909f93))
36
+ * update validateAuthUser to account for verified credential with emails ([4d3ab68](https://github.com/dynamic-labs/DynamicAuth/commit/4d3ab6812525efa9e042374150ba59fe47596212))
37
+
2
38
  ## [0.16.0-RC.3](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.0-RC.2...v0.16.0-RC.3) (2023-03-08)
3
39
 
4
40
  ## [0.16.0-RC.2](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.0-RC.1...v0.16.0-RC.2) (2023-03-08)
package/index.cjs CHANGED
@@ -2086,6 +2086,7 @@ const client = wagmi.createClient({
2086
2086
  */
2087
2087
  let connector = undefined;
2088
2088
  const DynamicWagmiConnector = ({
2089
+ evmNetworks: customerSuppliedEvmNetworks,
2089
2090
  children
2090
2091
  }) => {
2091
2092
  var _a;
@@ -2094,7 +2095,7 @@ const DynamicWagmiConnector = ({
2094
2095
  walletConnector,
2095
2096
  handleLogOut
2096
2097
  } = sdkReact.useDynamicContext();
2097
- const evmNetworks = (_a = networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) !== null && _a !== void 0 ? _a : [];
2098
+ const evmNetworks = (_a = customerSuppliedEvmNetworks !== null && customerSuppliedEvmNetworks !== void 0 ? customerSuppliedEvmNetworks : networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) !== null && _a !== void 0 ? _a : [];
2098
2099
  const mappedChains = getWagmiChainsFromDynamicChains(evmNetworks);
2099
2100
  const mappedProviders = getWagmiProvidersFromDynamicChains(evmNetworks);
2100
2101
  const {
package/index.js CHANGED
@@ -2059,6 +2059,7 @@ const client = createClient({
2059
2059
  */
2060
2060
  let connector = undefined;
2061
2061
  const DynamicWagmiConnector = ({
2062
+ evmNetworks: customerSuppliedEvmNetworks,
2062
2063
  children
2063
2064
  }) => {
2064
2065
  var _a;
@@ -2067,7 +2068,7 @@ const DynamicWagmiConnector = ({
2067
2068
  walletConnector,
2068
2069
  handleLogOut
2069
2070
  } = useDynamicContext();
2070
- const evmNetworks = (_a = networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) !== null && _a !== void 0 ? _a : [];
2071
+ const evmNetworks = (_a = customerSuppliedEvmNetworks !== null && customerSuppliedEvmNetworks !== void 0 ? customerSuppliedEvmNetworks : networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) !== null && _a !== void 0 ? _a : [];
2071
2072
  const mappedChains = getWagmiChainsFromDynamicChains(evmNetworks);
2072
2073
  const mappedProviders = getWagmiProvidersFromDynamicChains(evmNetworks);
2073
2074
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wagmi-connector",
3
- "version": "0.16.0-RC.3",
3
+ "version": "0.16.0-RC.5",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,8 +12,8 @@
12
12
  "react": "^17.0.2 || ^18.0.0",
13
13
  "ethers": "^5.7.2",
14
14
  "wagmi": "~0.10.3",
15
- "@dynamic-labs/multi-wallet": "0.16.0-RC.3",
16
- "@dynamic-labs/sdk-react": "0.16.0-RC.3"
15
+ "@dynamic-labs/multi-wallet": "0.16.0-RC.5",
16
+ "@dynamic-labs/sdk-react": "0.16.0-RC.5"
17
17
  },
18
18
  "license": "MIT",
19
19
  "module": "./index.js",
@@ -1,4 +1,8 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare const DynamicWagmiConnector: ({ children, }: {
2
+ import { EvmNetwork } from '@dynamic-labs/sdk-react';
3
+ type DynamicWagmiConnectorProps = {
3
4
  children: ReactNode;
4
- }) => React.FunctionComponentElement<React.PropsWithChildren<import("wagmi").WagmiConfigProps<import("@wagmi/core/dist/index-37d6352e").P, import("@wagmi/core/dist/index-37d6352e").W>>>;
5
+ evmNetworks?: EvmNetwork[];
6
+ };
7
+ export declare const DynamicWagmiConnector: ({ evmNetworks: customerSuppliedEvmNetworks, children, }: DynamicWagmiConnectorProps) => React.FunctionComponentElement<React.PropsWithChildren<import("wagmi").WagmiConfigProps<import("@wagmi/core/dist/index-37d6352e").P, import("@wagmi/core/dist/index-37d6352e").W>>>;
8
+ export {};