@dynamic-labs/wagmi-connector 0.17.0-RC.4 → 0.17.0-RC.6

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,20 @@
1
1
 
2
+ ## [0.17.0-RC.6](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.5...v0.17.0-RC.6) (2023-04-25)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * pass autoConnect to true on wagmi client ([#1957](https://github.com/dynamic-labs/DynamicAuth/issues/1957)) ([10b9df8](https://github.com/dynamic-labs/DynamicAuth/commit/10b9df87374e9d4c4d85b98110cc10e84ed35cb8))
8
+ * trigger onAuthSuccess on additional flows ([#1953](https://github.com/dynamic-labs/DynamicAuth/issues/1953)) ([a485231](https://github.com/dynamic-labs/DynamicAuth/commit/a4852312bc8a11136b391ca59d38755397c00f76))
9
+
10
+ ## [0.17.0-RC.5](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.4...v0.17.0-RC.5) (2023-04-24)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **Cypress:** add polyfills ([#1945](https://github.com/dynamic-labs/DynamicAuth/issues/1945)) ([4902ecf](https://github.com/dynamic-labs/DynamicAuth/commit/4902ecf74306cc052c2df52796e1b254fb1829e5))
16
+ * **DYN-2261:** hide authorization flow after network switch ([#1942](https://github.com/dynamic-labs/DynamicAuth/issues/1942)) ([cc3ca53](https://github.com/dynamic-labs/DynamicAuth/commit/cc3ca5398191f18046958cc950cec25d6043fab3))
17
+
2
18
  ## [0.17.0-RC.4](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.3...v0.17.0-RC.4) (2023-04-22)
3
19
 
4
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wagmi-connector",
3
- "version": "0.17.0-RC.4",
3
+ "version": "0.17.0-RC.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -11,8 +11,8 @@
11
11
  "react": "^17.0.2 || ^18.0.0",
12
12
  "ethers": "^5.7.2",
13
13
  "wagmi": "~0.10.3",
14
- "@dynamic-labs/sdk-react": "0.17.0-RC.4",
15
- "@dynamic-labs/sdk-react-core": "0.17.0-RC.4"
14
+ "@dynamic-labs/sdk-react": "0.17.0-RC.6",
15
+ "@dynamic-labs/sdk-react-core": "0.17.0-RC.6"
16
16
  },
17
17
  "license": "MIT",
18
18
  "main": "./src/index.cjs",
@@ -33,7 +33,7 @@ const DynamicWagmiConnector = ({ evmNetworks: customerSuppliedEvmNetworks, child
33
33
  else if (connector && !walletConnector) {
34
34
  connector = undefined;
35
35
  }
36
- client.config = Object.assign(Object.assign({}, client.config), { connectors: connector ? [connector] : [], provider });
36
+ client.config = Object.assign(Object.assign({}, client.config), { autoConnect: true, connectors: connector ? [connector] : [], provider });
37
37
  // use React.createElement to prevent bunding react/jsx-runtime,
38
38
  // which is not compatible when bundling apps using React 17
39
39
  return React.createElement(WagmiConfig, { client: client }, React.createElement(SyncDynamicWagmi, { connector }, children));