houdini-react 1.2.6 → 1.2.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.
Files changed (36) hide show
  1. package/build/plugin/config.d.ts +2 -2
  2. package/build/plugin/index.d.ts +12 -1
  3. package/build/plugin-cjs/index.js +58817 -1974
  4. package/build/plugin-esm/index.js +58815 -1973
  5. package/build/runtime/index.d.ts +2 -1
  6. package/build/runtime/routing/components/Router.d.ts +5 -1
  7. package/build/runtime/routing/components/index.d.ts +1 -1
  8. package/build/runtime/routing/lib/types.d.ts +0 -1
  9. package/build/runtime-cjs/hooks/useDocumentHandle.js +11 -6
  10. package/build/runtime-cjs/hooks/useDocumentSubscription.js +4 -2
  11. package/build/runtime-cjs/hooks/useMutation.js +3 -1
  12. package/build/runtime-cjs/index.d.ts +2 -1
  13. package/build/runtime-cjs/index.js +4 -2
  14. package/build/runtime-cjs/routing/components/Router.d.ts +5 -1
  15. package/build/runtime-cjs/routing/components/Router.js +34 -5
  16. package/build/runtime-cjs/routing/components/index.d.ts +1 -1
  17. package/build/runtime-cjs/routing/components/index.js +2 -0
  18. package/build/runtime-cjs/routing/lib/types.d.ts +0 -1
  19. package/build/runtime-esm/hooks/useDocumentHandle.js +11 -6
  20. package/build/runtime-esm/hooks/useDocumentSubscription.js +4 -2
  21. package/build/runtime-esm/hooks/useMutation.js +3 -1
  22. package/build/runtime-esm/index.d.ts +2 -1
  23. package/build/runtime-esm/index.js +4 -2
  24. package/build/runtime-esm/routing/components/Router.d.ts +5 -1
  25. package/build/runtime-esm/routing/components/Router.js +31 -4
  26. package/build/runtime-esm/routing/components/index.d.ts +1 -1
  27. package/build/runtime-esm/routing/components/index.js +2 -1
  28. package/build/runtime-esm/routing/lib/types.d.ts +0 -1
  29. package/build/server/compat.d.ts +7 -0
  30. package/build/server/index.d.ts +17 -0
  31. package/build/server/session.d.ts +3 -0
  32. package/build/server-cjs/index.js +166712 -0
  33. package/build/server-cjs/package.json +1 -0
  34. package/build/server-esm/index.js +166703 -0
  35. package/build/server-esm/package.json +1 -0
  36. package/package.json +20 -5
@@ -0,0 +1 @@
1
+ {"type":"module"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-react",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "The React plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -16,8 +16,11 @@
16
16
  },
17
17
  "license": "MIT",
18
18
  "devDependencies": {
19
+ "@types/cookie-parser": "^1.4.3",
20
+ "@types/cookie-session": "^2.0.44",
21
+ "@types/cookies": "^0.7.7",
19
22
  "@types/estraverse": "^5.1.2",
20
- "@types/next": "^9.0.0",
23
+ "@types/express": "^4.17.17",
21
24
  "@types/react-dom": "^18.0.10",
22
25
  "next": "^13.0.1",
23
26
  "scripts": "^1.0.0"
@@ -26,15 +29,18 @@
26
29
  "@babel/parser": "^7.19.3",
27
30
  "@babel/types": "^7.21.4",
28
31
  "@types/react": "^18.0.28",
29
- "@types/rollup": "^0.54.0",
32
+ "cookie-parser": "^1.4.6",
33
+ "cookie-session": "^2.0.0",
34
+ "cookies": "^0.8.0",
30
35
  "estraverse": "^5.3.0",
36
+ "express": "^4.18.2",
31
37
  "graphql": "^15.8.0",
32
38
  "react": "^18.2.0",
33
39
  "react-streaming": "^0.3.9",
34
40
  "recast": "^0.23.1",
35
41
  "rollup": "^3.7.4",
36
42
  "use-deep-compare-effect": "^1.8.1",
37
- "houdini": "^1.2.6"
43
+ "houdini": "^1.2.7"
38
44
  },
39
45
  "files": [
40
46
  "build"
@@ -45,10 +51,19 @@
45
51
  "types": "./build/plugin/index.d.ts",
46
52
  "import": "./build/plugin-esm/index.js",
47
53
  "require": "./build/plugin-cjs/index.js"
54
+ },
55
+ "./server": {
56
+ "types": "./build/server/index.d.ts",
57
+ "import": "./build/server-esm/index.js",
58
+ "require": "./build/server-cjs/index.js"
48
59
  }
49
60
  },
50
61
  "typesVersions": {
51
- "*": {}
62
+ "*": {
63
+ "server": [
64
+ "build/server/index.d.ts"
65
+ ]
66
+ }
52
67
  },
53
68
  "main": "./build/plugin-cjs/index.js",
54
69
  "types": "./build/plugin/index.d.ts",