@didtools/pkh-ethereum
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -10,3 +10,3 @@ import { Cacao, SiweMessage } from '@didtools/cacao'; | ||
async function getAuthMethod(ethProvider, account) { | ||
if (typeof window !== 'undefined') throw new Error('Web Auth method requires browser environment'); | ||
if (typeof window == 'undefined') throw new Error('Web Auth method requires browser environment'); | ||
const domain = window.location.hostname; | ||
@@ -13,0 +13,0 @@ return async (opts)=>{ |
{ | ||
"name": "@didtools/pkh-ethereum", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "3Box Labs", | ||
@@ -5,0 +5,0 @@ "license": "(Apache-2.0 OR MIT)", |
8684