featureflow-node-sdk 0.6.8 → 0.6.9-alpha

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/dist/Client.js CHANGED
@@ -105,6 +105,17 @@ var Featureflow = function (_EventEmitter) {
105
105
  });
106
106
  }
107
107
  }
108
+ }, {
109
+ key: 'waitForReady',
110
+ value: function waitForReady() {
111
+ var _this3 = this;
112
+
113
+ return new Promise(function (resolve) {
114
+ _this3.ready(function () {
115
+ return resolve();
116
+ });
117
+ });
118
+ }
108
119
  }, {
109
120
  key: 'evaluateAll',
110
121
  value: function (_evaluateAll) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "featureflow-node-sdk",
3
- "version": "0.6.8",
3
+ "version": "0.6.9-alpha",
4
4
  "description": "Featureflow sdk for Node",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
package/CHANGELOG.md DELETED
@@ -1,42 +0,0 @@
1
- # Change log
2
- ## [0.6.4] - 2018-012-18
3
- ### Changed
4
- - Simplify express middleware
5
- - Update url to events.featureflow.io for events
6
- - Improve polling time
7
- - Update readme
8
- ## [0.5.5] - 2017-07-14
9
- ### Changed
10
- - Updated tests
11
- ## [0.5.4] - 2017-07-14
12
- ### Changed
13
- - Added baseUrl config option, added `featureflow.ready(function(){})` callback
14
- ### Fixed
15
- - Issue with offVariantKey
16
- ## [0.5.2] - 2017-07-10
17
- ### Changed
18
- - Fix support for `var Featureflow = require('featureflow-node-sdk')`, previously was on `Featureflow.default`
19
- ## [0.5.0] - 2017-06-30
20
- ### Breaking Changes
21
- - Entire api rewritten to follow closer to other SDK implementations.
22
- ## [0.3.0] - 2017-04-13
23
- ### Changed
24
- - `Featureflow.init()` now returns the client, and the callback is optional. You can listen to `Featureflow.events.INIT` and `Featureflow.events.UPDATED` separately using `featureflow.on(event, callback)`.
25
- - Added new events `Featureflow.events.INIT` and `Featureflow.events.UPDATED_VERBOSE`.
26
- ### Fixed
27
- - `Featureflow.events.INIT` now fires before `Featureflow.events.UPDATED`
28
- ## [0.1.3] - 2017-03-21
29
- ### Changed
30
- - Added `Featureflow.events.UPDATED` and `Featureflow.events.ERROR` constants for usage with `featureflow.on(event, callback)`.
31
- ## [0.1.2] - 2017-03-21
32
- ### Changed
33
- - `featureflow.close()` added to close connection with **featureflow.io**.
34
- ## [0.1.1] - 2017-03-21
35
- ### Changed
36
- - `Featureflow.init(config, callback)` now starts up with the feature values passed in with `config.withFeatures`
37
- and corresponding failoverVariants if your app is not able to connect to **featureflow.io**.
38
- - Callback now only fires once per call to `Featureflow.init(...)`
39
- ## [0.1.0] - 2017-03-20
40
- ### Changed
41
- - Initial Build
42
-