@nuskin/ns-util 3.103.0 → 3.103.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/event.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-util",
3
- "version": "3.103.0",
3
+ "version": "3.103.1",
4
4
  "baseURL": "/",
5
5
  "main": "src/util.js",
6
6
  "scripts": {
package/src/event.js CHANGED
@@ -469,7 +469,7 @@ if (!nuskin.events) {
469
469
  runConfigId: RunConfigUtil.getRunConfig().id});
470
470
  }
471
471
  // Publish events to react native apps that are using webviews
472
- if (window && window.ReactNativeWebview) {
472
+ if (window && window.ReactNativeWebView) {
473
473
  window.ReactNativeWebView.postMessage(JSON.stringify({name: 'web_event', payload: {eventId, eventObject}}));
474
474
  }
475
475
  }