@exodus/react-native-webview 13.16.0-exodus.0 → 13.16.0-exodus.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.
@@ -1117,7 +1117,7 @@ RCTAutoInsetsProtocol>
1117
1117
  {
1118
1118
  NSDictionary *eventInitDict = @{@"data": message};
1119
1119
  NSString *source = [NSString
1120
- stringWithFormat:@"window.dispatchEvent(new MessageEvent('message', %@));",
1120
+ stringWithFormat:@"document.dispatchEvent(new MessageEvent('message', %@));",
1121
1121
  RCTJSONStringify(eventInitDict, NULL)
1122
1122
  ];
1123
1123
  [self injectJavaScript: source];
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "Thibault Malbranche <malbranche.thibault@gmail.com>"
11
11
  ],
12
12
  "license": "MIT",
13
- "version": "13.16.0-exodus.0",
13
+ "version": "13.16.0-exodus.1",
14
14
  "homepage": "https://github.com/ExodusMovement/react-native-webview#readme",
15
15
  "scripts": {
16
16
  "android": "react-native run-android",