@openfeature/core
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -442,2 +442,8 @@ "use strict"; | ||
/** | ||
* Removes all event handlers. | ||
*/ | ||
clearHandlers() { | ||
this._events.removeAllHandlers(); | ||
} | ||
/** | ||
* Gets the current handlers for the given provider event type. | ||
@@ -444,0 +450,0 @@ * @param {AnyProviderEvent} eventType The provider event type to get the current handlers for |
@@ -396,2 +396,8 @@ var __defProp = Object.defineProperty; | ||
/** | ||
* Removes all event handlers. | ||
*/ | ||
clearHandlers() { | ||
this._events.removeAllHandlers(); | ||
} | ||
/** | ||
* Gets the current handlers for the given provider event type. | ||
@@ -398,0 +404,0 @@ * @param {AnyProviderEvent} eventType The provider event type to get the current handlers for |
@@ -578,2 +578,6 @@ type FlagValueType = 'boolean' | 'string' | 'number' | 'object'; | ||
/** | ||
* Removes all event handlers. | ||
*/ | ||
clearHandlers(): void; | ||
/** | ||
* Gets the current handlers for the given provider event type. | ||
@@ -580,0 +584,0 @@ * @param {AnyProviderEvent} eventType The provider event type to get the current handlers for |
{ | ||
"name": "@openfeature/core", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Shared OpenFeature JS components (server and web)", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
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
172739
1806