- 修复 useRequest POST/PUT/UPLOAD/POSTFORM 请求忽略 fetchAsync data 的问题 - RequestOptions 增加 tag/log 字段,与旧项目兼容 - 导出 ValidationError,供宿主二次封装使用 instanceof 判断 - usePageApi 支持 list 与 records 两种分页字段 - 升级 devDependencies 版本(axios 1.18.0、zod 3.25.76 等) Co-Authored-By: Claude <noreply@anthropic.com>
37 行
901 B
JSON
37 行
901 B
JSON
{
|
|
"name": "@xuqm/rn-common",
|
|
"version": "0.4.0",
|
|
"description": "XuqmGroup RN SDK — core: init, network, token management",
|
|
"license": "UNLICENSED",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"metro": "metro/index.js",
|
|
"files": [
|
|
"src",
|
|
"metro"
|
|
],
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-native": ">=0.76.0",
|
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|
|
"axios": ">=1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.9.3",
|
|
"@types/react": "^19.2.14",
|
|
"@react-native-async-storage/async-storage": "^3.1.1",
|
|
"axios": "^1.18.0",
|
|
"react": "^19.2.0",
|
|
"react-native": "^0.85.3",
|
|
"zod": "^3.25.76"
|
|
}
|
|
}
|