@byloth/core 2.1.6 → 2.1.7
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/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +5 -4
- package/dist/core.esm.js.map +1 -1
- package/dist/core.global.js +1 -1
- package/dist/core.global.js.map +1 -1
- package/dist/core.umd.cjs +1 -1
- package/dist/core.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/models/callbacks/callable-object.ts +3 -3
- package/src/models/callbacks/publisher.ts +17 -67
- package/src/models/callbacks/switchable-callback.ts +1 -1
- package/src/models/callbacks/types.ts +1 -1
package/dist/core.esm.js
CHANGED
|
@@ -3690,14 +3690,15 @@ const F = class F {
|
|
|
3690
3690
|
* ---
|
|
3691
3691
|
*
|
|
3692
3692
|
* @template U
|
|
3693
|
-
* A map containing the names of the emittable events and
|
|
3694
|
-
* related callback signatures that can be subscribed to them.
|
|
3695
|
-
* Default is `
|
|
3693
|
+
* A map containing the additional names of the emittable events and
|
|
3694
|
+
* the related callback signatures that can be subscribed to them.
|
|
3695
|
+
* Default is `{ }`.
|
|
3696
3696
|
*
|
|
3697
3697
|
* @return
|
|
3698
3698
|
* A new instance of the {@link Publisher} class that can be
|
|
3699
3699
|
* used to publish and subscribe events within a specific context.
|
|
3700
3700
|
*/
|
|
3701
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
3701
3702
|
createScope() {
|
|
3702
3703
|
const n = new F();
|
|
3703
3704
|
return this.subscribe("__internals__:clear", () => n.clear()), this.subscribe("*", (e, ...t) => {
|
|
@@ -5570,7 +5571,7 @@ function Ot(i) {
|
|
|
5570
5571
|
function qt(i) {
|
|
5571
5572
|
return `${i.charAt(0).toUpperCase()}${i.slice(1)}`;
|
|
5572
5573
|
}
|
|
5573
|
-
const $t = "2.1.
|
|
5574
|
+
const $t = "2.1.7";
|
|
5574
5575
|
export {
|
|
5575
5576
|
M as AggregatedAsyncIterator,
|
|
5576
5577
|
x as AggregatedIterator,
|