node-ab-decider
Advanced tools
Comparing version 0.0.17 to 0.0.18
{ | ||
"name": "node-ab-decider", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "", | ||
@@ -9,2 +9,3 @@ "main": "index.js", | ||
"scripts": { | ||
"patch": "npm version patch && git push", | ||
"test": "ava", | ||
@@ -11,0 +12,0 @@ "test:dev": "ava --watch --verbose" |
@@ -51,3 +51,2 @@ ## Setup | ||
app.use(middleware(experiments, { | ||
defaultVariantName:"default", | ||
// ...opts | ||
@@ -63,5 +62,2 @@ }), (req,res)=>res.send('original')) | ||
### defaultVariantName | ||
Name of the variant when none of the exps where choosen. | ||
### maxAge | ||
@@ -76,2 +72,5 @@ Expiration (in milliseconds) of the cookie | ||
### hash | ||
Hash added to the cookie. It is something like a version. | ||
### sendHeaderToChild | ||
@@ -78,0 +77,0 @@ If false it avoids to send "ab-decider-child" header to the proxied endpoint |
157474
80