owl-cli 6.98.0 → 6.99.0

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.
@@ -500,7 +500,7 @@ var @projectCodeService = (function (pigeon) {
500
500
  throw JSON.stringify(ret);
501
501
  }
502
502
 
503
- data.id = f.getId(data)
503
+
504
504
  data['owl_createTime'] = new Date().getTime();
505
505
  data['owl_modifyTime'] = new Date().getTime();
506
506
  data['_v'] = 0
@@ -512,6 +512,7 @@ var @projectCodeService = (function (pigeon) {
512
512
  }
513
513
  pigeon.lock(f.getLock(data))
514
514
  EventBusService.fire(spec['_t'] + '_add_before', {data: data, env: env})
515
+ data.id = f.getId(data)
515
516
  f.saveUniqueFields(data, env)
516
517
  pigeon.saveObject(data.id, data)
517
518
  f.addToList(data)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.98.0",
3
+ "version": "6.99.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {