Initialize anonymous identity and track registered events

This commit is contained in:
2026-09-16 04:46:17 +08:00
parent 25c63a6f2d
commit 9d6ef1ec39
4 changed files with 159 additions and 7 deletions
+22 -5
View File
@@ -5,9 +5,26 @@
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {".": {"types": "./dist/index.d.ts", "import": "./dist/index.js"}},
"files": ["dist"],
"scripts": {"build": "tsc -p tsconfig.json", "typecheck": "tsc --noEmit"},
"peerDependencies": {"react": ">=18 <20"},
"devDependencies": {"@types/react": "^19.0.0", "react": "^19.0.0", "typescript": "^5.0.0"}
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit",
"test": "npm run build && node --test tests/*.test.mjs"
},
"peerDependencies": {
"react": ">=18 <20"
},
"devDependencies": {
"@types/react": "^19.0.0",
"react": "^19.0.0",
"typescript": "^5.0.0"
}
}