XuqmGroup-RNSDK/packages/license/package.json
XuqmGroup b04742fb9c feat(license): add @xuqm/rn-license package
Implements device authorization for React Native:
- AES-256-GCM + PBKDF2 decryption via react-native-quick-crypto (lazy loaded)
- AsyncStorage persistence with @xuqm:license:* keys
- 10-minute in-memory + persistent cache with offline fallback
- LicenseResult discriminated union type

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:25:38 +08:00

27 行
738 B
JSON

{
"name": "@xuqm/rn-license",
"version": "0.2.0",
"description": "XuqmGroup RN SDK — License module (device registration & verification)",
"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",
"react-native-quick-crypto": ">=0.7.0"
},
"devDependencies": {
"typescript": "^5.9.3",
"@types/react-native": "^0.73.0"
}
}