@hackler/sdk-core
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -29,3 +29,3 @@ "use strict"; | ||
try { | ||
for (var _b = tslib_1.__values(evaluators.reverse()), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
for (var _b = (0, tslib_1.__values)(evaluators.reverse()), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
var flowEvaluator = _c.value; | ||
@@ -32,0 +32,0 @@ flow = new EvaluationFlow(flowEvaluator, flow); |
@@ -30,3 +30,3 @@ "use strict"; | ||
var Exposure = /** @class */ (function (_super) { | ||
tslib_1.__extends(Exposure, _super); | ||
(0, tslib_1.__extends)(Exposure, _super); | ||
function Exposure(timestamp, user, experiment, variationId, variationKey, decisionReason, hackleProperties) { | ||
@@ -58,3 +58,3 @@ var _this = _super.call(this, timestamp, user, hackleProperties) || this; | ||
var Track = /** @class */ (function (_super) { | ||
tslib_1.__extends(Track, _super); | ||
(0, tslib_1.__extends)(Track, _super); | ||
function Track(timestamp, user, eventType, event, hackleProperties) { | ||
@@ -61,0 +61,0 @@ var _this = _super.call(this, timestamp, user, hackleProperties) || this; |
@@ -39,4 +39,4 @@ "use strict"; | ||
EventProcessor.prototype.start = function () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () { | ||
return (0, tslib_1.__generator)(this, function (_a) { | ||
this.queue.start(); | ||
@@ -43,0 +43,0 @@ return [2 /*return*/]; |
@@ -138,3 +138,3 @@ "use strict"; | ||
Experiment.Draft = /** @class */ (function (_super) { | ||
tslib_1.__extends(Draft, _super); | ||
(0, tslib_1.__extends)(Draft, _super); | ||
function Draft(id, key, type, variations, overrides) { | ||
@@ -146,3 +146,3 @@ return _super.call(this, id, key, type, variations, overrides) || this; | ||
Experiment.Running = /** @class */ (function (_super) { | ||
tslib_1.__extends(Running, _super); | ||
(0, tslib_1.__extends)(Running, _super); | ||
function Running(id, key, type, variations, overrides, targetAudiences, targetRules, defaultRule) { | ||
@@ -158,3 +158,3 @@ var _this = _super.call(this, id, key, type, variations, overrides) || this; | ||
Experiment.Paused = /** @class */ (function (_super) { | ||
tslib_1.__extends(Paused, _super); | ||
(0, tslib_1.__extends)(Paused, _super); | ||
function Paused(id, key, type, variations, overrides) { | ||
@@ -166,3 +166,3 @@ return _super.call(this, id, key, type, variations, overrides) || this; | ||
Experiment.Completed = /** @class */ (function (_super) { | ||
tslib_1.__extends(Completed, _super); | ||
(0, tslib_1.__extends)(Completed, _super); | ||
function Completed(id, key, type, variations, overrides, _winnerVariationId) { | ||
@@ -283,3 +283,3 @@ var _this = _super.call(this, id, key, type, variations, overrides) || this; | ||
return undefined; | ||
var _a = tslib_1.__read(match, 6), _ = _a[0], major = _a[1], _b = _a[2], minor = _b === void 0 ? "0" : _b, _c = _a[3], patch = _c === void 0 ? "0" : _c, prerelease = _a[4], build = _a[5]; | ||
var _a = (0, tslib_1.__read)(match, 6), _ = _a[0], major = _a[1], _b = _a[2], minor = _b === void 0 ? "0" : _b, _c = _a[3], patch = _c === void 0 ? "0" : _c, prerelease = _a[4], build = _a[5]; | ||
var coreVersion = new CoreVersion(parseInt(major, 10), parseInt(minor, 10), parseInt(patch, 10)); | ||
@@ -286,0 +286,0 @@ return new Version(coreVersion, MetaVersion.parse(prerelease), MetaVersion.parse(build)); |
@@ -26,3 +26,3 @@ "use strict"; | ||
var _a; | ||
return (tslib_1.__assign(tslib_1.__assign({}, obj), (_a = {}, _a[key] = properties[key], _a))); | ||
return ((0, tslib_1.__assign)((0, tslib_1.__assign)({}, obj), (_a = {}, _a[key] = properties[key], _a))); | ||
}, {}); | ||
@@ -29,0 +29,0 @@ }; |
{ | ||
"name": "@hackler/sdk-core", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "JavaScript SDK-core", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235637
3190