@unrevealed/node
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -30,3 +30,3 @@ import { UnrevealedLogger } from './Logger'; | ||
team?: Team; | ||
}): Promise<FeatureKey[]>; | ||
}): FeatureKey[]; | ||
identify({ user, team }: { | ||
@@ -33,0 +33,0 @@ user?: User; |
@@ -77,6 +77,3 @@ "use strict"; | ||
getEnabledFeatures({ user, team, } = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield this._connectionPromise; | ||
return this._featureKeys.filter((featureKey) => this.isFeatureEnabled(featureKey, { user, team })); | ||
}); | ||
return this._featureKeys.filter((featureKey) => this.isFeatureEnabled(featureKey, { user, team })); | ||
} | ||
@@ -83,0 +80,0 @@ identify({ user, team }) { |
{ | ||
"name": "@unrevealed/node", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Unrevealed SDK for Node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
16529
342