Comparing version 4.0.0 to 4.1.0
@@ -22,2 +22,3 @@ // Load modules | ||
host: undefined, | ||
authenticateEndpoint: false, | ||
port: 0 | ||
@@ -40,2 +41,3 @@ }; | ||
config: { | ||
auth: settings.authenticateEndpoint, | ||
handler: { | ||
@@ -96,3 +98,3 @@ directory: { | ||
config: { | ||
auth: false, // In case defaults are set otherwise | ||
auth: settings.authenticateEndpoint, | ||
handler: function (request, reply) { | ||
@@ -99,0 +101,0 @@ |
{ | ||
"name": "tv", | ||
"description": "Interactive debug console plugin for hapi", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"repository": "git://github.com/hapijs/tv", | ||
@@ -6,0 +6,0 @@ "main": "index", |
@@ -1,2 +0,2 @@ | ||
![tv Logo](https://raw.github.com/spumko/tv/master/images/tv.png) | ||
![tv Logo](https://raw.github.com/hapijs/tv/master/images/tv.png) | ||
@@ -11,3 +11,6 @@ TV is an interactive debug console plugin for [**hapi**](https://github.com/hapijs/hapi) | ||
Here's what it looks like in action: | ||
![TV interactive debug console](https://raw.github.com/hapijs/tv/master/images/tv-screenshot.png) | ||
### Using TV in Your Application | ||
@@ -44,1 +47,12 @@ | ||
- `template` - the name of the template to use for the debug console. Defaults to _index_. | ||
- `authenticateEndpoint` - set this to true to use auth schemes for TVs main- and file delivering routes (defaults to false) | ||
Below is an example of registering the tv plugin with some options: | ||
```javascript | ||
var options = {endpoint: '/awesome'}; | ||
server.register({register: Tv, options: options}, function (err) { | ||
... | ||
}); | ||
``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3858327
170
44618
57
8