@vue-skuilder/db 0.1.11-0 → 0.1.11-3
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.
- package/dist/core/index.js +8 -4
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +6 -3
- package/dist/core/index.mjs.map +1 -1
- package/dist/impl/couch/index.js +34 -26
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +32 -25
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.js +8 -4
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +6 -3
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +28 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
- package/src/factory.ts +6 -2
- package/src/impl/couch/auth.ts +48 -21
- package/src/impl/couch/index.ts +17 -5
package/dist/core/index.js
CHANGED
|
@@ -1445,12 +1445,14 @@ var init_adminDB2 = __esm({
|
|
|
1445
1445
|
});
|
|
1446
1446
|
|
|
1447
1447
|
// src/impl/couch/auth.ts
|
|
1448
|
+
var import_cross_fetch;
|
|
1448
1449
|
var init_auth = __esm({
|
|
1449
1450
|
"src/impl/couch/auth.ts"() {
|
|
1450
1451
|
"use strict";
|
|
1451
1452
|
init_factory();
|
|
1452
1453
|
init_types_legacy();
|
|
1453
1454
|
init_logger();
|
|
1455
|
+
import_cross_fetch = __toESM(require("cross-fetch"));
|
|
1454
1456
|
}
|
|
1455
1457
|
});
|
|
1456
1458
|
|
|
@@ -1503,12 +1505,13 @@ function getStartAndEndKeys2(key) {
|
|
|
1503
1505
|
endkey: key + "\uFFF0"
|
|
1504
1506
|
};
|
|
1505
1507
|
}
|
|
1506
|
-
var import_moment4, import_process, isBrowser, GUEST_LOCAL_DB, localUserDB, pouchDBincludeCredentialsConfig, REVIEW_TIME_FORMAT2;
|
|
1508
|
+
var import_cross_fetch2, import_moment4, import_process, isBrowser, GUEST_LOCAL_DB, localUserDB, pouchDBincludeCredentialsConfig, REVIEW_TIME_FORMAT2;
|
|
1507
1509
|
var init_couch = __esm({
|
|
1508
1510
|
"src/impl/couch/index.ts"() {
|
|
1509
1511
|
"use strict";
|
|
1510
1512
|
init_factory();
|
|
1511
1513
|
init_types_legacy();
|
|
1514
|
+
import_cross_fetch2 = __toESM(require("cross-fetch"));
|
|
1512
1515
|
import_moment4 = __toESM(require("moment"));
|
|
1513
1516
|
init_logger();
|
|
1514
1517
|
init_pouchdb_setup();
|
|
@@ -2408,15 +2411,16 @@ function getDataLayer() {
|
|
|
2408
2411
|
}
|
|
2409
2412
|
return dataLayerInstance;
|
|
2410
2413
|
}
|
|
2411
|
-
var ENV, dataLayerInstance;
|
|
2414
|
+
var NOT_SET, ENV, dataLayerInstance;
|
|
2412
2415
|
var init_factory = __esm({
|
|
2413
2416
|
"src/factory.ts"() {
|
|
2414
2417
|
"use strict";
|
|
2415
2418
|
init_common();
|
|
2416
2419
|
init_logger();
|
|
2420
|
+
NOT_SET = "NOT_SET";
|
|
2417
2421
|
ENV = {
|
|
2418
|
-
COUCHDB_SERVER_PROTOCOL:
|
|
2419
|
-
COUCHDB_SERVER_URL:
|
|
2422
|
+
COUCHDB_SERVER_PROTOCOL: NOT_SET,
|
|
2423
|
+
COUCHDB_SERVER_URL: NOT_SET,
|
|
2420
2424
|
LOCAL_STORAGE_PREFIX: ""
|
|
2421
2425
|
};
|
|
2422
2426
|
dataLayerInstance = null;
|