featureflow-node-sdk 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,14 @@ Get your Featureflow account at [featureflow.io](http://www.featureflow.io)
14
14
 
15
15
  The easiest way to get started is to follow the [Featureflow quick start guides](http://docs.featureflow.io/docs)
16
16
 
17
+ ## Examples
18
+
19
+ Express: [here](https://github.com/featureflow/featureflow-node-example)
20
+
21
+ NextJS: [here](https://github.com/featureflow/featureflow-example-nextjs)
22
+
23
+ 5 Minute: [here](https://github.com/featureflow/featureflow-fiveminute-node) [(docs)](https://docs.featureflow.io/docs/nodejs-5-minute-test)
24
+
17
25
  ## Change Log
18
26
 
19
27
  Please see [CHANGELOG](https://github.com/featureflow/featureflow-node-sdk/blob/master/CHANGELOG.md).
@@ -52,7 +52,7 @@ function featureEvaluation(feature, user) {
52
52
  }
53
53
 
54
54
  function ruleMatches(rule, user) {
55
- if (rule.defaultRule) {
55
+ if (!rule.audience) {
56
56
  return true;
57
57
  } else {
58
58
  for (var cKey in rule.audience.conditions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "featureflow-node-sdk",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Featureflow sdk for Node",
5
5
  "main": "dist/index.js",
6
6
  "engines": {