Comparing version 3.0.0-rc.2 to 3.0.0-rc.3
@@ -25,4 +25,4 @@ "use strict"; | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [0, t.value]; | ||
switch (op[0]) { | ||
@@ -48,3 +48,3 @@ case 0: case 1: t = op; break; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = (function (SQLite, options) { return __awaiter(_this, void 0, void 0, function () { | ||
exports.default = function (SQLite, options) { return __awaiter(_this, void 0, void 0, function () { | ||
var db, err_1; | ||
@@ -76,3 +76,3 @@ return __generator(this, function (_a) { | ||
}); | ||
}); }); | ||
}); }; | ||
function getItem(db) { | ||
@@ -79,0 +79,0 @@ return function (key) { |
@@ -25,4 +25,4 @@ "use strict"; | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [0, t.value]; | ||
switch (op[0]) { | ||
@@ -70,3 +70,3 @@ case 0: case 1: t = op; break; | ||
exports.drivers = { sqliteDriver: sqlite_1.default }; | ||
var APIpeline = /** @class */ (function () { | ||
var APIpeline = (function () { | ||
function APIpeline(options, services, driver) { | ||
@@ -197,4 +197,4 @@ this._APIServices = {}; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
var keysToRemove, _a, _b, _i, serviceName, keysForService, err_3; | ||
var _this = this; | ||
return __generator(this, function (_c) { | ||
@@ -512,4 +512,4 @@ switch (_c.label) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
var keys, serviceDictionaryKey, dictionary, dictionaryKeys, err_8; | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
@@ -595,3 +595,3 @@ switch (_a.label) { | ||
APIpeline.prototype._buildRequestId = function (serviceDefinition, fullPath, fetchHeaders, mergedOptions, // fully merged options | ||
fetchOptions // fetch options | ||
fetchOptions // fetch options | ||
) { | ||
@@ -598,0 +598,0 @@ var ignoreHeadersWhenCaching = this._APIOptions.ignoreHeadersWhenCaching || |
{ | ||
"name": "apipeline", | ||
"version": "3.0.0-rc.2", | ||
"version": "3.0.0-rc.3", | ||
"description": "Feature-rich and pluggable offline-first API wrapper for the browser, node.js and react-native. Easily wire-up your API and make your app work offline in minutes !", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
104766