cotomy 0.1.33 → 0.1.34

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/view.d.ts CHANGED
@@ -132,7 +132,7 @@ export declare class CotomyElement {
132
132
  prependTo(target: CotomyElement): this;
133
133
  trigger(event: string, e?: Event | null): this;
134
134
  on(event: string, handle: (e: Event) => void | Promise<void>): this;
135
- onChild(event: string, selector: string, handle: (e: Event, matched: HTMLElement) => void | Promise<void>): this;
135
+ onChild(event: string, selector: string, handle: (e: Event) => void | Promise<void>): this;
136
136
  once(event: string, handle: (e: Event) => void | Promise<void>): this;
137
137
  off(event: string, handle?: (e: Event) => void | Promise<void>): this;
138
138
  handlers(event: string): Array<(e: Event) => void | Promise<void>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cotomy",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [