@uniformdev/optimize-tracker
Advanced tools
Comparing version 1.0.1-alpha.100 to 1.0.1-alpha.107
@@ -589,18 +589,2 @@ "use strict"; | ||
combinedScoring = _b.sent(); | ||
if (summary.length || !this._previouslyBroadcastedScore) { | ||
this.log({ | ||
level: 'verbose', | ||
message: "Broadcasting score change to listeners", | ||
region: loggingRegion, | ||
}); | ||
this.broadcastScoring(combinedScoring); | ||
} | ||
else { | ||
this.log({ | ||
level: 'verbose', | ||
message: "Not broadcasting unchanged score to listeners", | ||
region: loggingRegion, | ||
previous: this._previouslyBroadcastedScore, | ||
}); | ||
} | ||
return [4 /*yield*/, this.broadcastScoring(combinedScoring)]; | ||
@@ -762,3 +746,3 @@ case 6: | ||
return __awaiter(this, void 0, void 0, function () { | ||
var scoring, preDecay; | ||
var scoring, preDecay, decayedScoring; | ||
return __generator(this, function (_a) { | ||
@@ -773,3 +757,6 @@ switch (_a.label) { | ||
case 2: | ||
scoring = _a.sent(); | ||
decayedScoring = _a.sent(); | ||
if (typeof decayedScoring !== 'undefined') { | ||
scoring = decayedScoring; | ||
} | ||
if (scoring) { | ||
@@ -776,0 +763,0 @@ this.log({ |
@@ -586,18 +586,2 @@ var __assign = (this && this.__assign) || function () { | ||
combinedScoring = _b.sent(); | ||
if (summary.length || !this._previouslyBroadcastedScore) { | ||
this.log({ | ||
level: 'verbose', | ||
message: "Broadcasting score change to listeners", | ||
region: loggingRegion, | ||
}); | ||
this.broadcastScoring(combinedScoring); | ||
} | ||
else { | ||
this.log({ | ||
level: 'verbose', | ||
message: "Not broadcasting unchanged score to listeners", | ||
region: loggingRegion, | ||
previous: this._previouslyBroadcastedScore, | ||
}); | ||
} | ||
return [4 /*yield*/, this.broadcastScoring(combinedScoring)]; | ||
@@ -759,3 +743,3 @@ case 6: | ||
return __awaiter(this, void 0, void 0, function () { | ||
var scoring, preDecay; | ||
var scoring, preDecay, decayedScoring; | ||
return __generator(this, function (_a) { | ||
@@ -770,3 +754,6 @@ switch (_a.label) { | ||
case 2: | ||
scoring = _a.sent(); | ||
decayedScoring = _a.sent(); | ||
if (typeof decayedScoring !== 'undefined') { | ||
scoring = decayedScoring; | ||
} | ||
if (scoring) { | ||
@@ -773,0 +760,0 @@ this.log({ |
{ | ||
"name": "@uniformdev/optimize-tracker", | ||
"version": "1.0.1-alpha.100+610d245f", | ||
"version": "1.0.1-alpha.107+83456e13", | ||
"description": "Uniform Optimize tracker", | ||
@@ -25,4 +25,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@uniformdev/optimize-common": "^1.0.1-alpha.100+610d245f", | ||
"@uniformdev/optimize-tracker-common": "^1.0.1-alpha.100+610d245f", | ||
"@uniformdev/optimize-common": "^1.0.1-alpha.107+83456e13", | ||
"@uniformdev/optimize-tracker-common": "^1.0.1-alpha.107+83456e13", | ||
"uuid": "^8.3.1" | ||
@@ -48,3 +48,3 @@ }, | ||
}, | ||
"gitHead": "610d245fc7d7cb30e89175c647e885cece25b346" | ||
"gitHead": "83456e13b5b238f959b85d27ce78ad30be606443" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
251405
5095