Commit 2a3cfc26 authored by web's avatar web

up aonweb

parent c9e09136
......@@ -8,7 +8,7 @@
"name": "AONET",
"version": "0.0.0",
"dependencies": {
"aonweb": "^0.0.1",
"aonweb": "^0.0.2",
"aos": "^2.3.4",
"axios": "^1.6.8",
"element-plus": "^2.7.5",
......@@ -1850,9 +1850,9 @@
}
},
"node_modules/aonweb": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/aonweb/-/aonweb-0.0.1.tgz",
"integrity": "sha512-ayOYw2PgbnDcXmiLUpB7+fIe/N1h7wTs1sxJbgUyULHLNjSeAnINrs7BglplwG7nXjCzJMDLr4n2rAuGgAbmkA==",
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/aonweb/-/aonweb-0.0.2.tgz",
"integrity": "sha512-JF1nzI79nTrESfWkorD6PPUuYNwW0YJ2qSsFMTRdT/13CABvhrlnkeP3y6KKyXhRP+gel/HilPDEsaAVdl5vXQ==",
"dependencies": {
"@fingerprintjs/fingerprintjs": "^4.4.0",
"uuid": "^9.0.1",
......
......@@ -11,7 +11,7 @@
"type-check": "vue-tsc --build --force"
},
"dependencies": {
"aonweb": "^0.0.1",
"aonweb": "^0.0.2",
"aos": "^2.3.4",
"axios": "^1.6.8",
"element-plus": "^2.7.5",
......
......@@ -73,16 +73,9 @@ function goToComplete() {
// https://app.aonet.ai/api
// https://app.aonet.ai/kvapi
async function getAccount() {
const options = new Options({
type: Options.LoginTypes.TYPE_FP,
server: 'https://app.aonet.ai',
storeage_url: 'https://app.aonet.ai'
});
console.log(options)
//User 的使用方法
let user = new User(options)
let user = new User()
let addr = await user.login()
console.log("getWeb3 account", addr)
account.value = addr[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment