mirror of
https://github.com/Instadapp/vue-web3.git
synced 2024-07-29 21:48:25 +00:00
0.9.5
This commit is contained in:
parent
1fd4eebfad
commit
d6bdf479b8
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@instadapp/vue-web3-nuxt",
|
"name": "@instadapp/vue-web3-nuxt",
|
||||||
"version": "0.9.4",
|
"version": "0.9.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
||||||
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
|
"@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",
|
"@nuxt/kit": "^3.0.0-rc.11",
|
||||||
"events": "^3.3.0",
|
"events": "^3.3.0",
|
||||||
"mkdirp-promise": "4",
|
"mkdirp-promise": "4",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@instadapp/vue-web3",
|
"name": "@instadapp/vue-web3",
|
||||||
"version": "0.9.4",
|
"version": "0.9.5",
|
||||||
"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 = <TLibrary = VueWeb3Library>() => {
|
export const useWeb3 = <IVueWeb3Library>() => {
|
||||||
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 = <TLibrary = VueWeb3Library>() => {
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
library: library as Ref<TLibrary>,
|
library: library as Ref<IVueWeb3Library>,
|
||||||
active,
|
active,
|
||||||
activate,
|
activate,
|
||||||
deactivate,
|
deactivate,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user