Sign In

@tanstack/solid-router-ssr-query

Package Overview
Dependencies
Maintainers
3
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/solid-router-ssr-query - npm Package Compare versions

Comparing version
2.0.0-beta.25
to
2.0.0-beta.26
+1
-1
dist/cjs/index.cjs.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.cjs","names":["QueryClientProvider","setupCoreRouterSsrQueryIntegration","RouterSsrQueryOptions","AnyRouter","JSX","Options","TRouter","wrapQueryClient","setupRouterSsrQueryIntegration","opts","OGWrap","router","options","Wrap","props","children","Element","_$createComponent","client","queryClient"],"sources":["../../src/index.tsx"],"sourcesContent":["import { QueryClientProvider } from '@tanstack/solid-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/solid-router'\nimport type { JSX } from '@solidjs/web'\n\nexport type Options<TRouter extends AnyRouter> =\n RouterSsrQueryOptions<TRouter> & {\n wrapQueryClient?: boolean\n }\n\nexport function setupRouterSsrQueryIntegration<TRouter extends AnyRouter>(\n opts: Options<TRouter>,\n) {\n setupCoreRouterSsrQueryIntegration(opts)\n\n if (opts.wrapQueryClient === false) {\n return\n }\n\n const OGWrap =\n opts.router.options.Wrap ||\n ((props: { children: JSX.Element }) => props.children)\n\n opts.router.options.Wrap = (props) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"mappings":";;;;;AAWA,SAAgBQ,+BACdC,MACA;CACAR,CAAAA,GAAAA,gCAAAA,oCAAmCQ,IAAI;CAEvC,IAAIA,KAAKF,oBAAoB,OAC3B;CAGF,MAAMG,SACJD,KAAKE,OAAOC,QAAQC,UAClBC,UAAqCA,MAAMC;CAE/CN,KAAKE,OAAOC,QAAQC,QAAQC,UAAU;EACpC,QAAA,GAAA,aAAA,iBACGd,sBAAAA,qBAAmB;GAAA,IAACkB,SAAM;IAAA,OAAET,KAAKU;GAAW;GAAA,IAAAJ,WAAA;IAAA,QAAA,GAAA,aAAA,iBAC1CL,QAAM,EAAA,IAAAK,WAAA;KAAA,OAAED,MAAMC;IAAQ,EAAA,CAAA;GAAA;EAAA,CAAA;CAG7B;AACF"}
{"version":3,"file":"index.cjs","names":["<QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>","<OGWrap>{props.children}</OGWrap>"],"sources":["../../src/index.tsx"],"sourcesContent":["import { QueryClientProvider } from '@tanstack/solid-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/solid-router'\nimport type { JSX } from '@solidjs/web'\n\nexport type Options<TRouter extends AnyRouter> =\n RouterSsrQueryOptions<TRouter> & {\n wrapQueryClient?: boolean\n }\n\nexport function setupRouterSsrQueryIntegration<TRouter extends AnyRouter>(\n opts: Options<TRouter>,\n) {\n setupCoreRouterSsrQueryIntegration(opts)\n\n if (opts.wrapQueryClient === false) {\n return\n }\n\n const OGWrap =\n opts.router.options.Wrap ||\n ((props: { children: JSX.Element }) => props.children)\n\n opts.router.options.Wrap = (props) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"mappings":";;;;;AAWA,SAAgB,+BACd,MACA;CACA,CAAA,GAAA,gCAAA,oCAAmC,IAAA;CAEnC,IAAI,KAAK,oBAAoB,OAC3B;CAGF,MAAM,SACJ,KAAK,OAAO,QAAQ,UAClB,UAAqC,MAAM;CAE/C,KAAK,OAAO,QAAQ,QAAQ,UAAU;EACpC,QAAA,GAAA,aAAA,iBACEA,sBAAAA,qBAAAA;GAAqB,IAAA,SAAA;WAAQ,KAAK;;GAAlC,IAAA,WAAA;6CACEC,QAAAA,EAAAA,IAAAA,WAAAA;YAAS,MAAM;OAAkB;;GACb"}

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","names":["QueryClientProvider","setupCoreRouterSsrQueryIntegration","RouterSsrQueryOptions","AnyRouter","JSX","Options","TRouter","wrapQueryClient","setupRouterSsrQueryIntegration","opts","OGWrap","router","options","Wrap","props","children","Element","_$createComponent","client","queryClient"],"sources":["../../src/index.tsx"],"sourcesContent":["import { QueryClientProvider } from '@tanstack/solid-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/solid-router'\nimport type { JSX } from '@solidjs/web'\n\nexport type Options<TRouter extends AnyRouter> =\n RouterSsrQueryOptions<TRouter> & {\n wrapQueryClient?: boolean\n }\n\nexport function setupRouterSsrQueryIntegration<TRouter extends AnyRouter>(\n opts: Options<TRouter>,\n) {\n setupCoreRouterSsrQueryIntegration(opts)\n\n if (opts.wrapQueryClient === false) {\n return\n }\n\n const OGWrap =\n opts.router.options.Wrap ||\n ((props: { children: JSX.Element }) => props.children)\n\n opts.router.options.Wrap = (props) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"mappings":";;;;AAWA,SAAgBQ,+BACdC,MACA;CACAR,mCAAmCQ,IAAI;CAEvC,IAAIA,KAAKF,oBAAoB,OAC3B;CAGF,MAAMG,SACJD,KAAKE,OAAOC,QAAQC,UAClBC,UAAqCA,MAAMC;CAE/CN,KAAKE,OAAOC,QAAQC,QAAQC,UAAU;EACpC,OAAAG,gBACGjB,qBAAmB;GAAA,IAACkB,SAAM;IAAA,OAAET,KAAKU;GAAW;GAAA,IAAAJ,WAAA;IAAA,OAAAE,gBAC1CP,QAAM,EAAA,IAAAK,WAAA;KAAA,OAAED,MAAMC;IAAQ,EAAA,CAAA;GAAA;EAAA,CAAA;CAG7B;AACF"}
{"version":3,"file":"index.js","names":["<QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>","<OGWrap>{props.children}</OGWrap>"],"sources":["../../src/index.tsx"],"sourcesContent":["import { QueryClientProvider } from '@tanstack/solid-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/solid-router'\nimport type { JSX } from '@solidjs/web'\n\nexport type Options<TRouter extends AnyRouter> =\n RouterSsrQueryOptions<TRouter> & {\n wrapQueryClient?: boolean\n }\n\nexport function setupRouterSsrQueryIntegration<TRouter extends AnyRouter>(\n opts: Options<TRouter>,\n) {\n setupCoreRouterSsrQueryIntegration(opts)\n\n if (opts.wrapQueryClient === false) {\n return\n }\n\n const OGWrap =\n opts.router.options.Wrap ||\n ((props: { children: JSX.Element }) => props.children)\n\n opts.router.options.Wrap = (props) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{props.children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"mappings":";;;;AAWA,SAAgB,+BACd,MACA;CACA,mCAAmC,IAAA;CAEnC,IAAI,KAAK,oBAAoB,OAC3B;CAGF,MAAM,SACJ,KAAK,OAAO,QAAQ,UAClB,UAAqC,MAAM;CAE/C,KAAK,OAAO,QAAQ,QAAQ,UAAU;EACpC,OACEA,gBAAAA,qBAAAA;GAAqB,IAAA,SAAA;WAAQ,KAAK;;GAAlC,IAAA,WAAA;WACEC,gBAAAA,QAAAA,EAAAA,IAAAA,WAAAA;YAAS,MAAM;OAAkB;;GACb"}
{
"name": "@tanstack/solid-router-ssr-query",
"version": "2.0.0-beta.25",
"version": "2.0.0-beta.26",
"description": "Modern and scalable routing for Solid applications",

@@ -55,9 +55,9 @@ "author": "Tanner Linsley",

"devDependencies": {
"@solidjs/web": "2.0.0-beta.19",
"@solidjs/web": "2.0.0-beta.20",
"@tanstack/solid-query": "^6.0.0-beta.5",
"eslint-plugin-solid": "^0.14.5",
"solid-js": "2.0.0-beta.19",
"solid-js": "2.0.0-beta.20",
"vite": "*",
"vite-plugin-solid": "^3.0.0-next.11",
"@tanstack/solid-router": "2.0.0-beta.24"
"vite-plugin-solid": "^3.0.0-next.13",
"@tanstack/solid-router": "2.0.0-beta.25"
},

@@ -64,0 +64,0 @@ "peerDependencies": {