houdini-react 2.0.0-next.25 → 2.0.0-next.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-react",
3
- "version": "2.0.0-next.25",
3
+ "version": "2.0.0-next.27",
4
4
  "description": "The React plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -81,12 +81,12 @@
81
81
  }
82
82
  },
83
83
  "optionalDependencies": {
84
- "houdini-react-darwin-x64": "2.0.0-next.25",
85
- "houdini-react-darwin-arm64": "2.0.0-next.25",
86
- "houdini-react-linux-x64": "2.0.0-next.25",
87
- "houdini-react-linux-arm64": "2.0.0-next.25",
88
- "houdini-react-win32-x64": "2.0.0-next.25",
89
- "houdini-react-win32-arm64": "2.0.0-next.25"
84
+ "houdini-react-darwin-x64": "2.0.0-next.27",
85
+ "houdini-react-darwin-arm64": "2.0.0-next.27",
86
+ "houdini-react-linux-x64": "2.0.0-next.27",
87
+ "houdini-react-linux-arm64": "2.0.0-next.27",
88
+ "houdini-react-win32-x64": "2.0.0-next.27",
89
+ "houdini-react-win32-arm64": "2.0.0-next.27"
90
90
  },
91
91
  "bin": "bin/houdini-react",
92
92
  "scripts": {
package/postInstall.js CHANGED
@@ -5,7 +5,7 @@ const https = require('https')
5
5
  const child_process = require('child_process')
6
6
 
7
7
  // Adjust the version you want to install. You can also make this dynamic.
8
- const BINARY_DISTRIBUTION_VERSION = '2.0.0-next.25'
8
+ const BINARY_DISTRIBUTION_VERSION = '2.0.0-next.27'
9
9
 
10
10
  // Windows binaries end with .exe so we need to special case them.
11
11
  const binaryName = process.platform === 'win32' ? 'houdini-react.exe' : 'houdini-react'
@@ -236,6 +236,7 @@ function usePageData({
236
236
  session,
237
237
  })
238
238
  .then(async () => {
239
+ data_cache.set(id, observer)
239
240
 
240
241
  // if there is an error, we need to reject the promise
241
242
  if (observer.state.errors && observer.state.errors.length > 0) {