Agent 3 — rn-update: - downloadPlugin/downloadApk 新增 onProgress 进度回调 - checkAppUpdate/checkPluginUpdate 版本缓存(30分钟 TTL) - 新增 UpdateDownloadProgress 类型导出 Agent 3 — rn-xwebview: - XWebViewBridge 补全标准 JSBridge handler - getDeviceInfo/getToken/getUserInfo/openNativePage/closeWebView/showToast Agent 4 — rn-log v0.1.0: - XLog 主入口:event/captureError/warn/info/startCapture - LogQueue:AsyncStorage 本地队列 + 批量上报 - ErrorCapture:JS global error + unhandledRejection - FunnelTracker:漏斗分析 - fingerprint:SHA-256 指纹去重 - HttpInterceptor:rn-common HTTP 错误自动上报 - NativeLogReporter:TurboModule spec
45 行
1.1 KiB
JSON
45 行
1.1 KiB
JSON
{
|
|
"name": "@xuqm/rn-sdk",
|
|
"version": "0.3.0",
|
|
"description": "XuqmGroup React Native SDK — meta-package (IM, Push, Update, Common)",
|
|
"license": "UNLICENSED",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"private": true,
|
|
"files": [
|
|
"src"
|
|
],
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:all": "yarn workspaces run typecheck"
|
|
},
|
|
"peerDependencies": {
|
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|
|
"react": ">=18.0.0",
|
|
"react-native": ">=0.76.0"
|
|
},
|
|
"dependencies": {
|
|
"@xuqm/rn-common": ">=0.2.0",
|
|
"@xuqm/rn-im": ">=0.2.0",
|
|
"@xuqm/rn-license": ">=0.2.0",
|
|
"@xuqm/rn-push": ">=0.2.0",
|
|
"@xuqm/rn-update": ">=0.2.0",
|
|
"@xuqm/rn-xwebview": ">=0.2.0",
|
|
"react-native-qrcode-svg": "^6.3.21"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-native": "^0.73.0",
|
|
"axios": "^1.18.0",
|
|
"typescript": "^5.9.3",
|
|
"zod": "3.23.8"
|
|
}
|
|
}
|