@lad-tech/nsc-toolkit 2.0.0 → 2.0.2
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/CHANGELOG.md +3 -10
- package/dist/types/interfaces.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [2.0.2](https://github.com/lad-tech/nsc-toolkit/compare/v2.0.1...v2.0.2) (2025-07-07)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### BREAKING CHANGES
|
|
10
|
-
|
|
11
|
-
* Rename DEFAULT_REPONSE_TIMEOUT to DEFAULT_RESPONSE_TIMEOUT
|
|
12
|
-
|
|
13
|
-
Co-authored-by: gleip <kuchinsn@lad24.ru>
|
|
6
|
+
* Fix off method ([#152](https://github.com/lad-tech/nsc-toolkit/issues/152)) ([a611d8b](https://github.com/lad-tech/nsc-toolkit/commit/a611d8ba4c1b8c3eeb811d4e7aa677e747745e2a))
|
|
@@ -139,7 +139,7 @@ export interface Listener<E extends Emitter> {
|
|
|
139
139
|
}
|
|
140
140
|
export interface ListenerBatch<E extends Emitter> {
|
|
141
141
|
on<A extends keyof E>(action: A, handler: (params: Array<Parameters<E[A]>[0]>, meter: EventMeter) => void): void;
|
|
142
|
-
off<A extends keyof E>(action: A, handler: (params: Array<Parameters<E[A]>[0]
|
|
142
|
+
off<A extends keyof E>(action: A, handler: (params: Array<Parameters<E[A]>[0]>, ...args: any[]) => void): void;
|
|
143
143
|
}
|
|
144
144
|
export interface HttpSettings {
|
|
145
145
|
ip?: string;
|