com.sweaxizone.w3c.extension 1.0.0 → 1.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.
@@ -27,8 +27,8 @@ globalThis.SAEventTarget = class SAEventTarget {
27
27
  }
28
28
  else {
29
29
  event = typeof arg3 !== "undefined" ?
30
- new arg1(arg2, arg3) :
31
- new arg1(arg2);
30
+ new arg2(arg1, arg3) :
31
+ new arg2(arg1);
32
32
  }
33
33
  return this.m_eventTarget.dispatchEvent(event);
34
34
  }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "com.sweaxizone.w3c.extension",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Global object additions for W3C-compliant runtimes.",
5
5
  "scripts": {
6
6
  "build": "tsc",
7
7
  "prepublishOnly": "npm run build"
8
8
  },
9
+ "types": "./dist/index.d.ts",
9
10
  "exports": {
10
11
  ".": {
11
12
  "typedoc": "./src/index.ts",