Refactor getLoginMethodByDomain to use map and filter for improved readability and efficiency

This commit is contained in:
2026-03-17 00:40:28 +08:00
parent 06141edc49
commit 802390a42f
4 changed files with 319 additions and 202 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/kv-login",
"version": "0.1.17",
"version": "0.1.18",
"description": "",
"scripts": {
"dev": "vite",
@@ -29,12 +29,12 @@
"devDependencies": {
"@kevisual/cache": "^0.0.5",
"@kevisual/context": "^0.0.8",
"@kevisual/query": "^0.0.52",
"@kevisual/query": "^0.0.53",
"crypto-js": "^4.2.0",
"lit-html": "^3.3.2",
"qrcode": "^1.5.4",
"@kevisual/api": "^0.0.62",
"@kevisual/api": "^0.0.64",
"@types/bun": "^1.3.10",
"vite": "^7.3.1"
"vite": "^8.0.0"
}
}