@lvce-editor/virtual-dom 0.7.0 → 1.0.1

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/index.js CHANGED
@@ -302,7 +302,7 @@ var attachEvent = ($Node, eventMap, key, value) => {
302
302
  console.warn("listener not found", value);
303
303
  return;
304
304
  }
305
- const options = getEventListenerOptions(eventMap);
305
+ const options = getEventListenerOptions(key);
306
306
  const wrapped = getWrappedListener(
307
307
  listener,
308
308
  eventMap.returnValue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/virtual-dom",
3
- "version": "0.7.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -1,4 +1,4 @@
1
- import * as GetEventListeneroptions from '../GetEventListenerOptions/GetEventListenerOptions.ts'
1
+ import * as GetEventListenerOptions from '../GetEventListenerOptions/GetEventListenerOptions.ts'
2
2
  import * as GetWrappedListener from '../GetWrappedListener/GetWrappedListener.ts'
3
3
 
4
4
  export const attachEvent = (
@@ -12,7 +12,7 @@ export const attachEvent = (
12
12
  console.warn('listener not found', value)
13
13
  return
14
14
  }
15
- const options = GetEventListeneroptions.getEventListenerOptions(eventMap)
15
+ const options = GetEventListenerOptions.getEventListenerOptions(key)
16
16
  const wrapped = GetWrappedListener.getWrappedListener(
17
17
  listener,
18
18
  eventMap.returnValue,