This commit is contained in:
Georges KABBOUCHI 2022-10-17 15:42:33 +03:00
parent 698f74d7a8
commit d4322fee4b
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@instadapp/vue-web3-nuxt", "name": "@instadapp/vue-web3-nuxt",
"version": "0.9.5", "version": "0.9.6",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"exports": { "exports": {

View File

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

View File

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