Skip to content

Commit 277502c

Browse files
fix: fix payload shape on sendCordovaMessage (#8)
1 parent 0eae90b commit 277502c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.global.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cordova/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function sendCordovaMessage(
2424
...eventData,
2525
requestId,
2626
},
27-
eventType,
27+
type: eventType,
2828
version: '1.0.0-cordova-web-wrapper',
2929
}
3030

0 commit comments

Comments
 (0)