The context object is passed in when instantiating a team to identify the runtime environment; it identifies the current local user, the device we're running on, and client application.
const context = { user, device, client }
The name of the device needs to be unique among this user's devices.
const device = {
userName: 'bob',
deviceName: 'iPhone 11',
}
Optionally, you can identify the client application.
const client = {
name: 'MyAmazingTeamApp',
version: '1.2.3',
}