@vendit-dev/thirdparty-adapters 0.4.1-beta.3 → 0.4.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -325,7 +325,6 @@ var SmartAccessAdapter = /** @class */ (function () {
|
|
|
325
325
|
})];
|
|
326
326
|
case 2:
|
|
327
327
|
pinCodeResult = _b.sent();
|
|
328
|
-
console.log('🚀 ~ file: smartAccess.ts:364 ~ SmartAccessAdapter ~ pinCodeResult:', pinCodeResult);
|
|
329
328
|
keyId = pinCodeResult.keyId;
|
|
330
329
|
return [4 /*yield*/, this.callSmartAccessApi({
|
|
331
330
|
accommodationId: accommodationId,
|
|
@@ -334,7 +333,7 @@ var SmartAccessAdapter = /** @class */ (function () {
|
|
|
334
333
|
})];
|
|
335
334
|
case 3:
|
|
336
335
|
pinCodeQuery = _b.sent();
|
|
337
|
-
return [2 /*return*/, __assign(__assign({}, pinCodeQuery.lockList[0]), { keyId: keyId })];
|
|
336
|
+
return [2 /*return*/, __assign(__assign({}, pinCodeQuery.lockList[0]), { keyId: keyId, pinCodeResult: pinCodeResult })];
|
|
338
337
|
case 4: return [2 /*return*/];
|
|
339
338
|
}
|
|
340
339
|
});
|