common: - 新增 autoInit.ts 自动初始化(对齐 Android ContentProvider 模式) - 新增 configCrypto.ts 内置配置文件解密 - XuqmSDK 新增 initWithConfigFile / setUserInfo / getUserInfo - 新增 crypto-types.d.ts Web Crypto 类型声明 update: - 重写 UpdateSDK:checkAppUpdate / checkPluginUpdate / checkAndCachePlugin - 移除 checkAndPromptAppUpdate(SDK 不做 UI) - 新增插件脚手架 create-plugin.mjs - 重命名 RnUpdateInfo → PluginUpdateInfo license: - crypto.ts 支持 XUQM-CONFIG-V1 + XUQM-LICENSE-V1 双格式 - 新增 decryptConfigFile 导出 docs: - 重写 README.md - 新增 docs/SDK-API参考.md - 新增 docs/插件脚手架.md - 新增 docs/配置文件规范.md
28 行
696 B
JSON
28 行
696 B
JSON
{
|
|
"name": "@xuqm/rn-update",
|
|
"version": "0.3.0",
|
|
"description": "XuqmGroup RN SDK — Update module (App update, RN plugin hot-update)",
|
|
"license": "UNLICENSED",
|
|
"main": "src/index.ts",
|
|
"react-native": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@xuqm/rn-common": ">=0.2.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react-native": ">=0.76.0",
|
|
"@react-native-async-storage/async-storage": ">=1.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.9.3",
|
|
"@types/react-native": "^0.73.0"
|
|
}
|
|
}
|