fix: 优化功能,去掉sync,当useContextKey中如果有promise自己维护Promise

This commit is contained in:
2025-03-01 17:31:13 +08:00
parent 950a4cd905
commit 213219518f
2 changed files with 40 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/use-config",
"version": "1.0.8",
"version": "1.0.9",
"types": "dist/config.d.ts",
"scripts": {
"build": "npm run clean && rollup -c",
@@ -57,5 +57,8 @@
"import": "./dist/file-store.mjs",
"types": "./dist/file-store.d.ts"
}
},
"dependencies": {
"@kevisual/load": "^0.0.4"
}
}