@0xpass/passport
Advanced tools
Comparing version 0.1.8 to 0.1.9
# @0xpass/passport | ||
## 0.1.9 | ||
### Patch Changes | ||
- 08e6227: Throw duplicate registration errors | ||
## 0.1.8 | ||
@@ -4,0 +10,0 @@ |
@@ -171,2 +171,7 @@ import axios from 'axios'; | ||
}); | ||
if (initRegResponse.error) { | ||
if (initRegResponse.error.data.includes("Duplicate registration")) { | ||
throw new Error("Duplicate registration"); | ||
} | ||
} | ||
const challenge_id = initRegResponse.result.challenge_id; | ||
@@ -173,0 +178,0 @@ const cco_str = await aesDecrypt(initRegResponse.result.encrypted_creation_challenge, this.aesKey); |
{ | ||
"name": "@0xpass/passport", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -202,2 +202,8 @@ import axios from "axios"; | ||
if (initRegResponse.error) { | ||
if (initRegResponse.error.data.includes("Duplicate registration")) { | ||
throw new Error("Duplicate registration"); | ||
} | ||
} | ||
const challenge_id = initRegResponse.result.challenge_id; | ||
@@ -204,0 +210,0 @@ const cco_str = await aesDecrypt( |
Sorry, the diff of this file is not supported yet
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
59380
1362