@bbn/bbn 1.0.285 → 1.0.286

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.
@@ -9,7 +9,7 @@
9
9
  * @returns
10
10
  */
11
11
  export default function startChrono(name) {
12
- var now = bbn.fn.microtime();
12
+ var now = bbn.fn.microtimestamp();
13
13
  if (!this.constructor.chronos) {
14
14
  Object.defineProperty(this.constructor, 'chronos', {
15
15
  value: Object.create(null),
@@ -12,7 +12,7 @@
12
12
  */
13
13
  export default function stopChrono(name) {
14
14
  if (this.constructor.chronos[name || 'default']) {
15
- var now = bbn.fn.microtime();
15
+ var now = bbn.fn.microtimestamp();
16
16
  var diff = now - this.constructor.chronos[name || 'default'];
17
17
  delete this.constructor.chronos[name || 'default'];
18
18
  return diff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.285",
3
+ "version": "1.0.286",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",