dreaction-react-native 1.4.3 → 1.4.4

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/lib/dreaction.js CHANGED
@@ -31,7 +31,7 @@ exports.reactNativeCorePlugins = [
31
31
  const { osRelease, model, serverHost, forceTouch, interfaceIdiom, systemName, uiMode, serial, } = (0, getReactNativePlatformConstants_1.default)();
32
32
  const DEFAULTS = {
33
33
  createSocket: (path) => new WebSocket(path), // eslint-disable-line
34
- host: (0, getHost_1.getHost)('localhost'),
34
+ host: (0, getHost_1.getHost)(''),
35
35
  port: 9600,
36
36
  name: 'React Native App',
37
37
  environment: process.env.NODE_ENV || ((0, common_1.isDev)() ? 'development' : 'production'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dreaction-react-native",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -15,8 +15,8 @@
15
15
  "author": "moonrailgun <moonrailgun@gmail.com>",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "dreaction-client-core": "1.1.6",
19
- "dreaction-protocol": "1.0.3"
18
+ "dreaction-protocol": "1.0.3",
19
+ "dreaction-client-core": "1.1.7"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@react-native-async-storage/async-storage": "^2.1.0",
package/src/dreaction.ts CHANGED
@@ -89,7 +89,7 @@ const {
89
89
 
90
90
  const DEFAULTS: ClientOptions<DReactionReactNative> = {
91
91
  createSocket: (path: string) => new WebSocket(path), // eslint-disable-line
92
- host: getHost('localhost'),
92
+ host: getHost(''),
93
93
  port: 9600,
94
94
  name: 'React Native App',
95
95
  environment: process.env.NODE_ENV || (isDev() ? 'development' : 'production'),