mirror of
https://github.com/Instadapp/vue-web3.git
synced 2024-07-29 21:48:25 +00:00
0.9.6
This commit is contained in:
parent
698f74d7a8
commit
d4322fee4b
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user