@neoskop/aviation-client
Advanced tools
Comparing version 0.1.7 to 0.2.0
{ | ||
"name": "@neoskop/aviation-client", | ||
"version": "0.1.7", | ||
"version": "0.2.0", | ||
"main": "dist/index.js", | ||
@@ -25,2 +25,3 @@ "typings": "dist/index.d.ts", | ||
"@types/express": "^4.0.36", | ||
"@types/jsdom": "^11.0.0", | ||
"@types/mocha": "^2.2.41", | ||
@@ -30,3 +31,5 @@ "chai": "3.x.x", | ||
"express": "^4.15.3", | ||
"jsdom": "^11.0.0", | ||
"mocha": "^3.4.2", | ||
"node-localstorage": "^1.3.0", | ||
"node-mocks-http": "^1.6.3", | ||
@@ -33,0 +36,0 @@ "rimraf": "^2.6.1", |
@@ -21,3 +21,3 @@ ![Aviation](https://bytebucket.org/neoskop/aviation-client-typescript/raw/master/logo.png) | ||
client.feature('test-feature-1').then(f => { | ||
if (f.enabled) { | ||
if (f.evaluate()) { | ||
console.log('feature is enabled!'); | ||
@@ -27,4 +27,4 @@ } else { | ||
} | ||
}).catch(() => { | ||
console.log('could not retrieve feature from server!'); | ||
}).catch((err) => { | ||
console.log('could not retrieve feature from server!', err); | ||
}); | ||
@@ -31,0 +31,0 @@ ``` |
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
28237
15