vue-3-useeosiowallet
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -45,3 +45,3 @@ import { useAnchor } from './anchor'; | ||
await useScatter().setup(applicationName.value, selectedChain.value); | ||
username.value = await useAnchor().login(); | ||
username.value = await useScatter().login(); | ||
break; | ||
@@ -48,0 +48,0 @@ default: |
import { EosioChain } from './types'; | ||
export declare const useScatter: () => { | ||
setup: (appName: string, chain: EosioChain) => Promise<void>; | ||
login: () => Promise<any>; | ||
login: () => Promise<string>; | ||
}; | ||
//# sourceMappingURL=scatter.d.ts.map |
{ | ||
"name": "vue-3-useeosiowallet", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"anchor-link-browser-transport": "^3.1.3", | ||
"eosjs": "^22.0.0-rc1", | ||
"eosjs": "^22.0.0-rc2", | ||
"vue": "^3.0.11" | ||
@@ -20,0 +20,0 @@ }, |
@@ -52,3 +52,3 @@ import { useAnchor } from './anchor'; | ||
await useScatter().setup(applicationName.value, selectedChain.value); | ||
username.value = await useAnchor().login(); | ||
username.value = await useScatter().login(); | ||
break; | ||
@@ -55,0 +55,0 @@ default: |
@@ -53,3 +53,3 @@ // @ts-ignore | ||
return account.name | ||
return account.name as string | ||
} catch (e) { | ||
@@ -56,0 +56,0 @@ console.log('scatter login error', e); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73668
Updatedeosjs@^22.0.0-rc2