doura-plugin-log
Advanced tools
Comparing version 0.0.0-rc.5 to 0.0.0-rc.6
const douraLog = function () { | ||
return { | ||
onModelInstance(instance) { | ||
instance.$onAction((action) => { | ||
console.log('action: ', action) | ||
console.log('$state :', instance.$rawState) | ||
}) | ||
}, | ||
} | ||
} | ||
export default douraLog | ||
return { | ||
onModelInstance(instance) { | ||
instance.$onAction((action) => { | ||
console.log('action: ', action); | ||
console.log('$state :', instance.$rawState); | ||
}); | ||
}, | ||
}; | ||
}; | ||
export default douraLog; |
@@ -1,13 +0,13 @@ | ||
'use strict' | ||
Object.defineProperty(exports, '__esModule', { value: true }) | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const douraLog = function () { | ||
return { | ||
onModelInstance(instance) { | ||
instance.$onAction((action) => { | ||
console.log('action: ', action) | ||
console.log('$state :', instance.$rawState) | ||
}) | ||
}, | ||
} | ||
} | ||
exports.default = douraLog | ||
return { | ||
onModelInstance(instance) { | ||
instance.$onAction((action) => { | ||
console.log('action: ', action); | ||
console.log('$state :', instance.$rawState); | ||
}); | ||
}, | ||
}; | ||
}; | ||
exports.default = douraLog; |
{ | ||
"name": "doura-plugin-log", | ||
"version": "0.0.0-rc.5", | ||
"version": "0.0.0-rc.6", | ||
"main": "lib/index.js", | ||
@@ -52,4 +52,4 @@ "module": "esm/index.js", | ||
"peerDependencies": { | ||
"doura": "0.0.0-rc.5" | ||
"doura": "0.0.0-rc.6" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2130