updateConfig(options: UpdateConfigParams)

Requires:
@ray-js/lock-sdk≥1.1.0

Description

Update the target Runtime configuration (only merge fields that are populated in the input).

Parameters

ParameterTypeRequiredDescription
YesSame shape as LockSDKOption but without devInfo / deviceId / preFetch

Return Value

Type: void
None

Valid Values

UpdateConfigParams.logLevel
ValueDescriptionSince
off--
error--
warn--
info--
debug--
trace--
UpdateConfigParams.kind
ValueDescriptionSince
lock--
fit--
screen--

Examples

Disable strict mode and enable multi-face

import { updateConfig } from '@ray-js/lock-sdk';
updateConfig({ strictMode: false, supportMultipleFace: true });