@sleeperhq/mini-core 1.8.6 → 1.8.7

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.
@@ -17,7 +17,7 @@
17
17
  "@react-navigation/native": "6.1.3",
18
18
  "@react-navigation/stack": "6.3.12",
19
19
  "@shopify/flash-list": "1.4.1",
20
- "@sleeperhq/mini-core": "1.8.6",
20
+ "@sleeperhq/mini-core": "1.8.7",
21
21
  "amazon-cognito-identity-js": "6.3.2",
22
22
  "crypto-js": "3.3.0",
23
23
  "decimal.js-light": "2.5.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
@@ -204,7 +204,7 @@ const DevServer = props => {
204
204
  }, () => {
205
205
  // When we establish a connection, send some data to the server
206
206
  const message: SocketMessage = {
207
- _ip: packagerIP,
207
+ _ip: packagerIP === 'localhost' ? ipAddress : packagerIP,
208
208
  _name: config.name,
209
209
  _entitlements: config.entitlements,
210
210
  _headerOptions: config.headerOptions,