From 938699913ee73c05e766dbc6650759abbd7c26c0 Mon Sep 17 00:00:00 2001 From: Johnson Date: Fri, 26 May 2023 06:12:46 +0800 Subject: [PATCH] chore: update repo url with vu3th/vue-dapp --- CHANGELOG.md | 44 +++++++++++++++++----------------- README.md | 6 ++--- demo/src/components/Header.vue | 2 +- docs/.vitepress/config.js | 2 +- docs/api/components.md | 2 +- docs/api/connectors.md | 4 ++-- docs/api/constants.md | 2 +- docs/api/directives.md | 2 +- docs/api/use-ethers-hooks.md | 2 +- docs/api/use-ethers.md | 2 +- docs/api/use-multicall.md | 2 +- docs/api/use-wallet.md | 2 +- docs/api/utilities.md | 4 ++-- docs/configurations.md | 4 ++-- docs/index.md | 2 +- package.json | 6 ++--- src/connectors/metaMask.ts | 4 ++-- 17 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab52079..718daca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,73 +1,73 @@ -## [0.7.2](https://github.com/chnejohnson/vue-dapp/compare/v0.7.1...v0.7.2) (2023-01-29) +## [0.7.2](https://github.com/vu3th/vue-dapp/compare/v0.7.1...v0.7.2) (2023-01-29) ### Bug Fixes -* autoConnect not working in Firefox ([5b0af51](https://github.com/chnejohnson/vue-dapp/commit/5b0af513c93a34ca261fb6175a02db478bba5a61)) +* autoConnect not working in Firefox ([5b0af51](https://github.com/vu3th/vue-dapp/commit/5b0af513c93a34ca261fb6175a02db478bba5a61)) -## [0.7.1](https://github.com/chnejohnson/vue-dapp/compare/v0.7.0...v0.7.1) (2022-12-22) +## [0.7.1](https://github.com/vu3th/vue-dapp/compare/v0.7.0...v0.7.1) (2022-12-22) ### Bug Fixes -* gnosis safe dynamic import error, and rename localStorage item name ([d7750d0](https://github.com/chnejohnson/vue-dapp/commit/d7750d083ef675b1c2288fb3d78ce41c3c1a9454)) +* gnosis safe dynamic import error, and rename localStorage item name ([d7750d0](https://github.com/vu3th/vue-dapp/commit/d7750d083ef675b1c2288fb3d78ce41c3c1a9454)) -# [0.7.0](https://github.com/chnejohnson/vue-dapp/compare/v0.6.4...v0.7.0) (2022-12-22) +# [0.7.0](https://github.com/vu3th/vue-dapp/compare/v0.6.4...v0.7.0) (2022-12-22) ### Features -* optional peer dependencies with dynamic import to provide opt-in wallet provider modules to install ([d4cb831](https://github.com/chnejohnson/vue-dapp/commit/d4cb831f5c597d578eb090757e73db4fe45d6422)) +* optional peer dependencies with dynamic import to provide opt-in wallet provider modules to install ([d4cb831](https://github.com/vu3th/vue-dapp/commit/d4cb831f5c597d578eb090757e73db4fe45d6422)) -## [0.6.4](https://github.com/chnejohnson/vue-dapp/compare/v0.6.3...v0.6.4) (2022-12-22) +## [0.6.4](https://github.com/vu3th/vue-dapp/compare/v0.6.3...v0.6.4) (2022-12-22) ### Bug Fixes -* remove console.error, and add error handler property on vd-board ([5028f30](https://github.com/chnejohnson/vue-dapp/commit/5028f30dbe523dbdf7b314fc5a5f8fcd3301a96c)) +* remove console.error, and add error handler property on vd-board ([5028f30](https://github.com/vu3th/vue-dapp/commit/5028f30dbe523dbdf7b314fc5a5f8fcd3301a96c)) -## [0.6.3](https://github.com/chnejohnson/vue-dapp/compare/v0.6.2...v0.6.3) (2022-12-22) +## [0.6.3](https://github.com/vu3th/vue-dapp/compare/v0.6.2...v0.6.3) (2022-12-22) ### Bug Fixes -* stay disconnected after clicking disconnect and refreshing page, close [#104](https://github.com/chnejohnson/vue-dapp/issues/104), [#62](https://github.com/chnejohnson/vue-dapp/issues/62) ([7ae9f40](https://github.com/chnejohnson/vue-dapp/commit/7ae9f408adddd897abb86e4d559a0f41645234e1)) +* stay disconnected after clicking disconnect and refreshing page, close [#104](https://github.com/vu3th/vue-dapp/issues/104), [#62](https://github.com/vu3th/vue-dapp/issues/62) ([7ae9f40](https://github.com/vu3th/vue-dapp/commit/7ae9f408adddd897abb86e4d559a0f41645234e1)) -## [0.6.2](https://github.com/chnejohnson/vue-dapp/compare/v0.6.1...v0.6.2) (2022-11-18) +## [0.6.2](https://github.com/vu3th/vue-dapp/compare/v0.6.1...v0.6.2) (2022-11-18) ### Bug Fixes -* uncaught type error when not providing plugin options ([e9d0d2e](https://github.com/chnejohnson/vue-dapp/commit/e9d0d2e0c728020a41b5c4162b4a000a8878c81f)) +* uncaught type error when not providing plugin options ([e9d0d2e](https://github.com/vu3th/vue-dapp/commit/e9d0d2e0c728020a41b5c4162b4a000a8878c81f)) -## [0.6.1](https://github.com/chnejohnson/vue-dapp/compare/v0.6.0...v0.6.1) (2022-11-05) +## [0.6.1](https://github.com/vu3th/vue-dapp/compare/v0.6.0...v0.6.1) (2022-11-05) ### Bug Fixes -* auto-connect with gnosis safe ([05c1f3c](https://github.com/chnejohnson/vue-dapp/commit/05c1f3cb0dd3256224300d8e745e7278ddfed9c4)) -* refactor autoConnect and export isNotSafeApp for users to conditionally include the connector or not ([59d5e26](https://github.com/chnejohnson/vue-dapp/commit/59d5e2674eae067d76e94b77046881ade9720037)) +* auto-connect with gnosis safe ([05c1f3c](https://github.com/vu3th/vue-dapp/commit/05c1f3cb0dd3256224300d8e745e7278ddfed9c4)) +* refactor autoConnect and export isNotSafeApp for users to conditionally include the connector or not ([59d5e26](https://github.com/vu3th/vue-dapp/commit/59d5e2674eae067d76e94b77046881ade9720037)) -# [0.6.0](https://github.com/chnejohnson/vue-dapp/compare/v0.5.9...v0.6.0) (2022-10-23) +# [0.6.0](https://github.com/vu3th/vue-dapp/compare/v0.5.9...v0.6.0) (2022-10-23) ### Features -* automatically load MetaMask wallet, close [#80](https://github.com/chnejohnson/vue-dapp/issues/80) ([69c17ee](https://github.com/chnejohnson/vue-dapp/commit/69c17ee91a53ff6780d66da8ba4351d9700e531c)) +* automatically load MetaMask wallet, close [#80](https://github.com/vu3th/vue-dapp/issues/80) ([69c17ee](https://github.com/vu3th/vue-dapp/commit/69c17ee91a53ff6780d66da8ba4351d9700e531c)) -## [0.5.9](https://github.com/chnejohnson/vue-dapp/compare/v0.5.8...v0.5.9) (2022-10-21) +## [0.5.9](https://github.com/vu3th/vue-dapp/compare/v0.5.8...v0.5.9) (2022-10-21) ### Bug Fixes -* watch isActivated for the onActivatedHook ([dcf0c9a](https://github.com/chnejohnson/vue-dapp/commit/dcf0c9a2f83013a47c149d739742fa05ecbbbde2)) +* watch isActivated for the onActivatedHook ([dcf0c9a](https://github.com/vu3th/vue-dapp/commit/dcf0c9a2f83013a47c149d739742fa05ecbbbde2)) -## [0.5.8](https://github.com/chnejohnson/vue-dapp/compare/v0.5.7...v0.5.8) (2022-08-24) +## [0.5.8](https://github.com/vu3th/vue-dapp/compare/v0.5.7...v0.5.8) (2022-08-24) ### Bug Fixes -* wallet status error, resolve [#77](https://github.com/chnejohnson/vue-dapp/issues/77) ([b675187](https://github.com/chnejohnson/vue-dapp/commit/b675187ea9b120a4ed9e1bd86a883711a695b52e)) +* wallet status error, resolve [#77](https://github.com/vu3th/vue-dapp/issues/77) ([b675187](https://github.com/vu3th/vue-dapp/commit/b675187ea9b120a4ed9e1bd86a883711a695b52e)) # Changelog @@ -132,7 +132,7 @@ Special thanks to @re2005 and @Mulander-J for their contributions! #### Features - New logo from issue #24 (Special thank @ramuta for his contribution!) -- Add [Metamask switch chain API](https://github.com/chnejohnson/vue-dapp/blob/062acd4092b8f6a2a67af750f2569294c90c4f7b/src/connectors/metamask.ts#L47) and [network constants](https://github.com/chnejohnson/vue-dapp/blob/main/src/constants/chainId.ts) +- Add [Metamask switch chain API](https://github.com/vu3th/vue-dapp/blob/062acd4092b8f6a2a67af750f2569294c90c4f7b/src/connectors/metamask.ts#L47) and [network constants](https://github.com/vu3th/vue-dapp/blob/main/src/constants/chainId.ts) - Update documentation to latest. - Support connecting to Arbitrum, RinkArby, and Polygon with MetaMask diff --git a/README.md b/README.md index 07e0151..af71fda 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- VueDapp Brand + VueDapp Brand

@@ -12,7 +12,7 @@

- + MIT License @@ -138,7 +138,7 @@ setup() { Take a look at [Configurations](https://vue-dapp-docs.netlify.app/configurations) for more informations about Vue CLI, Vite, and Nuxt3 configurations. -To see the demo code, check it out [here](https://github.com/chnejohnson/vue-dapp/blob/main/demo/src/App.vue). +To see the demo code, check it out [here](https://github.com/vu3th/vue-dapp/blob/main/demo/src/App.vue). ## Support 🙏 diff --git a/demo/src/components/Header.vue b/demo/src/components/Header.vue index 5cc5874..a794f76 100644 --- a/demo/src/components/Header.vue +++ b/demo/src/components/Header.vue @@ -16,7 +16,7 @@ > Documentation - + ` - for wallet board. - `` - for a simple modal. -[source code](https://github.com/chnejohnson/vue-dapp/tree/main/src/components) +[source code](https://github.com/vu3th/vue-dapp/tree/main/src/components) ## vd-board diff --git a/docs/api/connectors.md b/docs/api/connectors.md index e32e06f..f9b9193 100644 --- a/docs/api/connectors.md +++ b/docs/api/connectors.md @@ -1,6 +1,6 @@ # Connectors -[source code](https://github.com/chnejohnson/vue-dapp/tree/main/src/connectors) +[source code](https://github.com/vu3th/vue-dapp/tree/main/src/connectors) ## Connector Interface @@ -37,7 +37,7 @@ const connector = new MetaMaskConnector({ ``` ### Configuration -- `appUrl` (optional): Add deep link to MetaMask wallet on mobile device, see https://github.com/chnejohnson/vue-dapp/pull/29 +- `appUrl` (optional): Add deep link to MetaMask wallet on mobile device, see https://github.com/vu3th/vue-dapp/pull/29 ### Types diff --git a/docs/api/constants.md b/docs/api/constants.md index e995da5..517f8db 100644 --- a/docs/api/constants.md +++ b/docs/api/constants.md @@ -1,6 +1,6 @@ # Constants -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/constants/chainId.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/constants/chainId.ts) ## ChainId diff --git a/docs/api/directives.md b/docs/api/directives.md index 46f2512..f0167f9 100644 --- a/docs/api/directives.md +++ b/docs/api/directives.md @@ -2,4 +2,4 @@ - `v-click-outside` -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/directive.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/directive.ts) diff --git a/docs/api/use-ethers-hooks.md b/docs/api/use-ethers-hooks.md index d85786a..c5d7bea 100644 --- a/docs/api/use-ethers-hooks.md +++ b/docs/api/use-ethers-hooks.md @@ -6,7 +6,7 @@ Hook for watching provider from `useEthers` as follows: - `onDeactivated` - subscribe event when removing the provider. - `onChanged` - subscribe event when updating the provider. -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/composables/useEthersHooks.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/composables/useEthersHooks.ts) ## Usage diff --git a/docs/api/use-ethers.md b/docs/api/use-ethers.md index 1a311de..c9efa78 100644 --- a/docs/api/use-ethers.md +++ b/docs/api/use-ethers.md @@ -2,7 +2,7 @@ Hook for accessing the connected wallet by ethers -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/composables/useEthers.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/composables/useEthers.ts) ## Usage ```ts diff --git a/docs/api/use-multicall.md b/docs/api/use-multicall.md index 8139af8..da04b20 100644 --- a/docs/api/use-multicall.md +++ b/docs/api/use-multicall.md @@ -6,7 +6,7 @@ Hook for using [Multicall2](https://github.com/makerdao/multicall/blob/master/sr - `results` - return value depending on type `ContractCall[]` - `call` - call `tryBlockAndAggregate` on [Multicall2](https://github.com/makerdao/multicall/blob/master/src/Multicall2.sol) -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/composables/useMulticall.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/composables/useMulticall.ts) ## Usage ```ts diff --git a/docs/api/use-wallet.md b/docs/api/use-wallet.md index 0b20ba0..66750c2 100644 --- a/docs/api/use-wallet.md +++ b/docs/api/use-wallet.md @@ -2,7 +2,7 @@ Hook for accessing the connected wallet. -[source code](https://github.com/chnejohnson/vue-dapp/blob/main/src/composables/useWallet.ts) +[source code](https://github.com/vu3th/vue-dapp/blob/main/src/composables/useWallet.ts) ## Usage diff --git a/docs/api/utilities.md b/docs/api/utilities.md index 5b2f18d..a22ef78 100644 --- a/docs/api/utilities.md +++ b/docs/api/utilities.md @@ -1,6 +1,6 @@ # Utilities -[source code](https://github.com/chnejohnson/vue-dapp/tree/main/src/utils) +[source code](https://github.com/vu3th/vue-dapp/tree/main/src/utils) ## Types @@ -14,4 +14,4 @@ declare function checkInfuraId(infuraId: string): Promise; declare function checkChainId(chainId: number): boolean; ``` -[source code](https://github.com/chnejohnson/vue-dapp/tree/main/src/utils) \ No newline at end of file +[source code](https://github.com/vu3th/vue-dapp/tree/main/src/utils) \ No newline at end of file diff --git a/docs/configurations.md b/docs/configurations.md index f5b7d71..089a8e9 100644 --- a/docs/configurations.md +++ b/docs/configurations.md @@ -59,7 +59,7 @@ export default defineConfig({ ``` :::info -Refer to [issue#20](https://github.com/chnejohnson/vue-dapp/issues/20) +Refer to [issue#20](https://github.com/vu3th/vue-dapp/issues/20) ::: ## Nuxt3 @@ -123,5 +123,5 @@ export default defineNuxtConfig({ ``` :::info -Refer to [issue#33](https://github.com/chnejohnson/vue-dapp/issues/33) +Refer to [issue#33](https://github.com/vu3th/vue-dapp/issues/33) ::: diff --git a/docs/index.md b/docs/index.md index 759901d..217702d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -111,4 +111,4 @@ setup() Take a look at [Configurations](https://vue-dapp-docs.netlify.app/configurations) for more informations about Vue CLI, Vite, and Nuxt3 configurations. -To see the demo code, check it out [here](https://github.com/chnejohnson/vue-dapp/blob/main/demo/src/App.vue). +To see the demo code, check it out [here](https://github.com/vu3th/vue-dapp/blob/main/demo/src/App.vue). diff --git a/package.json b/package.json index 015ec9a..8eeb42a 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,11 @@ "name": "vue-dapp", "version": "0.7.2", "description": "Vue 3 library for building Dapps on Ethereum", - "repository": "https://github.com/chnejohnson/vue-dapp", + "repository": "https://github.com/vu3th/vue-dapp", "bugs": { - "url": "https://github.com/chnejohnson/vue-dapp/issues" + "url": "https://github.com/vu3th/vue-dapp/issues" }, - "homepage": "https://github.com/chnejohnson/vue-dapp#readme", + "homepage": "https://github.com/vu3th/vue-dapp#readme", "author": "Johnson Chen ", "license": "MIT", "main": "dist/index.common.js", diff --git a/src/connectors/metaMask.ts b/src/connectors/metaMask.ts index 01d3655..db07487 100644 --- a/src/connectors/metaMask.ts +++ b/src/connectors/metaMask.ts @@ -86,7 +86,7 @@ export class MetaMaskConnector extends Connector< /** * See PR #36 - find the single metamask provider when coinbaseWallet & metaMask are both installed - * @link https://github.com/chnejohnson/vue-dapp/pull/36 + * @link https://github.com/vu3th/vue-dapp/pull/36 */ const isMulti = (provider?.providers?.length || 0) > 1 isMulti && @@ -114,7 +114,7 @@ export class MetaMaskConnector extends Connector< } /** * @see PR#29 - add deep link to MetaMask wallet on mobile device - * @link https://github.com/chnejohnson/vue-dapp/pull/29 + * @link https://github.com/vu3th/vue-dapp/pull/29 */ if (this.options.appUrl) { window.open(