@rolloutctrl/js-sdk 0.0.7 → 0.0.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/dist/index.js CHANGED
@@ -448,6 +448,7 @@ var RolloutCtrlClient = class {
448
448
  featureFlagId: flag.id,
449
449
  featureFlagEnvironmentId: flag.featureFlagEnvironmentId
450
450
  };
451
+ this.metricsQueue.push({ ...base, type: "FLAG_EVALUATION" });
451
452
  if (result.enabled) {
452
453
  this.metricsQueue.push({ ...base, type: "FLAG_ENABLED" });
453
454
  if (result.strategy?.id) {
package/dist/index.mjs CHANGED
@@ -419,6 +419,7 @@ var RolloutCtrlClient = class {
419
419
  featureFlagId: flag.id,
420
420
  featureFlagEnvironmentId: flag.featureFlagEnvironmentId
421
421
  };
422
+ this.metricsQueue.push({ ...base, type: "FLAG_EVALUATION" });
422
423
  if (result.enabled) {
423
424
  this.metricsQueue.push({ ...base, type: "FLAG_ENABLED" });
424
425
  if (result.strategy?.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolloutctrl/js-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "RolloutCtrl JavaScript SDK for browser applications",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",