@based/db 0.0.6 → 0.0.7

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.
@@ -50,7 +50,6 @@ export const runSubscription = (subscription) => {
50
50
  else {
51
51
  subscription.res = new BasedQueryResponse(q.id, q.def, buf, performance.now() - d);
52
52
  }
53
- console.log('RUN ', subscription.subs.size);
54
53
  subscription.subs.forEach((fn) => {
55
54
  fn(subscription.res, err);
56
55
  });
@@ -280,7 +280,7 @@ export class DbServer {
280
280
  if (strictSchema.props) {
281
281
  // insert a root node
282
282
  const data = [2, 1, 0, 0, 0, 9, 1, 0, 0, 0, 7, 1, 0, 1];
283
- const blockKey = makeCsmtKey(1, 0);
283
+ const blockKey = makeCsmtKey(1, 1);
284
284
  const buf = Buffer.alloc(data.length + 2 + 8 + 4);
285
285
  // add content
286
286
  buf.set(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@based/db",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",