@xyo-network/module-events
Advanced tools
Comparing version 3.3.0 to 3.3.1
import type { BaseParams } from '@xylabs/object'; | ||
import { Base } from '@xylabs/object'; | ||
import type { EventAnyListener, EventArgs, EventData, EventFunctions, EventListener, EventName } from '../model/index.ts'; | ||
/** | ||
Emittery can collect and log debug information. | ||
To enable this feature set the `DEBUG` environment variable to `emittery` or `*`. Additionally, you can set the static `isDebugEnabled` variable to true | ||
on the Emittery class, or `myEmitter.debug.enabled` on an instance of it for debugging a single instance. | ||
See API for more information on how debugging works. | ||
*/ | ||
export type DebugLogger = (type: string, debugName: string, eventName?: EventName, eventData?: EventArgs) => void; | ||
@@ -9,2 +17,5 @@ export type EventListenerInfo<TEventArgs extends EventArgs = EventArgs> = { | ||
}; | ||
/** | ||
Configure debug options of an instance. | ||
*/ | ||
export type DebugOptions = { | ||
@@ -11,0 +22,0 @@ enabled?: boolean; |
{ | ||
"name": "@xyo-network/module-events", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -32,12 +32,12 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/assert": "^4.2.2", | ||
"@xylabs/error": "^4.2.2", | ||
"@xylabs/forget": "^4.2.2", | ||
"@xylabs/object": "^4.2.2", | ||
"@xylabs/promise": "^4.2.2" | ||
"@xylabs/assert": "^4.3.2", | ||
"@xylabs/error": "^4.3.2", | ||
"@xylabs/forget": "^4.3.2", | ||
"@xylabs/object": "^4.3.2", | ||
"@xylabs/promise": "^4.3.2" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/delay": "^4.2.2", | ||
"@xylabs/ts-scripts-yarn3": "^4.2.1", | ||
"@xylabs/tsconfig": "^4.2.1", | ||
"@xylabs/delay": "^4.3.2", | ||
"@xylabs/ts-scripts-yarn3": "^4.2.3", | ||
"@xylabs/tsconfig": "^4.2.3", | ||
"typescript": "^5.6.3" | ||
@@ -44,0 +44,0 @@ }, |
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
68762
750
Updated@xylabs/assert@^4.3.2
Updated@xylabs/error@^4.3.2
Updated@xylabs/forget@^4.3.2
Updated@xylabs/object@^4.3.2
Updated@xylabs/promise@^4.3.2