@aibee/crc-bmap 0.6.12 → 0.6.14
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/lib/bmap.cjs.min.js +2 -2
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +3 -5
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +2 -2
- package/lib/bmap.min.js.map +3 -3
- package/lib/src/utils/index-db.d.ts +1 -1
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -9212,9 +9212,7 @@ var Navigation = class extends Plugin {
|
|
|
9212
9212
|
}
|
|
9213
9213
|
if (!this.options.disablePathAnimation) {
|
|
9214
9214
|
tween?.pause();
|
|
9215
|
-
this.positionNavigation.tweenUtil.pause();
|
|
9216
9215
|
await this.changeCameraToPathUp(500 / this.options.speed);
|
|
9217
|
-
this.positionNavigation.tweenUtil.continue();
|
|
9218
9216
|
tween?.resume();
|
|
9219
9217
|
}
|
|
9220
9218
|
}
|
|
@@ -10904,8 +10902,8 @@ function createStore(storeName, db = _db) {
|
|
|
10904
10902
|
db.createObjectStore(storeName, { keyPath: "key" });
|
|
10905
10903
|
}
|
|
10906
10904
|
}
|
|
10907
|
-
function closeDb() {
|
|
10908
|
-
|
|
10905
|
+
function closeDb(db = _db) {
|
|
10906
|
+
db?.close();
|
|
10909
10907
|
_db = null;
|
|
10910
10908
|
}
|
|
10911
10909
|
|
|
@@ -11361,7 +11359,7 @@ var AibeeLoader = class {
|
|
|
11361
11359
|
return floor;
|
|
11362
11360
|
}
|
|
11363
11361
|
async clear() {
|
|
11364
|
-
|
|
11362
|
+
closeDb(this.db ?? void 0);
|
|
11365
11363
|
}
|
|
11366
11364
|
dispose() {
|
|
11367
11365
|
this.clear();
|