react-instantsearch-router-nextjs 7.0.2 → 7.1.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.
- package/README.md +15 -10
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
2
2
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
|
|
5
5
|
- [react-instantsearch-router-nextjs](#react-instantsearch-router-nextjs)
|
|
6
6
|
- [Installation](#installation)
|
|
@@ -42,7 +42,12 @@ export default function Page({ serverState, url }) {
|
|
|
42
42
|
<InstantSearch
|
|
43
43
|
searchClient={searchClient}
|
|
44
44
|
indexName="instant_search"
|
|
45
|
-
routing={{
|
|
45
|
+
routing={{
|
|
46
|
+
router: createInstantSearchRouterNext({
|
|
47
|
+
singletonRouter,
|
|
48
|
+
serverUrl: url,
|
|
49
|
+
}),
|
|
50
|
+
}}
|
|
46
51
|
>
|
|
47
52
|
{/* ... */}
|
|
48
53
|
</InstantSearch>
|
|
@@ -118,7 +123,7 @@ For troubleshooting purposes, some other options are available :
|
|
|
118
123
|
|
|
119
124
|
## Troubleshooting
|
|
120
125
|
|
|
121
|
-
If you're experiencing issues, please refer to the [**Need help?**](https://algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/#need-help) section of the docs, or [open a new issue](https://github.com/algolia/instantsearch
|
|
126
|
+
If you're experiencing issues, please refer to the [**Need help?**](https://algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/#need-help) section of the docs, or [open a new issue](https://github.com/algolia/instantsearch/issues/new?assignees=&labels=triage&template=BUG_REPORT.yml).
|
|
122
127
|
|
|
123
128
|
## Contributing
|
|
124
129
|
|
|
@@ -135,7 +140,7 @@ To start contributing to code, you need to:
|
|
|
135
140
|
1. [Clone the repository](https://help.github.com/articles/cloning-a-repository/)
|
|
136
141
|
1. Install the dependencies: `yarn`
|
|
137
142
|
|
|
138
|
-
Please read [our contribution process](https://github.com/algolia/instantsearch
|
|
143
|
+
Please read [our contribution process](https://github.com/algolia/instantsearch/blob/master/CONTRIBUTING.md) to learn more.
|
|
139
144
|
|
|
140
145
|
## License
|
|
141
146
|
|
|
@@ -143,9 +148,9 @@ React InstantSearch is [MIT licensed](../../LICENSE).
|
|
|
143
148
|
|
|
144
149
|
<!-- Links -->
|
|
145
150
|
|
|
146
|
-
[contributing-bugreport]: https://github.com/algolia/instantsearch
|
|
147
|
-
[contributing-featurerequest]: https://github.com/algolia/instantsearch
|
|
148
|
-
[contributing-newissue]: https://github.com/algolia/instantsearch
|
|
149
|
-
[contributing-label-easy]: https://github.com/algolia/instantsearch
|
|
150
|
-
[contributing-label-bug]: https://github.com/algolia/instantsearch
|
|
151
|
-
[contributing-label-chore]: https://github.com/algolia/instantsearch
|
|
151
|
+
[contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage,Library%3A%20React+InstantSearch
|
|
152
|
+
[contributing-featurerequest]: https://github.com/algolia/instantsearch/discussions/new?category=ideas&labels=triage,Library%3A%20React+InstantSearch&title=Feature%20request%3A%20
|
|
153
|
+
[contributing-newissue]: https://github.com/algolia/instantsearch/issues/new?labels=triage,Library%3A%20React+InstantSearch
|
|
154
|
+
[contributing-label-easy]: https://github.com/algolia/instantsearch/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty%3A+Easy%22+label%3A%22Library%3A%20React+InstantSearch%22
|
|
155
|
+
[contributing-label-bug]: https://github.com/algolia/instantsearch/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Bug%22+label%3A%22Library%3A%20React+InstantSearch%22
|
|
156
|
+
[contributing-label-chore]: https://github.com/algolia/instantsearch/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Chore%22+label%3A%22Library%3A%20React+InstantSearch%22
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-instantsearch-router-nextjs",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "React InstantSearch Router for Next.js",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/algolia/instantsearch
|
|
20
|
+
"url": "https://github.com/algolia/instantsearch"
|
|
21
21
|
},
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "Algolia, Inc.",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"test:e2e:saucelabs": "start-server-and-test test:start-server 3000 'wdio run ./wdio.saucelabs.conf.cjs'"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"instantsearch.js": "4.
|
|
53
|
-
"react-instantsearch-core": "7.0
|
|
52
|
+
"instantsearch.js": "4.57.0",
|
|
53
|
+
"react-instantsearch-core": "7.1.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jasmine": "3.3.16",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"next": ">= 9 && < 14"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b2196f01f03c6bea37a3aa048e4e5b45a9bbf33d"
|
|
71
71
|
}
|