Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
login() {
const { origin } = window.location
blockstack.redirectToSignIn(origin, `${origin}/manifest.json`, [
'store_write',
'publish_data'
])
},
show() {
handleSignIn(e) {
e.preventDefault();
const origin = window.location.origin
redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
}
handleSignIn(e) {
e.preventDefault();
redirectToSignIn(origin, `${origin}/manifest.json`, [
'store_write',
'publish_data',
]);
}
handleSignIn(e) {
e.preventDefault();
const origin = window.location.origin
redirectToSignIn(window.location.href, origin + '/manifest.json', ['store_write', 'publish_data'])
}
handleSignIn(e) {
e.preventDefault();
const origin = window.location.origin
redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
}
handleSignIn(event) {
event.preventDefault();
blockstack.redirectToSignIn()
}
onSignIn = () => {
const url = document.location.href;
const manifest = document.location.origin + '/static/manifest.json';
redirectToSignIn(url, manifest);
};
}
handleSignIn(e) {
e.preventDefault();
const origin = window.location.origin
redirectToSignIn(origin, origin + '/manifest.json', ['store_write', 'publish_data'])
}
export function acceptInvite(e) {
const origin = window.location.origin;
e.preventDefault();
blockstack.redirectToSignIn(`${origin}/invite/accept`, origin + '/manifest.json', ['store_write', 'publish_data', 'email'])
}
handleSignIn(e) {
e.preventDefault();
const origin = window.location.origin;
redirectToSignIn(window.location.href, origin + "/manifest.json", [
"store_write",
"publish_data"
])
}