@1auth/account-username
Advanced tools
Comparing version 0.0.0-alpha.1 to 0.0.0-alpha.2
import { | ||
options as accountOptions, | ||
getOptions as accountOptions, | ||
update as accountUpdate | ||
@@ -21,3 +21,5 @@ } from '@1auth/account' | ||
export default (params) => { | ||
Object.assign(options, accountOptions, params) | ||
console.log(accountOptions()) | ||
Object.assign(options, accountOptions(), params) | ||
console.log(options) | ||
} | ||
@@ -27,2 +29,3 @@ | ||
const usernameSanitized = __sanitize(username) | ||
console.log(options) | ||
return options.store.exists(options.table, { | ||
@@ -29,0 +32,0 @@ digest: await createDigest(usernameSanitized) |
import { | ||
options as accountOptions, | ||
getOptions as accountOptions, | ||
update as accountUpdate | ||
@@ -21,3 +21,5 @@ } from '@1auth/account' | ||
export default (params) => { | ||
Object.assign(options, accountOptions, params) | ||
console.log(accountOptions()) | ||
Object.assign(options, accountOptions(), params) | ||
console.log(options) | ||
} | ||
@@ -27,2 +29,3 @@ | ||
const usernameSanitized = __sanitize(username) | ||
console.log(options) | ||
return options.store.exists(options.table, { | ||
@@ -29,0 +32,0 @@ digest: await createDigest(usernameSanitized) |
{ | ||
"name": "@1auth/account-username", | ||
"version": "0.0.0-alpha.1", | ||
"version": "0.0.0-alpha.2", | ||
"description": "", | ||
@@ -51,6 +51,6 @@ "type": "module", | ||
"homepage": "https://github.com/willfarrell/1auth", | ||
"gitHead": "dcd3cb3dcacdebbe21625f092187e7cf02473f68", | ||
"gitHead": "a02b1e01f039718f213d79b91d04ed660a955c73", | ||
"dependencies": { | ||
"@1auth/account": "0.0.0-alpha.1" | ||
"@1auth/account": "0.0.0-alpha.2" | ||
} | ||
} |
6226
146
+ Added@1auth/account@0.0.0-alpha.2(transitive)
+ Added@1auth/crypto@0.0.0-alpha.2(transitive)
+ Added@node-rs/argon2@1.4.0(transitive)
+ Added@node-rs/argon2-android-arm-eabi@1.4.0(transitive)
+ Added@node-rs/argon2-android-arm64@1.4.0(transitive)
+ Added@node-rs/argon2-darwin-arm64@1.4.0(transitive)
+ Added@node-rs/argon2-darwin-x64@1.4.0(transitive)
+ Added@node-rs/argon2-freebsd-x64@1.4.0(transitive)
+ Added@node-rs/argon2-linux-arm-gnueabihf@1.4.0(transitive)
+ Added@node-rs/argon2-linux-arm64-gnu@1.4.0(transitive)
+ Added@node-rs/argon2-linux-arm64-musl@1.4.0(transitive)
+ Added@node-rs/argon2-linux-x64-gnu@1.4.0(transitive)
+ Added@node-rs/argon2-linux-x64-musl@1.4.0(transitive)
+ Added@node-rs/argon2-win32-arm64-msvc@1.4.0(transitive)
+ Added@node-rs/argon2-win32-ia32-msvc@1.4.0(transitive)
+ Added@node-rs/argon2-win32-x64-msvc@1.4.0(transitive)
- Removed@1auth/account@0.0.0-alpha.1(transitive)
- Removed@1auth/crypto@0.0.0-alpha.1(transitive)
- Removed@node-rs/argon2@1.3.0(transitive)
- Removed@node-rs/argon2-android-arm-eabi@1.3.0(transitive)
- Removed@node-rs/argon2-android-arm64@1.3.0(transitive)
- Removed@node-rs/argon2-darwin-arm64@1.3.0(transitive)
- Removed@node-rs/argon2-darwin-x64@1.3.0(transitive)
- Removed@node-rs/argon2-freebsd-x64@1.3.0(transitive)
- Removed@node-rs/argon2-linux-arm-gnueabihf@1.3.0(transitive)
- Removed@node-rs/argon2-linux-arm64-gnu@1.3.0(transitive)
- Removed@node-rs/argon2-linux-arm64-musl@1.3.0(transitive)
- Removed@node-rs/argon2-linux-x64-gnu@1.3.0(transitive)
- Removed@node-rs/argon2-linux-x64-musl@1.3.0(transitive)
- Removed@node-rs/argon2-win32-arm64-msvc@1.3.0(transitive)
- Removed@node-rs/argon2-win32-ia32-msvc@1.3.0(transitive)
- Removed@node-rs/argon2-win32-x64-msvc@1.3.0(transitive)
Updated@1auth/account@0.0.0-alpha.2