skandha 0.14.0 → 0.15.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.
Files changed (2) hide show
  1. package/lib/operation.js +1 -1
  2. package/package.json +6 -1
package/lib/operation.js CHANGED
@@ -20,8 +20,8 @@ function _operation(target, propertyName, descriptor, punctualOptions) {
20
20
  if (typeof descriptor.value === 'function') {
21
21
  descriptor.value = !!punctualOptions.async
22
22
  ? function (...args) {
23
- var _a;
24
23
  return __awaiter(this, void 0, void 0, function* () {
24
+ var _a;
25
25
  const facet = this;
26
26
  const isLogging = options.logging && ((_a = punctualOptions.log) !== null && _a !== void 0 ? _a : true);
27
27
  isLogging && log(facet, propertyName, args, true);
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "skandha",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Create data containers with modular behaviours",
5
5
  "main": "index.js",
6
+ "exports": {
7
+ ".": {
8
+ "default": "./index.js"
9
+ }
10
+ },
6
11
  "repository": "https://github.com/mnieber/skandha.git",
7
12
  "author": "Maarten Nieber",
8
13
  "license": "MIT",