@bbn/bbn 2.0.243 → 2.0.245

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.
@@ -4,7 +4,7 @@ export default class bbnDbCenter {
4
4
  async handleMessage(event) {
5
5
  const command = event.data;
6
6
  const port = event.ports?.[0];
7
- bbn.fn.log("Received DB command:", command, port, "END");
7
+ //bbn.fn.log("Received DB command:", command, port, "END");
8
8
  if (!port || !command?.method?.includes('.')) {
9
9
  return false;
10
10
  }
@@ -588,7 +588,7 @@ const db = {
588
588
  return await this.open(name, nextVersion);
589
589
  },
590
590
  async open(database, version) {
591
- log("fn open database " + database + " version " + version, this._structures);
591
+ log("Hello " + database);
592
592
  if (database !== 'bbn') {
593
593
  log("THERE SHOULD BE A DEBUGGER!!!!!!!");
594
594
  debugger;
@@ -1,4 +1,3 @@
1
- import log from '../../fn/browser/log.js';
2
1
  let requestId = 0;
3
2
  function callServiceWorker(obj, method, args) {
4
3
  return new Promise((resolve, reject) => {
@@ -10,7 +9,7 @@ function callServiceWorker(obj, method, args) {
10
9
  const channel = new MessageChannel();
11
10
  channel.port1.onmessage = event => {
12
11
  const msg = event.data;
13
- log(['SW response', msg]);
12
+ //log(['SW response', msg]);
14
13
  if (msg?.id !== id) {
15
14
  return;
16
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.243",
3
+ "version": "2.0.245",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",