vue-3-useeosiowallet
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -49,2 +49,1 @@ import { ref } from 'vue'; | ||
}; | ||
//# sourceMappingURL=anchor.js.map |
@@ -83,2 +83,1 @@ import { useAnchor } from './anchor'; | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -57,2 +57,1 @@ // @ts-ignore | ||
}; | ||
//# sourceMappingURL=scatter.js.map |
@@ -10,5 +10,4 @@ import * as waxjs from "@waxio/waxjs/dist"; | ||
const login = async () => { | ||
const user = await restoreSession(); | ||
if (user) | ||
return user; | ||
// const user = await restoreSession(); | ||
// if (user) return user; | ||
if (!wax) | ||
@@ -19,11 +18,9 @@ throw new Error('Login Error: Wax Cloud Wallet not found. Make sure to run setup() first.'); | ||
}; | ||
const restoreSession = async () => { | ||
if (!wax) | ||
throw new Error('Restore Session Error: Wax Cloud Wallet not found. Make sure to run setup() first.'); | ||
var isAutoLoginAvailable = await wax.isAutoLoginAvailable(); | ||
if (!isAutoLoginAvailable) | ||
return null; | ||
// @ts-ignore | ||
return wax.userAccount; | ||
}; | ||
// const restoreSession = async (): Promise<string | null> => { | ||
// if (!wax) throw new Error('Restore Session Error: Wax Cloud Wallet not found. Make sure to run setup() first.'); | ||
// var isAutoLoginAvailable = await wax.isAutoLoginAvailable(); | ||
// if (!isAutoLoginAvailable) return null; | ||
// // @ts-ignore | ||
// return wax.userAccount | ||
// }; | ||
const logout = async () => { | ||
@@ -38,2 +35,1 @@ return; | ||
}; | ||
//# sourceMappingURL=waxcloud.js.map |
{ | ||
"name": "vue-3-useeosiowallet", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,3 +17,3 @@ { | ||
// "outFile": "./", /* Concatenate and emit output to single file. */ | ||
// "outDir": "dist", /* Redirect output structure to the directory. */ | ||
"outDir": "dist", /* Redirect output structure to the directory. */ | ||
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ | ||
@@ -20,0 +20,0 @@ // "composite": true, /* Enable project compilation */ |
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
35191
28
556