@mayahq/maya-db
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -84,3 +84,2 @@ "use strict"; | ||
}; | ||
console.log('request', request); | ||
return [4 /*yield*/, (0, axios_1.default)(request)]; | ||
@@ -290,2 +289,3 @@ case 1: return [2 /*return*/, _a.sent()]; | ||
lockId = response.data.lockId; | ||
console.log('lockId', lockId); | ||
unlockOp = { | ||
@@ -292,0 +292,0 @@ path: blockPath, |
@@ -156,3 +156,3 @@ "use strict"; | ||
}); }); | ||
test.only('Creating block works if parent collections exist', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
test('Creating block works if parent collections exist', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
var block, e_1; | ||
@@ -399,3 +399,3 @@ return __generator(this, function (_a) { | ||
}); }); | ||
test('Acquiring lock on block works', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
test.only('Acquiring lock on block works', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
var sleep, increment, t1, t2, blockDoc; | ||
@@ -450,3 +450,3 @@ return __generator(this, function (_a) { | ||
}); | ||
}); }); | ||
}); }, 20000); | ||
test('Ensuring hierarchy works', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -453,0 +453,0 @@ var hblock3, hblock2, hcol3; |
@@ -89,2 +89,4 @@ "use strict"; | ||
} | ||
}, { | ||
new: true | ||
})]; | ||
@@ -114,2 +116,4 @@ case 1: | ||
} | ||
}, { | ||
new: true | ||
})]; | ||
@@ -116,0 +120,0 @@ case 1: |
{ | ||
"name": "@mayahq/maya-db", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A small, encrypted simple document database meant for client-side use.", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
223693
4496
0