fastify-feature-flags
Advanced tools
Comparing version 1.2.0 to 1.2.2
@@ -5,2 +5,10 @@ # Change Log | ||
## [1.2.2](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.2.1...v1.2.2) (2019-04-26) | ||
## [1.2.1](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.2.0...v1.2.1) (2019-04-26) | ||
# [1.2.0](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.1.0...v1.2.0) (2019-04-26) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "fastify-feature-flags", | ||
"version": "1.2.0", | ||
"version": "1.2.2", | ||
"description": "Fastify feature flags plugin", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -94,2 +94,3 @@ # fastify-feature-flags | ||
```js | ||
const ConfigProvider = require('fastify-feature-flags/dist/providers/config'); | ||
const provider = new ConfigProvider({ | ||
@@ -116,2 +117,3 @@ prefix: 'features', | ||
```js | ||
const EnvProvider = require('fastify-feature-flags/dist/providers/env'); | ||
const provider = new EnvProvider({ | ||
@@ -132,5 +134,6 @@ prefix: 'FEATURE_', | ||
```js | ||
const UnleashProvider = require('fastify-feature-flags/dist/providers/unleash'); | ||
const provider = new UnleashProvider({ | ||
appName: 'my-fastify-app'; | ||
url: 'https://unleash.example.com'; | ||
appName: 'my-fastify-app', | ||
url: 'https://unleash.example.com/api', | ||
}) | ||
@@ -137,0 +140,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
19519
201