@tanstack/react-router-ssr-query 1.131.8 → 1.132.0-alpha.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../src/index.tsx"],"sourcesContent":["import { Fragment } from 'react'\nimport { QueryClientProvider } from '@tanstack/react-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/react-router'\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 const OGWrap = opts.router.options.Wrap || Fragment\n\n opts.router.options.Wrap = ({ children }) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"names":["setupCoreRouterSsrQueryIntegration","Fragment","jsx","QueryClientProvider"],"mappings":";;;;;;AAWO,SAAS,+BACd,MACA;AACAA,qBAAAA,mCAAmC,IAAI;AAEnC,MAAA,KAAK,oBAAoB,OAAO;AAClC;AAAA,EAAA;AAEF,QAAM,SAAS,KAAK,OAAO,QAAQ,QAAQC,MAAA;AAE3C,OAAK,OAAO,QAAQ,OAAO,CAAC,EAAE,eAAe;AAEzC,WAAAC,+BAACC,WAAAA,uBAAoB,QAAQ,KAAK,aAChC,UAACD,2BAAA,IAAA,QAAA,EAAQ,UAAS,EACpB,CAAA;AAAA,EAEJ;AACF;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../src/index.tsx"],"sourcesContent":["import { Fragment } from 'react'\nimport { QueryClientProvider } from '@tanstack/react-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/react-router'\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 const OGWrap = opts.router.options.Wrap || Fragment\n\n opts.router.options.Wrap = ({ children }) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"names":["setupCoreRouterSsrQueryIntegration","Fragment","jsx","QueryClientProvider"],"mappings":";;;;;;AAWO,SAAS,+BACd,MACA;AACAA,qBAAAA,mCAAmC,IAAI;AAEvC,MAAI,KAAK,oBAAoB,OAAO;AAClC;AAAA,EACF;AACA,QAAM,SAAS,KAAK,OAAO,QAAQ,QAAQC,MAAAA;AAE3C,OAAK,OAAO,QAAQ,OAAO,CAAC,EAAE,eAAe;AAC3C,WACEC,+BAACC,WAAAA,uBAAoB,QAAQ,KAAK,aAChC,UAAAD,2BAAAA,IAAC,QAAA,EAAQ,UAAS,EAAA,CACpB;AAAA,EAEJ;AACF;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.tsx"],"sourcesContent":["import { Fragment } from 'react'\nimport { QueryClientProvider } from '@tanstack/react-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/react-router'\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 const OGWrap = opts.router.options.Wrap || Fragment\n\n opts.router.options.Wrap = ({ children }) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"names":[],"mappings":";;;;AAWO,SAAS,+BACd,MACA;AACA,qCAAmC,IAAI;AAEnC,MAAA,KAAK,oBAAoB,OAAO;AAClC;AAAA,EAAA;AAEF,QAAM,SAAS,KAAK,OAAO,QAAQ,QAAQ;AAE3C,OAAK,OAAO,QAAQ,OAAO,CAAC,EAAE,eAAe;AAEzC,WAAA,oBAAC,uBAAoB,QAAQ,KAAK,aAChC,UAAC,oBAAA,QAAA,EAAQ,UAAS,EACpB,CAAA;AAAA,EAEJ;AACF;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/index.tsx"],"sourcesContent":["import { Fragment } from 'react'\nimport { QueryClientProvider } from '@tanstack/react-query'\nimport { setupCoreRouterSsrQueryIntegration } from '@tanstack/router-ssr-query-core'\nimport type { RouterSsrQueryOptions } from '@tanstack/router-ssr-query-core'\nimport type { AnyRouter } from '@tanstack/react-router'\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 const OGWrap = opts.router.options.Wrap || Fragment\n\n opts.router.options.Wrap = ({ children }) => {\n return (\n <QueryClientProvider client={opts.queryClient}>\n <OGWrap>{children}</OGWrap>\n </QueryClientProvider>\n )\n }\n}\n"],"names":[],"mappings":";;;;AAWO,SAAS,+BACd,MACA;AACA,qCAAmC,IAAI;AAEvC,MAAI,KAAK,oBAAoB,OAAO;AAClC;AAAA,EACF;AACA,QAAM,SAAS,KAAK,OAAO,QAAQ,QAAQ;AAE3C,OAAK,OAAO,QAAQ,OAAO,CAAC,EAAE,eAAe;AAC3C,WACE,oBAAC,uBAAoB,QAAQ,KAAK,aAChC,UAAA,oBAAC,QAAA,EAAQ,UAAS,EAAA,CACpB;AAAA,EAEJ;AACF;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-router-ssr-query",
3
- "version": "1.131.8",
3
+ "version": "1.132.0-alpha.1",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -49,14 +49,14 @@
49
49
  "node": ">=12"
50
50
  },
51
51
  "dependencies": {
52
- "@tanstack/router-ssr-query-core": "1.131.7"
52
+ "@tanstack/router-ssr-query-core": "1.132.0-alpha.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@vitejs/plugin-react": "^4.3.4",
56
56
  "react": ">=19",
57
57
  "react-dom": ">=19",
58
58
  "@tanstack/react-query": ">=5.66.0",
59
- "@tanstack/react-router": "1.131.8"
59
+ "@tanstack/react-router": "1.132.0-alpha.1"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "react": ">=18.0.0 || >=19.0.0",