diff --git a/nuxt/package.json b/nuxt/package.json index 75b20a2..3e2ed3f 100644 --- a/nuxt/package.json +++ b/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@instadapp/vue-web3-nuxt", - "version": "0.9.3", + "version": "0.9.4", "license": "MIT", "type": "module", "exports": { diff --git a/package.json b/package.json index 6913b6f..2f25d67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@instadapp/vue-web3", - "version": "0.9.3", + "version": "0.9.4", "description": "Vue web3 composition api", "license": "MIT", "main": "index.js", diff --git a/src/index.ts b/src/index.ts index 91f551d..67a64b6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -45,7 +45,9 @@ export const setWeb3LibraryCallback = ( getLibrary = cb } -export const useWeb3 = () => { +export type VueWeb3Library = any + +export const useWeb3 = () => { const onErrorCb = ref<(error: Error) => void>() const activate = async (