---
name: "updateConfig"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.1.0" }
title: "updateConfig - Update SDK configuration."
summary: "Updates lock SDK configuration after initialization."
---

## updateConfig

> [VERSION] @ray-js/lock-sdk >= 1.1.0

### Description

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

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `strictMode` | `boolean` | No | Strict mode: when true, perform strict validation on DP |
| `passwordDigitalBase` | `number` | No | Numeral base used to display/edit the password (≤10) |
| `passwordSupportZero` | `boolean` | No | Whether the password allows the digit 0 |
| `supportMultipleFace` | `boolean` | No | Whether multi-face capability is supported |
| `supportOfflineDps` | `boolean` | No | Whether to enable offline tasks such as offline DP sync |

### Return Value

None


### Examples

#### Disable strict mode and enable multi-face

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