0.0.34 • Published 5 years ago
@ministryofjustice/fb-user-datastore-client-node v0.0.34
Form Builder User Data Store client (Node)
Client for making requests to Form Builder platform user datastore endpoints
Requirements
Node
Installation
npm install @ministryofjustice/fb-user-datastore-client-node
Usage
Loading and initialising
// load client
const FBUserDataStoreClient = require('@ministryofjustice/fb-user-datastore-client-node')
// initialise client
const userDataStoreClient = new FBUserDataStoreClient(serviceSecret, serviceToken, serviceSlug, userDataStoreUrl)
Fetching and storing
// fetch user data
const userData = await userDataStoreClient.getData(userId, userToken)
// store user data
await userDataStoreClient.setData(userId, userToken, userData)
0.0.34
5 years ago
0.0.33
6 years ago
0.0.32
6 years ago
0.0.30
6 years ago
0.0.29
6 years ago
0.0.28
6 years ago
0.0.27
6 years ago
0.0.26
6 years ago
0.0.25
6 years ago
0.0.23-c
6 years ago
0.0.23-b
6 years ago
0.0.23-a
6 years ago
0.0.23-3
6 years ago
0.0.23-2
6 years ago
0.0.23-1
6 years ago
0.0.24
6 years ago
0.0.23
6 years ago
0.0.22
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.10-alpha
6 years ago
0.0.9-alpha
7 years ago
0.0.8-alpha
7 years ago
0.0.6-alpha
7 years ago
0.0.3-alpha
7 years ago
0.0.2-alpha
7 years ago
0.0.1-alpha
7 years ago