Comparing version 0.1.0 to 0.2.0
@@ -31,2 +31,5 @@ var __accessCheck = (obj, member, msg) => { | ||
get activeEvents() { | ||
return this.getActiveEvents(); | ||
} | ||
getActiveEvents() { | ||
const multiKeys = Object.keys(__privateGet(this, _multiLibrary)); | ||
@@ -92,3 +95,3 @@ const singleKeys = Object.keys(__privateGet(this, _singleLibrary)); | ||
get activeEvents() { | ||
return super.activeEvents; | ||
return super.getActiveEvents(); | ||
} | ||
@@ -95,0 +98,0 @@ off(eventName, listener) { |
@@ -35,2 +35,5 @@ var __accessCheck = (obj, member, msg) => { | ||
get activeEvents() { | ||
return this.getActiveEvents(); | ||
} | ||
getActiveEvents() { | ||
const multiKeys = Object.keys(__privateGet(this, _multiLibrary)); | ||
@@ -96,3 +99,3 @@ const singleKeys = Object.keys(__privateGet(this, _singleLibrary)); | ||
get activeEvents() { | ||
return super.activeEvents; | ||
return super.getActiveEvents(); | ||
} | ||
@@ -99,0 +102,0 @@ off(eventName, listener) { |
@@ -5,2 +5,3 @@ import type { EmittenListener } from './types'; | ||
protected get activeEvents(): string[]; | ||
protected getActiveEvents(): string[]; | ||
protected off<TKey extends keyof TEventMap>(eventName: TKey, listener: EmittenListener<TEventMap[TKey]>): void; | ||
@@ -7,0 +8,0 @@ protected on<TKey extends keyof TEventMap>(eventName: TKey, listener: EmittenListener<TEventMap[TKey]>): void; |
{ | ||
"name": "emitten", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Barebones TypeScript event emitter", | ||
@@ -5,0 +5,0 @@ "author": "Curtis Dulmage", |
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
13304
272