From c3e10b04bed4746ad46abd33ab0c96512c300cbf Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Tue, 18 Apr 2023 12:11:11 -0600 Subject: [PATCH] Enhancement: Remove built in UnstoppableDomain resolution, create `unstoppable-resolution` package for opt in support (#1641) * Add unstoppable resolution package and remove built in ability * Add new package commit and docs * Fix some docs links * Remove deprecated prop from demo init * Merge in dev --- .circleci/config.yml | 18 ++++++++ .github/ISSUE_TEMPLATE/BUG.yml | 1 - docs/src/routes/docs/[...3]modules/core.md | 24 ++++++----- .../[...3]modules/unstoppable-resolution.md | 38 +++++++++++++++++ packages/core/README.md | 9 ++-- packages/core/package.json | 4 +- packages/core/src/configuration.ts | 3 +- packages/core/src/index.ts | 6 ++- packages/core/src/provider.ts | 23 +++------- packages/core/src/types.ts | 42 +++++++++++-------- packages/core/src/validation.ts | 3 +- packages/core/src/views/connect/Index.svelte | 4 +- packages/demo/package.json | 3 +- packages/demo/src/App.svelte | 3 +- packages/react/package.json | 4 +- packages/unstoppable-resolution/README.md | 23 ++++++++++ packages/unstoppable-resolution/package.json | 38 +++++++++++++++++ packages/unstoppable-resolution/src/index.ts | 29 +++++++++++++ packages/unstoppable-resolution/tsconfig.json | 15 +++++++ packages/vue/package.json | 4 +- 20 files changed, 229 insertions(+), 65 deletions(-) create mode 100644 docs/src/routes/docs/[...3]modules/unstoppable-resolution.md create mode 100644 packages/unstoppable-resolution/README.md create mode 100644 packages/unstoppable-resolution/package.json create mode 100644 packages/unstoppable-resolution/src/index.ts create mode 100644 packages/unstoppable-resolution/tsconfig.json diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c9a98e81..362a39b39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -375,6 +375,12 @@ jobs: working_directory: ~/web3-onboard-monorepo/packages/taho steps: - node-build-steps + build-unstoppable-resolution: + docker: + - image: cimg/node:16.13.1 + working_directory: ~/web3-onboard-monorepo/packages/unstoppable-resolution + steps: + - node-build-steps # Build staging/Alpha releases build-staging-core: @@ -587,6 +593,12 @@ jobs: working_directory: ~/web3-onboard-monorepo/packages/taho steps: - node-staging-build-steps + build-staging-unstoppable-resolution: + docker: + - image: cimg/node:16.13.1 + working_directory: ~/web3-onboard-monorepo/packages/unstoppable-resolution + steps: + - node-staging-build-steps workflows: version: 2 @@ -801,3 +813,9 @@ workflows: <<: *deploy_production_filters - build-staging-taho: <<: *deploy_staging_filters + unstoppable-resolution: + jobs: + - build-unstoppable-resolution: + <<: *deploy_production_filters + - build-staging-unstoppable-resolution: + <<: *deploy_staging_filters diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml index 24d8d7613..e3cf85ad5 100644 --- a/.github/ISSUE_TEMPLATE/BUG.yml +++ b/.github/ISSUE_TEMPLATE/BUG.yml @@ -1,6 +1,5 @@ name: Bug Report description: File a bug report -title: '[Bug]: ' labels: [bug] assignees: - taylorjdawson diff --git a/docs/src/routes/docs/[...3]modules/core.md b/docs/src/routes/docs/[...3]modules/core.md index 370720787..2e6f6766e 100644 --- a/docs/src/routes/docs/[...3]modules/core.md +++ b/docs/src/routes/docs/[...3]modules/core.md @@ -229,11 +229,10 @@ type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Define support for Unstoppable Domains resolutions - * after a user connects. Similar to ens, uns can be used for users who - * have minted an Unstoppable Domain and associated it with their wallet. - * ENS resolution takes precedent over UNS - * Defaults to false + * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` + * package has been added and passed into the web3-onboard initialization + * In this case remove the `@web3-onboard/unstoppable-resolution` package + * to remove unstoppableDomain resolution support */ disableUDResolution?: boolean } @@ -429,7 +428,8 @@ unsubscribe() ``` ##### **Notifications as Toast Messages** -The Notifications messages can also be used to send fully customized Dapp toast messages and updated. Check out the [customNotifications API docs for examples and code snippets](#customnotification) + +The Notifications messages can also be used to send fully customized Dapp toast messages and updated. Check out the [customNotifications API docs for examples and code snippets](#customnotification) ```ts type NotifyOptions = { @@ -640,6 +640,7 @@ const onboard = Onboard({ ``` --- + ## Connecting a Wallet To initiate a user to select and connect a wallet you can call the `connectWallet` function on an initialized Onboard instance. It will return a `Promise` that will resolve when the user either successfully connects a wallet, or when they dismiss the UI. The resolved value from the promise will be the latest state of the `wallets` array. The order of the wallets array is last to first, so the most recently selected wallet will be the first item in the array and can be thought of as the "primary wallet". If no wallet was selected, then the `wallets` array will have the same state as it had before calling `connectWallet`. @@ -1016,7 +1017,7 @@ The `customNotification` method also returns a `dismiss` method that is called w #### **preflightNotifications** -Notify can be used to deliver standard notifications along with preflight updates by passing a `PreflightNotificationsOptions` object to the `preflightNotifications` API action. +Notify can be used to deliver standard notifications along with preflight updates by passing a `PreflightNotificationsOptions` object to the `preflightNotifications` API action. Preflight notifications image @@ -1033,6 +1034,7 @@ Preflight event types include: This API call will return a promise that resolves to the transaction hash (if `sendTransaction` resolves the transaction hash and is successful), the internal notification id (if no `sendTransaction` function is provided) or return nothing if an error occurs or `sendTransaction` is not provided or doesn't resolve to a string. Example: + ```typescript copy const balanceValue = Object.values(balance)[0] // if using ethers v6 this is: @@ -1544,7 +1546,7 @@ export default config ### SvelteKit + Vite -Checkout a boilerplate example (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-sveltekit] +Checkout a boilerplate example [here](https://github.com/blocknative/web3-onboard/tree/develop/examples/with-sveltekit) Add the following dev dependencies: @@ -1657,7 +1659,7 @@ See [this github issue](https://github.com/blocknative/web3-onboard/issues/1568# ### Vite -Checkout a boilerplate example for Vite-React (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-vite-react] +Checkout a boilerplate example for Vite-React [here](https://github.com/blocknative/web3-onboard/tree/develop/examples/with-vite-react) Add the following dev dependencies: @@ -1732,9 +1734,9 @@ build: { ### Next.js -Checkout a boilerplate example for NextJS v13 (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-nextjs-13] +Checkout a boilerplate example for NextJS v13 [here](https://github.com/blocknative/web3-onboard/tree/develop/examples/with-nextjs-13) -Checkout a boilerplate example for NextJS (here)[https://github.com/blocknative/web3-onboard/tree/develop/examples/with-nextjs] +Checkout a boilerplate example for NextJS [here](https://github.com/blocknative/web3-onboard/tree/develop/examples/with-nextjs) :::admonition type=note diff --git a/docs/src/routes/docs/[...3]modules/unstoppable-resolution.md b/docs/src/routes/docs/[...3]modules/unstoppable-resolution.md new file mode 100644 index 000000000..5ee90b500 --- /dev/null +++ b/docs/src/routes/docs/[...3]modules/unstoppable-resolution.md @@ -0,0 +1,38 @@ +# Unstoppable Domains Resolution + +A module to add Unstoppable Domain resolution to web3-onboard. + +### Install + + + + +```sh copy +yarn add @web3-onboard/unstoppable-resolution +``` + + + + +```sh copy +npm install @web3-onboard/unstoppable-resolution +``` + + + + +### Standalone Setup + +```typescript +import Onboard from '@web3-onboard/core' +import unstoppableResolution from '@web3-onboard/unstoppable-resolution' + +const onboard = Onboard({ + // ... other Onboard options + unstoppableResolution +}) +``` + +## Build Environments + +For build env configurations and setups please see the Build Env section [here](/docs/modules/core#build-environments) diff --git a/packages/core/README.md b/packages/core/README.md index 9c370c4c3..f8cff13b0 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -206,11 +206,10 @@ type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Define support for Unstoppable Domains resolutions - * after a user connects. Similar to ens, uns can be used for users who - * have minted an Unstoppable Domain and associated it with their wallet. - * ENS resolution takes precedent over UNS - * Defaults to false + * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` + * package has been added and passed into the web3-onboard initialization + * In this case remove the `@web3-onboard/unstoppable-resolution` package + * to remove unstoppableDomain resolution support */ disableUDResolution?: boolean } diff --git a/packages/core/package.json b/packages/core/package.json index b15636d2b..58b01d37a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.16.2", + "version": "2.17.0-alpha.1", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -71,6 +71,7 @@ "@typescript-eslint/parser": "^4.31.1", "@web3-onboard/gas": "^2.1.5", "@web3-onboard/transaction-preview": "^2.0.5", + "@web3-onboard/unstoppable-resolution": "^2.0.0-alpha.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-svelte3": "^3.2.1", @@ -84,7 +85,6 @@ "typescript": "^4.5.5" }, "dependencies": { - "@unstoppabledomains/resolution": "^8.0", "@web3-onboard/common": "^2.3.1", "bignumber.js": "^9.0.0", "bnc-sdk": "^4.6.7", diff --git a/packages/core/src/configuration.ts b/packages/core/src/configuration.ts index 63ef17b32..a05769039 100644 --- a/packages/core/src/configuration.ts +++ b/packages/core/src/configuration.ts @@ -9,7 +9,8 @@ export let configuration: Configuration = { initialWalletInit: [], gas: null, containerElements: { accountCenter: null, connectModal: null }, - transactionPreview: null + transactionPreview: null, + unstoppableResolution: null } export function updateConfiguration(update: Partial): void { diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 8c91be184..f81a72669 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -97,7 +97,8 @@ function init(options: InitOptions): OnboardAPI { containerElements, transactionPreview, theme, - disableFontDownload + disableFontDownload, + unstoppableResolution } = options if (containerElements) updateConfiguration({ containerElements }) @@ -205,7 +206,8 @@ function init(options: InitOptions): OnboardAPI { apiKey, initialWalletInit: wallets, gas, - transactionPreview + transactionPreview, + unstoppableResolution }) if (apiKey && transactionPreview) { diff --git a/packages/core/src/provider.ts b/packages/core/src/provider.ts index 623146783..1cf107c2f 100644 --- a/packages/core/src/provider.ts +++ b/packages/core/src/provider.ts @@ -9,6 +9,7 @@ import { validEnsChain } from './utils.js' import disconnect from './disconnect.js' import { state } from './store/index.js' import { getBNMulitChainSdk } from './services.js' +import { configuration } from './configuration.js' import type { ChainId, @@ -26,11 +27,12 @@ import type { Address, Balances, Ens, - Uns, WalletPermission, WalletState } from './types.js' +import type { Uns } from '@web3-onboard/unstoppable-resolution' + export const ethersProviders: { [key: string]: providers.StaticJsonRpcProvider } = {} @@ -383,27 +385,14 @@ export async function getUns( address: Address, chain: Chain ): Promise { - const { connect } = state.get() + const { unstoppableResolution } = configuration // check if address is valid ETH address before attempting to resolve // chain we don't recognize and don't have a rpcUrl for requests - if (connect.disableUDResolution || !utils.isAddress(address) || !chain) - return null + if (!unstoppableResolution || !utils.isAddress(address) || !chain) return null try { - let uns = null - const { Resolution } = await import('@unstoppabledomains/resolution') - - const resolutionInstance = new Resolution() - const name = await resolutionInstance.reverse(address) - - if (name) { - uns = { - name - } - } - - return uns + return await unstoppableResolution(address) } catch (error) { console.error(error) return null diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 8d5408d7b..ebe325be5 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -12,6 +12,7 @@ import type { } from '@web3-onboard/common' import type gas from '@web3-onboard/gas' +import type unstoppableResolution from '@web3-onboard/unstoppable-resolution' import type { TransactionPreviewAPI } from '@web3-onboard/transaction-preview' import type en from './i18n/en.json' @@ -77,6 +78,13 @@ export interface InitOptions { * the Theme initialization object or set as css variable */ disableFontDownload?: boolean + /** + * Type of unstoppableResolution module + * A small module that can bee added to allow Unstoppable Domain + * address resolution similar to that of ens (Ethereum Name Service) + * ENS resolution will take president if available + */ + unstoppableResolution?: typeof unstoppableResolution } export type Theme = ThemingMap | BuiltInThemes | 'system' @@ -176,6 +184,7 @@ export type Configuration = { gas?: typeof gas containerElements?: ContainerElements transactionPreview?: TransactionPreviewAPI + unstoppableResolution?: typeof unstoppableResolution } export type Locale = string @@ -193,15 +202,15 @@ export type ConnectModalOptions = { * Defaults to false */ disableClose?: boolean - /** - * If set to true, the most recently connected wallet will store in - * local storage. Then on init, onboard will try to reconnect to + /** + * If set to true, the most recently connected wallet will store in + * local storage. Then on init, onboard will try to reconnect to * that wallet with no modals displayed */ autoConnectLastWallet?: boolean - /** - * If set to true, all previously connected wallets will store in - * local storage. Then on init, onboard will try to reconnect to + /** + * If set to true, all previously connected wallets will store in + * local storage. Then on init, onboard will try to reconnect to * each wallet with no modals displayed */ autoConnectAllPreviousWallet?: boolean @@ -219,11 +228,10 @@ export type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Define support for Unstoppable Domains resolutions - * after a user connects. Similar to ens, uns can be used for users who - * have minted an Unstoppable Domain and associated it with their wallet. - * ENS resolution takes precedent over UNS - * Defaults to false + * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` + * package has been added and passed into the web3-onboard initialization + * In this case remove the `@web3-onboard/unstoppable-resolution` package + * to remove unstoppableDomain resolution support */ disableUDResolution?: boolean } @@ -315,7 +323,7 @@ export type Notification = { */ message: string /** - * handle codes in your own way - see codes here under the notify + * handle codes in your own way - see codes here under the notify * prop default en file at ./packages/core/src/i18n/en.json */ eventCode: string @@ -324,14 +332,14 @@ export type Notification = { */ type: NotificationType /** - * time (in ms) after which the notification will be dismissed. If set - * to `0` the notification will remain on screen until the user dismisses the - * notification, refreshes the page or navigates away from the site + * time (in ms) after which the notification will be dismissed. If set + * to `0` the notification will remain on screen until the user dismisses the + * notification, refreshes the page or navigates away from the site * with the notifications */ autoDismiss: number /** - * add link to the transaction hash. For instance, a link to the + * add link to the transaction hash. For instance, a link to the * transaction on etherscan */ link?: string @@ -394,7 +402,7 @@ export type Action = | UpdateConnectModalAction export type AddChainsAction = { type: 'add_chains'; payload: Chain[] } -export type UpdateChainsAction = { type: 'update_chains'; payload: Chain} +export type UpdateChainsAction = { type: 'update_chains'; payload: Chain } export type AddWalletAction = { type: 'add_wallet'; payload: WalletState } export type UpdateWalletAction = { diff --git a/packages/core/src/validation.ts b/packages/core/src/validation.ts index 1716639f8..d3591633e 100644 --- a/packages/core/src/validation.ts +++ b/packages/core/src/validation.ts @@ -222,7 +222,8 @@ const initOptions = Joi.object({ previewTransaction: Joi.function() }), theme: theme, - disableFontDownload: Joi.boolean() + disableFontDownload: Joi.boolean(), + unstoppableResolution: Joi.function() }) const connectOptions = Joi.object({ diff --git a/packages/core/src/views/connect/Index.svelte b/packages/core/src/views/connect/Index.svelte index e7fe0035f..1824607c3 100644 --- a/packages/core/src/views/connect/Index.svelte +++ b/packages/core/src/views/connect/Index.svelte @@ -56,7 +56,7 @@ export let autoSelect: ConnectOptions['autoSelect'] - const { appMetadata } = configuration + const { appMetadata, unstoppableResolution } = configuration const { icon } = appMetadata || {} const { walletModules, connect } = state.get() @@ -348,7 +348,7 @@ }) } - if (uns === null) { + if (uns === null && unstoppableResolution) { getUns(address, appChain).then(uns => { updateAccount(selectedWallet.label, address, { uns diff --git a/packages/demo/package.json b/packages/demo/package.json index 87af7c8db..610416e76 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -23,7 +23,7 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/core": "^2.16.2", + "@web3-onboard/core": "^2.17.0-alpha.1", "@web3-onboard/coinbase": "^2.2.2", "@web3-onboard/transaction-preview": "^2.0.6", "@web3-onboard/dcent": "^2.2.5", @@ -44,6 +44,7 @@ "@web3-onboard/trust": "^2.0.2", "@web3-onboard/torus": "^2.2.3", "@web3-onboard/taho": "^2.0.2", + "@web3-onboard/unstoppable-resolution": "^2.0.0-alpha.1", "@web3-onboard/web3auth": "^2.2.1", "@web3-onboard/walletconnect": "^2.3.6-alpha.1", "@web3-onboard/enkrypt": "^2.0.2", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 1b14b79bb..1f05e9c88 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -15,6 +15,7 @@ import magicModule from '@web3-onboard/magic' import web3authModule from '@web3-onboard/web3auth' import gas from '@web3-onboard/gas' + import unstoppableResolution from '@web3-onboard/unstoppable-resolution' import dcentModule from '@web3-onboard/dcent' import sequenceModule from '@web3-onboard/sequence' import tallyHoModule from '@web3-onboard/tallyho' @@ -197,6 +198,7 @@ ], transactionPreview, gas, + unstoppableResolution, chains: [ { id: '0x1', @@ -249,7 +251,6 @@ ], connect: { // disableClose: true, - // disableUDResolution: true, autoConnectLastWallet: true, autoConnectAllPreviousWallet: true }, diff --git a/packages/react/package.json b/packages/react/package.json index 36e2c88e1..1c026abb1 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.7.2", + "version": "2.8.0-alpha.1", "description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.16.2", + "@web3-onboard/core": "^2.17.0-alpha.1", "@web3-onboard/common": "^2.3.1", "use-sync-external-store": "1.0.0" }, diff --git a/packages/unstoppable-resolution/README.md b/packages/unstoppable-resolution/README.md new file mode 100644 index 000000000..8954276eb --- /dev/null +++ b/packages/unstoppable-resolution/README.md @@ -0,0 +1,23 @@ +# @web3-onboard/unstoppable-resolution + +## A module to add Unstoppable Domain resolution to web3-onboard. + +### Install + +**NPM** +`npm i @web3-onboard/unstoppable-resolution` + +**Yarn** +`yarn add @web3-onboard/unstoppable-resolution` + +### Standalone Setup + +```typescript +import Onboard from '@web3-onboard/core' +import unstoppableResolution from '@web3-onboard/unstoppable-resolution' + +const onboard = Onboard({ + // ... other Onboard options + unstoppableResolution +}) +``` diff --git a/packages/unstoppable-resolution/package.json b/packages/unstoppable-resolution/package.json new file mode 100644 index 000000000..238b8edef --- /dev/null +++ b/packages/unstoppable-resolution/package.json @@ -0,0 +1,38 @@ +{ + "name": "@web3-onboard/unstoppable-resolution", + "version": "2.0.0-alpha.1", + "description": "Adds Unstoppable Domain resolution for a wallet address, similar to ENS resolution", + "keywords": [ + "Unstoppable Domain", + "Ethereum", + "Polygon" + ], + "repository": { + "type": "git", + "url": "https://github.com/blocknative/web3-onboard.git", + "directory": "packages/unstoppable-resolution" + }, + "homepage": "https://onboard.blocknative.com", + "bugs": "https://github.com/blocknative/web3-onboard/issues", + "module": "dist/index.js", + "typings": "dist/index.d.ts", + "browser": "dist/index.js", + "main": "dist/index.js", + "files": [ + "dist" + ], + "type": "module", + "scripts": { + "build": "tsc", + "dev": "tsc -w", + "type-check": "tsc --noEmit" + }, + "license": "MIT", + "devDependencies": { + "@web3-onboard/common": "^2.3.1", + "typescript": "^4.5.5" + }, + "dependencies": { + "@unstoppabledomains/resolution": "^8.0" + } +} diff --git a/packages/unstoppable-resolution/src/index.ts b/packages/unstoppable-resolution/src/index.ts new file mode 100644 index 000000000..6b04b9dd5 --- /dev/null +++ b/packages/unstoppable-resolution/src/index.ts @@ -0,0 +1,29 @@ +export interface Uns { + name: string +} + +const unstoppableResolution = async (address: string): Promise => { + if (!address) return null + + try { + let uns = null + + const { Resolution } = await import('@unstoppabledomains/resolution') + + const resolutionInstance = new Resolution() + const name = await resolutionInstance.reverse(address) + + if (name) { + uns = { + name + } + } + + return uns + } catch (error) { + console.error(error) + return null + } +} + +export default unstoppableResolution diff --git a/packages/unstoppable-resolution/tsconfig.json b/packages/unstoppable-resolution/tsconfig.json new file mode 100644 index 000000000..592d71e8f --- /dev/null +++ b/packages/unstoppable-resolution/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.json", + "include": ["src/**/*"], + "compilerOptions": { + "outDir": "dist", + "rootDir": "src", + "declarationDir": "dist", + "paths": { + "*": ["./src/*", "./node_modules/*"] + }, + "typeRoots": ["node_modules/@types"], + "strict": false, + "allowSyntheticDefaultImports": true + } +} diff --git a/packages/vue/package.json b/packages/vue/package.json index 556bb8094..a2ea47b84 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.6.2", + "version": "2.7.0-alpha.1", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.1", - "@web3-onboard/core": "^2.16.2", + "@web3-onboard/core": "^2.17.0-alpha.1", "vue-demi": "^0.12.4" }, "peerDependencies": {