diff --git a/.changeset/fifty-toes-drive.md b/.changeset/fifty-toes-drive.md deleted file mode 100644 index 4954913c73..0000000000 --- a/.changeset/fifty-toes-drive.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'wagmi-private': minor -'wagmi': minor -'wagmi-testing': minor ---- - -Moves connectors to their own entrypoints to reduce bundle size. - -```ts -// old - WalletLinkConnector unused, but still in final bundle -import { InjectedConnector, WalletConnectConnector } from 'wagmi' - -// new - WalletLinkConnector not in final bundle -import { InjectedConnector } from 'wagmi/connectors/injected' -import { WalletConnectConnector } from 'wagmi/connectors/walletConnect' -``` diff --git a/docs/package.json b/docs/package.json index 92db1d9e29..57b560b413 100644 --- a/docs/package.json +++ b/docs/package.json @@ -18,7 +18,7 @@ "nextra-theme-docs": "2.0.0-beta.5", "react": "17.0.2", "react-dom": "17.0.2", - "wagmi": "0.0.17" + "wagmi": "0.1.0" }, "devDependencies": { "@types/node": "17.0.5", diff --git a/examples/next/package.json b/examples/next/package.json index 65d7bb8a74..366bb292ea 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -12,7 +12,7 @@ "next": "12.0.7", "react": "17.0.2", "react-dom": "17.0.2", - "wagmi": "0.0.17" + "wagmi": "0.1.0" }, "devDependencies": { "@preconstruct/next": "^3.0.1", diff --git a/examples/vite-react/package.json b/examples/vite-react/package.json index 07e3a64547..13fc0af046 100644 --- a/examples/vite-react/package.json +++ b/examples/vite-react/package.json @@ -14,7 +14,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "util": "^0.12.4", - "wagmi": "0.0.17" + "wagmi": "0.1.0" }, "devDependencies": { "@types/react": "^17.0.33", diff --git a/packages/private/CHANGELOG.md b/packages/private/CHANGELOG.md index c42c1c1a75..c8386a521d 100644 --- a/packages/private/CHANGELOG.md +++ b/packages/private/CHANGELOG.md @@ -1,5 +1,20 @@ # wagmi-private +## 0.1.0 + +### Minor Changes + +- [#52](https://github.com/tmm/wagmi/pull/52) [`da7a3a6`](https://github.com/tmm/wagmi/commit/da7a3a615def2443f65c041999100ce35e9774cc) Thanks [@tmm](https://github.com/tmm)! - Moves connectors to their own entrypoints to reduce bundle size. + + ```ts + // old - WalletLinkConnector unused, but still in final bundle + import { InjectedConnector, WalletConnectConnector } from 'wagmi' + + // new - WalletLinkConnector not in final bundle + import { InjectedConnector } from 'wagmi/connectors/injected' + import { WalletConnectConnector } from 'wagmi/connectors/walletConnect' + ``` + ## 0.0.17 ### Patch Changes diff --git a/packages/private/package.json b/packages/private/package.json index 12356eaaf3..fc5f286cc2 100644 --- a/packages/private/package.json +++ b/packages/private/package.json @@ -1,7 +1,7 @@ { "name": "wagmi-private", "license": "MIT", - "version": "0.0.17", + "version": "0.1.0", "ethereum": "awkweb.eth", "sideEffects": false, "main": "dist/wagmi-private.cjs.js", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 22bd68b278..a6c092b9d8 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,25 @@ # wagmi +## 0.1.0 + +### Minor Changes + +- [#52](https://github.com/tmm/wagmi/pull/52) [`da7a3a6`](https://github.com/tmm/wagmi/commit/da7a3a615def2443f65c041999100ce35e9774cc) Thanks [@tmm](https://github.com/tmm)! - Moves connectors to their own entrypoints to reduce bundle size. + + ```ts + // old - WalletLinkConnector unused, but still in final bundle + import { InjectedConnector, WalletConnectConnector } from 'wagmi' + + // new - WalletLinkConnector not in final bundle + import { InjectedConnector } from 'wagmi/connectors/injected' + import { WalletConnectConnector } from 'wagmi/connectors/walletConnect' + ``` + +### Patch Changes + +- Updated dependencies [[`da7a3a6`](https://github.com/tmm/wagmi/commit/da7a3a615def2443f65c041999100ce35e9774cc)]: + - wagmi-private@0.1.0 + ## 0.0.17 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index a8f17504a1..6f44330a29 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -2,7 +2,7 @@ "name": "wagmi", "description": "React Hooks library for Ethereum", "license": "MIT", - "version": "0.0.17", + "version": "0.1.0", "ethereum": "awkweb.eth", "repository": "tmm/wagmi", "homepage": "https://wagmi-xyz.vercel.app", @@ -47,7 +47,7 @@ "dependencies": { "@walletconnect/ethereum-provider": "^1.6.6", "@ethersproject/providers": "^5.5.1", - "wagmi-private": "0.0.17", + "wagmi-private": "0.1.0", "walletlink": "^2.2.8" }, "devDependencies": { @@ -57,6 +57,6 @@ "ethers": "^5.5.1", "react": "^17.0.0", "walletlink": "^2.2.8", - "wagmi-testing": "0.0.17" + "wagmi-testing": "0.1.0" } } diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index ef4a223040..1d8202f7a2 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,25 @@ # wagmi-testing +## 0.1.0 + +### Minor Changes + +- [#52](https://github.com/tmm/wagmi/pull/52) [`da7a3a6`](https://github.com/tmm/wagmi/commit/da7a3a615def2443f65c041999100ce35e9774cc) Thanks [@tmm](https://github.com/tmm)! - Moves connectors to their own entrypoints to reduce bundle size. + + ```ts + // old - WalletLinkConnector unused, but still in final bundle + import { InjectedConnector, WalletConnectConnector } from 'wagmi' + + // new - WalletLinkConnector not in final bundle + import { InjectedConnector } from 'wagmi/connectors/injected' + import { WalletConnectConnector } from 'wagmi/connectors/walletConnect' + ``` + +### Patch Changes + +- Updated dependencies [[`da7a3a6`](https://github.com/tmm/wagmi/commit/da7a3a615def2443f65c041999100ce35e9774cc)]: + - wagmi-private@0.1.0 + ## 0.0.17 ### Patch Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index 2e31694ea4..92205ae090 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -2,7 +2,7 @@ "name": "wagmi-testing", "description": "Testing utils for wagmi", "license": "MIT", - "version": "0.0.17", + "version": "0.1.0", "ethereum": "awkweb.eth", "sideEffects": false, "main": "dist/wagmi-testing.cjs.js", @@ -30,7 +30,7 @@ "eventemitter3": "^4.0.7", "msw": "^0.36.3", "ts-pattern": "^3.3.4", - "wagmi-private": "0.0.17" + "wagmi-private": "0.1.0" }, "devDependencies": { "ethers": "^5.5.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 62a95573cf..e2e4889446 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -101,7 +101,7 @@ importers: react-dom: 17.0.2 tailwindcss: 2.2.4 typescript: 4.5.4 - wagmi: 0.0.17 + wagmi: 0.1.0 dependencies: '@reach/skip-nav': 0.16.0_react-dom@17.0.2+react@17.0.2 degen: 0.0.49_react-dom@17.0.2+react@17.0.2 @@ -135,7 +135,7 @@ importers: react: 17.0.2 react-dom: 17.0.2 typescript: 4.5.4 - wagmi: 0.0.17 + wagmi: 0.1.0 dependencies: ethers: 5.5.2 next: 12.0.7_08e041ced5dbc85933fef7a25e63a057 @@ -164,7 +164,7 @@ importers: typescript: ^4.4.4 util: ^0.12.4 vite: ^2.7.2 - wagmi: 0.0.17 + wagmi: 0.1.0 dependencies: buffer: 6.0.3 ethers: 5.5.2 @@ -204,8 +204,8 @@ importers: '@walletconnect/ethereum-provider': ^1.6.6 ethers: ^5.5.1 react: ^17.0.0 - wagmi-private: 0.0.17 - wagmi-testing: 0.0.17 + wagmi-private: 0.1.0 + wagmi-testing: 0.1.0 walletlink: ^2.2.8 dependencies: '@ethersproject/providers': 5.5.1 @@ -226,7 +226,7 @@ importers: eventemitter3: ^4.0.7 msw: ^0.36.3 ts-pattern: ^3.3.4 - wagmi-private: 0.0.17 + wagmi-private: 0.1.0 dependencies: '@ethersproject/providers': 5.5.1 eventemitter3: 4.0.7