bare-stow-target-react-native 0.2.0 → 0.3.0

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/index.js +5 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -43,7 +43,9 @@ export default {
43
43
 
44
44
  const ipc = stow.wrap(worklet.IPC, { kill: () => worklet.terminate(), timeout, grace })
45
45
 
46
- ipc.on('exit', () => worklet.terminate())
46
+ worklet.IPC.on('end', () => worklet.IPC.destroy())
47
+
48
+ worklet.on('exit', (code) => ipc.exited(code))
47
49
  ${client ? '\n const rpc = client.attach(ipc, handlers)\n' : ''}
48
50
  await ipc.ready
49
51
 
@@ -67,8 +69,8 @@ export default harness
67
69
  source,
68
70
  types,
69
71
  dependencies: {
70
- 'bare-stow-host': '^0.1.0',
71
- 'react-native-bare-kit': '^0.16.0'
72
+ 'bare-stow-host': '^0.2.0',
73
+ 'react-native-bare-kit': '^0.17.1'
72
74
  }
73
75
  }
74
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-stow-target-react-native",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "React Native target for bare-stow",
5
5
  "exports": {
6
6
  "./package": "./package.json",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "homepage": "https://github.com/holepunchto/bare-stow-target-react-native#readme",
33
33
  "peerDependencies": {
34
- "bare-stow": "^0.2.0"
34
+ "bare-stow": "^0.3.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "brittle": "^4.0.2",