File tree Expand file tree Collapse file tree 3 files changed +13
-21
lines changed Expand file tree Collapse file tree 3 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " nuxtjs-woocommerce" ,
3- "version" : " 0.990 " ,
3+ "version" : " 0.9.9 " ,
44 "private" : true ,
55 "scripts" : {
66 "dev" : " nuxt" ,
4646 "tailwindcss" : " 3.1.6" ,
4747 "uid" : " ^2.0.0" ,
4848 "vue" : " 2.7.8" ,
49- "vue-instantsearch" : " 4.4.2 " ,
49+ "vue-instantsearch" : " 3.9.0 " ,
5050 "vue-jest" : " ^3.0.7" ,
5151 "vue-server-renderer" : " 2.7.8" ,
5252 "vue-template-compiler" : " 2.7.8"
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ import {
4343 createServerRootMixin ,
4444} from ' vue-instantsearch'
4545
46- import { renderToString } from ' @vue/server-renderer'
47-
4846import algoliasearch from ' algoliasearch/lite'
4947
5048const searchClient = algoliasearch (
5149 process .env .AlgoliaApplicationId ,
5250 process .env .AlgoliaSearchOnlyAPIKey
5351)
5452
53+ console .log (" searchClient: " , searchClient)
54+
5555export default {
5656 components: {
5757 AisInstantSearchSsr,
@@ -89,11 +89,9 @@ export default {
8989 },
9090 },
9191 serverPrefetch () {
92- return this .instantsearch
93- .findResultsState (this , renderToString)
94- .then ((algoliaState ) => {
95- this .$ssrContext .nuxt .algoliaState = algoliaState
96- })
92+ return this .instantsearch .findResultsState (this ).then ((algoliaState ) => {
93+ this .$ssrContext .nuxt .algoliaState = algoliaState
94+ })
9795 },
9896}
9997 </script >
Original file line number Diff line number Diff line change @@ -8938,7 +8938,7 @@ inquirer@^8.0.0:
89388938 through "^2.3.6"
89398939 wrap-ansi "^7.0.0"
89408940
8941- instantsearch.js@^4.43 .0:
8941+ instantsearch.js@^4.34 .0:
89428942 version "4.43.1"
89438943 resolved "https://registry.yarnpkg.com/instantsearch.js/-/instantsearch.js-4.43.1.tgz#9f316c13f63a1e53bf999f5d3716dc73bc7e9f4d"
89448944 integrity sha512-JEaODN0MDb5atW39nWmdxCPlcaNmX7THBlhy3cAJhVG9c19Cfaw27DXRBdE9E9B7WO45YYAhyNTnGITNKBXC0w==
@@ -10970,11 +10970,6 @@ mississippi@^3.0.0:
1097010970 stream-each "^1.1.0"
1097110971 through2 "^2.0.0"
1097210972
10973- mitt@^2.1.0:
10974- version "2.1.0"
10975- resolved "https://registry.yarnpkg.com/mitt/-/mitt-2.1.0.tgz#f740577c23176c6205b121b2973514eade1b2230"
10976- integrity sha512-ILj2TpLiysu2wkBbWjAmww7TkZb65aiQO+DkVdUTBpBXq+MHYiETENkKFMtsJZX1Lf4pe4QOrTSjIfUwN5lRdg==
10977-
1097810973mixin-deep@^1.2.0:
1097910974 version "1.3.2"
1098010975 resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
@@ -15376,13 +15371,12 @@ vue-hot-reload-api@^2.3.0:
1537615371 resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
1537715372 integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==
1537815373
15379- vue-instantsearch@4.4.2 :
15380- version "4.4.2 "
15381- resolved "https://registry.yarnpkg.com/vue-instantsearch/-/vue-instantsearch-4.4.2 .tgz#dc224040e98ff313ad77109d74ee0636d0c92509 "
15382- integrity sha512-IiyEHbcA3uCAYf7ca1MiB+zg7Bx8kU8OEmO+n62q/5Mbz4YZMIzkZhyWTgpF9jG9pwM/ounZDuA5wX0dUxLz1w ==
15374+ vue-instantsearch@3.9.0 :
15375+ version "3.9.0 "
15376+ resolved "https://registry.yarnpkg.com/vue-instantsearch/-/vue-instantsearch-3.9.0 .tgz#e2db2616de82216bb54182773b0a36b4db4c7653 "
15377+ integrity sha512-zOo+Ed0ShgY0wAZC1wdv3eDaMoVZp30ztUCfFZ+cNoXxnOZgqWwocN+m38zx2aj5C+ce2qOVCOqsTXpF90AprA ==
1538315378 dependencies:
15384- instantsearch.js "^4.43.0"
15385- mitt "^2.1.0"
15379+ instantsearch.js "^4.34.0"
1538615380
1538715381vue-jest@^3.0.7:
1538815382 version "3.0.7"
You can’t perform that action at this time.
0 commit comments