bindLockToFit(lock: UnbindLockItem)

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

Description

Bind the lock to the current accessory

Parameters

ParameterTypeRequiredDescription
YesLock to bind

Return Value

Type: Promise<unknown>
Final binding result from the cloud

Examples

import { bindLockToFit } from '@ray-js/lock-sdk';
const result = bindLockToFit({
  devId: '1234567890',
  fittingId: '1234567890',
});
console.log(result);