0.0.2 • Published 5 years ago
@qwer8797/rosetta.js v0.0.2
rosetta.js
library
- axios
- fingerprintjs2
- eslint
- jest
basic user information
- credential
- token
- fingerprint
- information
- engineID
- user
- id
- entity
- ab
- override
- source
- appId
- domain
entry
index.js -> core (init -> handler -> commands)
(init) -> set token -> set fingerprint -> set entity(find user id) -> run commands handler
handler
check handler name -> return commands
commands
- token
- engineID
- event
- mapping userID
- query
error handler
- check api
- check commands arguments
note
actor -> 消費者 user -> 用戶
token 會改為 auth
auth -> domain & app id -> token issue: 防止 app id 被盜用
print fingerprint data
publish
npm publish --access=public