0.0.2 • Published 5 years ago

@qwer8797/rosetta.js v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

rosetta.js

library

  1. axios
  2. fingerprintjs2
  3. eslint
  4. jest

basic user information

  1. credential
    • token
    • fingerprint
  2. information
    • engineID
    • user
      • id
      • entity
      • ab
      • override
      • source
    • appId
    • domain

entry

  1. index.js -> core (init -> handler -> commands)

  2. (init) -> set token -> set fingerprint -> set entity(find user id) -> run commands handler

handler

check handler name -> return commands

commands

  1. token
  2. engineID
  3. event
  4. mapping userID
  5. query

error handler

  1. check api
  2. check commands arguments

note

actor -> 消費者 user -> 用戶

token 會改為 auth

auth -> domain & app id -> token issue: 防止 app id 被盜用

print fingerprint data

publish

npm publish --access=public

0.0.2

5 years ago

0.0.1

5 years ago