This commit is contained in:
Georges KABBOUCHI 2022-10-17 15:27:43 +03:00
parent 1fd4eebfad
commit d6bdf479b8
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@instadapp/vue-web3-nuxt",
"version": "0.9.4",
"version": "0.9.5",
"license": "MIT",
"type": "module",
"exports": {
@ -23,7 +23,7 @@
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@instadapp/vue-web3": "^0.9.1",
"@instadapp/vue-web3": "^0.9.5",
"@nuxt/kit": "^3.0.0-rc.11",
"events": "^3.3.0",
"mkdirp-promise": "4",

View File

@ -1,6 +1,6 @@
{
"name": "@instadapp/vue-web3",
"version": "0.9.4",
"version": "0.9.5",
"description": "Vue web3 composition api",
"license": "MIT",
"main": "index.js",

View File

@ -47,7 +47,7 @@ export const setWeb3LibraryCallback = (
export type VueWeb3Library = any
export const useWeb3 = <TLibrary = VueWeb3Library>() => {
export const useWeb3 = <IVueWeb3Library>() => {
const onErrorCb = ref<(error: Error) => void>()
const activate = async (
@ -191,7 +191,7 @@ export const useWeb3 = <TLibrary = VueWeb3Library>() => {
})
return {
library: library as Ref<TLibrary>,
library: library as Ref<IVueWeb3Library>,
active,
activate,
deactivate,