serializable-bptree 5.0.1 → 5.0.2
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/cjs/index.cjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1125,8 +1125,8 @@ var BPTreeAsync = class extends BPTree {
|
|
|
1125
1125
|
this.root = await this._createNode(true, [], [], true);
|
|
1126
1126
|
this.strategy.head.root = this.root.id;
|
|
1127
1127
|
this.bufferForNodeCreate(this.root);
|
|
1128
|
-
this.commitHeadBuffer();
|
|
1129
|
-
this.commitNodeCreateBuffer();
|
|
1128
|
+
await this.commitHeadBuffer();
|
|
1129
|
+
await this.commitNodeCreateBuffer();
|
|
1130
1130
|
} else {
|
|
1131
1131
|
const { root, order } = head;
|
|
1132
1132
|
this.strategy.head = head;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1091,8 +1091,8 @@ var BPTreeAsync = class extends BPTree {
|
|
|
1091
1091
|
this.root = await this._createNode(true, [], [], true);
|
|
1092
1092
|
this.strategy.head.root = this.root.id;
|
|
1093
1093
|
this.bufferForNodeCreate(this.root);
|
|
1094
|
-
this.commitHeadBuffer();
|
|
1095
|
-
this.commitNodeCreateBuffer();
|
|
1094
|
+
await this.commitHeadBuffer();
|
|
1095
|
+
await this.commitNodeCreateBuffer();
|
|
1096
1096
|
} else {
|
|
1097
1097
|
const { root, order } = head;
|
|
1098
1098
|
this.strategy.head = head;
|